Skip to main content
Question

How can i draw the lines(desire interval) perpendicular to the longest side of the polygon?

  • November 12, 2019
  • 5 replies
  • 58 views

Forum|alt.badge.img

I managed to create centerline (blue line) using suggestions by "@takashi" thanks for that., I would like to create additional lines (black line) inside the polygon, lines should be equally disturbed.

 

 

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.

5 replies

takashi
Celebrity
  • November 12, 2019

Hi @vijai, the BoundsSplitter custom transformer from FME Hub might help you.

The transformer contains PythonCaller implemented with Python 2.7, but also works with Python 3.x. After adding the transformer to the workspace, you can set 3.x to the Python Compatibility parameter of the workspace if necessary.


takashi
Celebrity
  • November 12, 2019

Hi @vijai, the BoundsSplitter custom transformer from FME Hub might help you.

The transformer contains PythonCaller implemented with Python 2.7, but also works with Python 3.x. After adding the transformer to the workspace, you can set 3.x to the Python Compatibility parameter of the workspace if necessary.

Another way.


Forum|alt.badge.img
  • Author
  • November 12, 2019

Thanks for this Takashi, its working fine for me.


Hi, same situation what if we want it at the ends of a rectangle polygon?


evieatsafe
Safer
  • Safer
  • August 16, 2022

Hi, same situation what if we want it at the ends of a rectangle polygon?

Hi @malavikavenu96​ thanks for your question; however, it may help to be more specific or provide a sample workspace.

If you wanted to create parallel lines to the shorter ends of rectangles I would follow a similar process to the one provided by Takashi in this post.

 

However, we suggest that you create your own question post to gather more interest from the community next time. Cheers, Evie