Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π« Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Getting the oriented boundingbox?
-
How do you get the boundingbox of groups and components?
group.boundsorinstance.boundsjust return a boudingbox aligned to the world axis... -
...brainwave as I clicked "Submit"...
Get the definition bounds and transform it by the instance's transformation.
-
Also remember
http://code.google.com/apis/sketchup/docs/ourdoc/group.html#local_bounds -
hm.... one can't transform BoundingBoxes....
So I need to:
- get the boundingbox of the definition
- collect the points of the bb (which I need anyway to send to
view.draw) - transform the collection of points.
-
Success!
Advertisement