- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to create a script that detects intersecting lines on a specified layer (in the code it is "LED PATH") and removes a specified amount of length from deadends in intersections. I want it to be able to work on a filtered selection and have some tolerance for line ends not being exactly on the crossing line.
For example:
Before
After
I have comments in my attempted code that explains my thought process for how to achieve my desired results but the syntax is all messed up.
I think the biggest problems I am facing involve the syntax for creating a polygon point list to check for intersecting lines and if the lines are far enough away to stop trimming. I suspect I can't call commands inside a function that returns a value directly to another command, and also that my point list loop is not using "append" correctly.
Thanks for any help or insights you can offer!
Solved! Go to Solution.