Generate Spline from Boole?
-
Good morning!
I'm wondering whether there is any method, to generate a parametric spline from a boolean of solid objects?
I've attached the simplest of scenes, for example. In it the figure is being cut away by a cube. I would like to be able to generate a spline outline of that red region. I would then use that spline for other effects; generate particles, sweep with other geometry, etc.Simple enough as a still...but not if the cube is animated.
Is there a function or series of functions, which can accomplish something like this?
Thanks
-
Hi entry-newspaper,
Thanks for the file!
A Parametric Spline would be a Primitive Spline. In any case, that is not a given.
One way is to use the newer Boole object (not the one in the file) and enable the Selection "I". Then, use the current State to object, select the Edges via Edge Tag, and finally, select the Edge to Spline.
The newer Boole has, as mentioned above, the Intersection Selection Edge Tag. "I"
This can be used in a cloner and with Scale on Edge if the Spline is set up as shown.
All the best
-
Wow, cool. Thanks, Dr. Sassi. I'm studying the key aspects of what you built, so I can understand more of what the operations are. Initially, it does look like the operation is generating individual polygon edges > splines and that's what you used to drive the eventual sweep.
So it's not necessarily one single spline, but many. So I might not be able (for instance) navigate an object / light around those pieces with something like the align to spline function. But overall, this still seems like a very solid option for other effects.Cheers!
-
Hi entry-newspaper,
Thanks for the feedback.
The problem with those setups is that they would require an option to define what belongs to one spline and what to another and when to join those. Like the two legs in your setup, create two round shapes and then merge them into one for the main body area.
I hope that helps, and perhaps we can look into more detailed needs separately.
Enjoy your weekend
-
Yeah, absolutely. I see the inherent complexity in something like that. I'll be able to really test your solution on an actual work project this coming week. So I can report back, depending on what I wind up doing.
Have a great weekend!
-
Thank you, entry-newspaper,
I look forward to your findings.
Cheers