On 04/11/2014 at 06:24, xxxxxxxx wrote:
How can I make a "box model" from an existing model?
Something like the Display tag does, when you set Style = Box
On 04/11/2014 at 06:35, xxxxxxxx wrote:
you could simply iterate through all objects and get the bounding box of each object with GetRad() and GetMp(). Then you could simply create a cube at the given position with the given size.
On 04/11/2014 at 07:46, xxxxxxxx wrote:
Yes, that is a thought when there are multiple parts in the object.
But what to do if the object is just one part.
How is cinema 4d doing this when converting it to style=box?
On 04/11/2014 at 08:28, xxxxxxxx wrote:
The "Figure" object in your example is a generator that returns a list ob sub-objects. So you can apply the above solution to all these sub-objects in the generator's cache.