Skip to main content
Question

lines orientation from start object

  • September 19, 2018
  • 2 replies
  • 32 views

alc33
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 54 replies

Hello!

As you see on the picture, I have lines connected to object (topological). They have differents orientations.

I would like to extract the orientation of the line that intersect the blue object and force it to have the first vertex (start) intersecting this object.

Then I would like to force the orientation of all the lines connected and all the ramifications to be like this firt line, like a waterway network.

I tried differents transformer like NetworkFlowOrientor, PathBuilder/PointOnLineOverlayer but without success.

Do you have any idea? Maybe I need a loop or something like that?

Thank you in advance!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • September 20, 2018

Hi @us, the NetworkFlowOrientor transformer might help you.

Send all the lines to the 'Line' port, send the start point (blue square in your screenshot) to the 'Destination' port of the transformer.

All the lines output via the 'Network' port will orient to the destination point. You can then reverse their orientation with the Orientor (Orientation Type: Reverse), so that all the lines orient to the blue square.

Done!


alc33
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 54 replies
  • January 29, 2019

Thanks for your solution and sorry for this late answer.

It work very well!