Message 1 of 2
Lisp to move overlapping blocks into a spiral array of non-overlapping blocks

Not applicable
12-11-2019
01:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is anyone aware of a lisp routine that can identify overlapping blocks and move them one-by-one into a spiral array so that they no longer overlap?
I envision 3 user inputs:
- User to specify the block name or select an instance of the block
- User to specify the "overlap" threshold (threshold = 0 means instances must share the same XY coordinates)
- User to specify the distance each block should be moved
I've provided a Before/After visual example of 8 overlapping blocks being "spiral arrayed" below:
Before
After (numbers shown for clarity only)
I greatly appreciate any and all help. Thank you!