Skip to main content
Question

Add arrow head to line segment to show direction of line


gcarmich
Participant
Forum|alt.badge.img+1

I've created straight line segments using the VertexCreator (x2) and Rotator. I need to add an arrowhead on each line segment to show the direction (from vertex 1 to vertex 2). I tried to copy the approach listed here:

 

https://community.safe.com/s/question/0D54Q000080hg35/convert-line-to-an-arraw?t=1611682329612

 

but I'm not getting an arrowhead as a result. There is mention of 2DPointAdder but I don't see 2DPointAdder as a Transform. Also I don;t understand the Line and ArrowHead portion of the solution on the link.

My approach so far is:

What am I missing?

3 replies

gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • January 26, 2021

My approach so far:


ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • January 26, 2021

I snip the end of the line, clone it and then rotate one segment one way, and one the other way

 

Edit: i see that is your approach, what sort of length are your lines, the snipping values you have don't look like they'll be the correct ones unless all your lines are exactly 100 long?

CaptureCapture


gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • January 26, 2021
ebygomm wrote:

I snip the end of the line, clone it and then rotate one segment one way, and one the other way

 

Edit: i see that is your approach, what sort of length are your lines, the snipping values you have don't look like they'll be the correct ones unless all your lines are exactly 100 long?

CaptureCapture

Thanks - I see my mistake. I Snipped based on distance instead of percentage. It's working now.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings