Software to draw specific triangles?

Click For Summary

Discussion Overview

The discussion revolves around finding software that allows users to draw 2D triangles based solely on their three edge lengths, without needing to calculate the height or area. The context includes practical applications for creating 3D models and the necessity to print these triangles at scale.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant, morbank, expresses a need for software that can create 2D triangles using only the three edge lengths, highlighting the limitation of existing software that requires height or area.
  • Another participant mentions an online interactive triangle calculator that accepts edge lengths but lacks the ability to print at scale due to unit limitations.
  • A different participant discusses the possibility of using printer programming languages like Postscript and PCL to directly create the desired triangle graphics, suggesting that this method could bypass software limitations.
  • One participant suggests that calculating the area and height of the triangle is straightforward using a programmable calculator or spreadsheet, providing the formula for area and height calculations.
  • morbank later finds that SketchUp has the functionality needed to create the triangles as required.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a single software solution initially, but morbank later identifies SketchUp as meeting their needs. There are differing opinions on the necessity of calculating height and area versus finding software that accepts edge lengths directly.

Contextual Notes

The discussion includes various approaches to the problem, with some participants suggesting calculations while others seek software solutions. There are unresolved aspects regarding the effectiveness of different software and programming methods.

Who May Find This Useful

Individuals working on projects involving 2D and 3D modeling, particularly those needing to create and print specific triangle dimensions without extensive calculations.

morbank
Messages
4
Reaction score
0
Hello, I am working on a project that involves using 2D triangles to build 3D models and I am looking for software that will allow me to draw 2D triangles based on the triangles 3 edge lengths (ex: 4 cm x 5 cm x 3 cm). Most of the software I have found requires knowing either the triangles height or area (which I don't have) to draw the specific triangle. Because I need to draw several hundred triangles for this project I was hoping someone here might know of a solution that would allow me to input just the triangles 3 edge lengths and avoid needing to calculate each triangles height as well. I will also need to be able to print out the triangles at scale.

Thanks,
morbank
 
Physics news on Phys.org
I found this online interactive triangle calculator that allows you to input the 3 edge lengths but it doesn't use inches or centimeters so I am unable to print the triangles at scale. Anyone else have some leads?

morbank
 
Some printers have built-in language interpreters. Postscript(tm) is one. PCL(tm) is Hp's. You can learn a bit and write programs for direct execution by the printer to control the bits you put on paper. I used to have a 75 pound Postscript printer in the corner and when I just could not get a graphic to be exactly the way I needed I would write a page or two of Postscript code to pump out the piece of paper I wanted.

I've never looked at PCL but I think it is very likely that you could write a handful of lines to generate exactly the triangle that you want to see.

I have found the advantage of writing raw page description code directly to the printer is that there are at least several fewer layers of software, all of which thinking they know better than you what should actually be sent to the next layer. You have more responsibility for writing exactly what you want painted, but you get what you ask for down to the individual pixel resolution.
 
Last edited:
Thanks Bill, I'll take a look.

morbank
 
morbank said:
Most of the software I have found requires knowing either the triangles height or area (which I don't have) to draw the specific triangle.

Those are easy to find with a programmable calculator or a spreadsheet.

Area ##\sqrt{s(s-a)(s-b)(s-c)}## where ##s = (a + b + c)/2##

and then height = ##2 \times \text{area} / \text{base}##
 
Driving Directions for SketchUp does exactly what I was looking for! Thanks for everyones help.

morbank
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K