0

I'm trying to create a triangle vector. I know the length of the first vertical vector A, the angle between this vector and a second vector B and that the third vector C, closing the triangle, is horizontal. How can I make this diagram on Inkscape ? I need to indicate the angle measurement and the vector names. In the image below there is an example of what I'm trying to create, but it is mandatory to construct the triangle starting only from the data that are known (known data are explained above). an example of the triangle I need to draw

  • Post an image. Draw it on paper and take a snapshot of it. – Rafael Oct 6 '18 at 16:46
  • 1
    Hi. Welcome to GDSE. So you have a right angled triangle? Can't you draw the lines? Use guides? Type the angle, type the names of each vector line? I'm not entirely sure what the problem is here. – Billy Kerr Oct 6 '18 at 17:40
  • I can't find A, B, C in the drawing. Instead, I find 3 triangles. – user unknown Oct 24 '18 at 19:49
3

At first prevent stroke width scaling in the preferences. Then have the following snaps:

enter image description here

Snapping to grid destroys this. See the cartoon:

enter image description here

  1. Draw a vertical and a horizontal line. Let them be too long at first. Set the known length of the vertical line to the height box in the info line and drag the line to its place. It should snap perfectly

  2. Duplicate (Ctrl D) the vertical line, recolor the duplicate ,if needed (here it's red) and rotate it to the known angle (Object > transform > rotate)

  3. Drag the known end of the duplicate to its place

  4. With the normal selection tool drag the duplicate a little too long, hold Ctrl to retain the angle

  5. Drag the duplicate shorter (hold Ctrl) It will snap to the crossing

  6. Drag the horizontal line shorter. It also will snap to the crossing

Inkscape's arrowheads are not good for physics vectors. They are bulky, they make the lines too long (=the ends do not fit) and only few sizes are available. See an example:

enter image description here

One solution is to make your own arrowhead as a separate shape which can be scaled and colored freely. The downside is you must place and rotate it manually. An example:

enter image description here

A triangle was drawn with the pen, no stroke, solid fill. The sides are straight, the bottom side must be horizontal.

Duplicate the triangle, flip the duplicate vertically and place the pieces side by side. Unite them (Path > Union) to get one shape.

It's used in the following example:

enter image description here

Differently colored copies has been made. In the left they are placed on the vectors in the middle for easy rotation. It must be done visually, if the angles are not known as numbers.

In the right the arrowheads are moved to their right places - the tip nodes should snap perfectly. The lines are dragged a little shorter holding Ctrl key at the same time to retain the directions.

The curves for angles are drawn most easily with the pen:

enter image description here

Draw at first a straight line. Have snap to path ON. Then, with the node tool, holding Shift at the same time, drag a handle out of the node to get the right curvature.

Remove the possible fill color - it can appear depending on your preferences and what you did before.

  • This is exactly what I needed ( in particular the step 4). As I demanded, I also need to insert some label with angle value and vector names. Also, it seems Inkscape is not letting me change the width of the arrow. – RobPazzuzu7 Oct 8 '18 at 7:38
  • TBH i would draw an circle and modify that but yeeah i suppose you can just win it. (kinda defeats the point of using precicion tools) – joojaa Oct 10 '18 at 11:50
0

Well, when you post your problem with no data set and no picture, you make it rather a math task :)

From your description I assume that you know how to construct your triangle on a piece of paper, so I will not explain it here (if you do not know that, you can always contact me).

Construct your triangle on a paper and then as @Rafael just said - take a photo or scan it. Than, in Inkscape, you can import raster images - it will be your guide for creating your triangle on a new layer with polygon tool. You can adjust all the corners so the new, vector triangle will be exactly like the one from your picture.

Hope that will help.

0

Listing some options:

  • Use guides to snap to specific angles (double-click on a guide to set its angle).

  • Browse the extensions on inkscape.org to see if there is one that you can use for constructing your drawing: https://inkscape.org/en/gallery/=extension/

  • Use the measure tool to measure and draw angled objects with a specific angle (buttons 'to guides' or 'to object') and length.

  • Maybe even the 'draw from triangle' extension (in Extensions > Render submenu) can be of use to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.