Skip to content

Conversation

chunky
Copy link

@chunky chunky commented Aug 25, 2016

This is for using the ribbonmaker in combination with the multilos layer:

Given a ribbon {some distance away from a shape}, sample points along the ribbon every {some distance}, and print them out in a little GUI control that I can copy/paste from. The points can be used for whatever [they're semicolon-separated], but they can easily be copied into the multilos layer.

The real key is getPointsAroundPolys(), around line 413; instead of just using every inflection point along the ribbon, we calculate the distance and gracefully return points every {distance} along it, correctly subdividing long edges or crossing over short ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant