AntoineSfx Posted October 11, 2019 Share Posted October 11, 2019 (edited) How can I do this: Say I have n non overlapping primitives, and I want to try to scale up the ones that can, i.e without intersecting other ones. The idea is: For each primitive if the larger version doesnt intersect the other ones, then scale it ... The trick is " the other ones" is both the already processed ones, and the ones to be processed, excluding current one. Problem I'm trying to solve: I have a set of primitives, and I want to expand them a little so they become closer together. I can't find the right combination of merge / feedback / fetch feedback / using a for-loop. Edited October 11, 2019 by AntoineSfx Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 11, 2019 Share Posted October 11, 2019 Take a look at the for-loop in the Grain Source SOP, it does the opposite (moves intersecting points away from eachother) but it might give you some ideas. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.