Null object dimensions
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/09/2012 at 08:15, xxxxxxxx wrote:
Hei folks,
in case someone needs it: Here's the working version of the above scene-file using Giblets method (but using GetRad()/GetMp() only!!)
Cheers,
-Niklas -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/09/2012 at 11:46, xxxxxxxx wrote:
Thanks - it's neat seeing it (working and) ported to Python :). Did you try the full object point-transform method?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/09/2012 at 12:55, xxxxxxxx wrote:
Did you try the full object point-transform method?
Do you mean calculating the bounding-box of point-objects from its points? No. Because,1. I'm pretty sure GetDimension() does this internally for polygon-objects.
2. For splines, the curves could exceed the bounding box defined only by the points.-Nik
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/09/2012 at 13:17, xxxxxxxx wrote:
Originally posted by xxxxxxxx
...1. I'm pretty sure GetDimension() does this internally for polygon-objects.
Hmm...
- Load your scene, delete the 2 cubes.
- Add a "Tube" object.
- Switch to Front view.
- Rotate the Tube 30deg or so clockwise.
- Make it editable (turn it into a Polygon Object).
- Grab a point and (in Move mode), pull the point up (at that angle).
- Observe that the top of the BBox is no longer 'tight' on the object (across the top/right sides).
...doing the point-transform method would tighten that box back up (if you needed that).
-
On 26/06/2015 at 01:43, xxxxxxxx wrote:
Oh i think this would solve my problem with this
https://developers.maxon.net/forum/topic/6903/7745_eventadd-doesnt-update-c4d
Not the topic the solution from NiklasR, but The Python c4d file is 404 missing, here.
Anyhow does somebody have a multiple objects boundingbox Python Script Snippet?
Kind regards
mogh