gotcha

Author Topic: Make a nice T-crossing  (Read 1251 times)

October 13, 2017, 09:46:37 AM
Read 1251 times

dschoni

  • Sr. Newbie

  • Offline
  • **

  • 2
So, basically I thought this would be a very easy question, although I couldn't find an answer.
I'm tracing an isometric view of a technical drawing, which naturally has several paths coming together in one node. For two path, I simply combine the paths and join nodes.
I would like to have smooth corners, when I attach an additional path, somewhere to a non-end node.

t_crosscing.png
*t_crosscing.png
(3.54 kB . 200x197)
(viewed 287 times)


This image shows a minimal example of my problem. The upper triangle is a closed path, the extra path has its end node moved exactly over the lower left node of the triangle. I want this connection to be a smooth corner, like the upper right corner of my triangle. Is this possible?

To be more specific: If the path segments are considered as rectangles, I want the edges of the rectangles to meet in one single point.

October 13, 2017, 01:59:59 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
You can do two things here that will improve the issue:
1. snap the end nodes to each other, so they will be in the exact same location. To activate snapping, hit %, or activate the snap bar by pressing the top button of it on the right side of the screen. Snapping explained: https://inkscape.org/en/~Moini/%E2%98%85snapping-guide-091
2. change the end cap of the stroke, in the stroke style tab of the fill + stroke dialog (Object -> Fill and Stroke, third tab)

October 14, 2017, 01:49:46 AM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

I'm not sure whether changing the end cap style or the join style would be better in this case.  You can experiment and decide for yourself.  And likely you'll find one works better than the other, depending on the circumstances (since you said this is just a simple example).  Sometimes you might need to change both the cap and the join styles.  The round one seems to be the best in my experience, for this.  Anyway, here's where those settings are.

Object menu > Fill and Stroke > Stroke Style tab > Join and/or Cap

Also I agree with Moini that snapping....well technically, it's having nodes aligned precisely on top of each other, which will minimize the problem.  And that's most easily achieved with snapping.

Based on what brief info you've provided (along with a lot of experience helping new Inkscape users) I'm thinking we might be able to suggest an even better solution, if we could see the "big picture".  But anyway, if this starts to create some other problem for you down the line, you know where we are :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 17, 2017, 08:32:16 AM
Reply #3

dschoni

  • Sr. Newbie

  • Offline
  • **

  • 2
I found a very nice solution myself: Reorder the  paths in such a way, that the outer line is a continuous path. Down the road, this will lead to new problems. But I'll find you then ;)