[Plugin] Draw Boundingbox
-
@bagatelo said:
Why the boundingbox is not attached with object? Why we cannot make boundingbox with only edges?
No one asked...
-
-
Thomthom
Designing and fabricating large but still truck-able steel equipment, I find your plugin an easy to use method to determine the width, height and length of each section for the trucking company. You have made it easier to determine how to arrange a load on the truck bed to minimize the requirements for oversize load permits.
Thanks
Ken
-
huh - again the simplest of plugins turns out to be of wider usage than I thought. I figured it was a rather obscure request.
-
Very useful for my game -- to center models or stretch them appropriately utilizing the length/width/height ratios. Thank you.
-
That can be used for packaging too
Next step will be optimisation of placement of some objects for minimize the Bounding box
-
@unknownuser said:
That can be used for packaging too
Next step will be optimisation of placement of some objects for minimize the Bounding box
Now, that would be very useful.
Ken
-
Thanks for sharing
-
@ThomThom:
Just out of curiosity, is the bounding box you create even distantly related to the method of producing a convex hull--or is this even relevant? -
Nope - it just uses the corner of the boundingbox SketchUp provides.
-
Hi Thom,
Great plugin (again) but blah-blah... you know that.
I have noticed however that it can be launched when only primitive geometry (i.e. no group/component) is selected then I can even tell the plugin to create a bounding box but of course nothing happens.
Of course, I know why this is happening ("not" happening) so not too big problem but maybe some warning dialog would be best so that users do not get confused.
-
Couldn't you simply make a temporary group of all selected and then get the bounds of that?
ents=model.active_entities ss=model.selection enta=ss.to_a gp=ents.add_group(enta) bb=gp.bounds ### store that data gp.explode ### make the bbox ss.add(enta) ### OR whatever...
-
hm... I thought I had some message system that warned about no valid selection. Must have accidentally removed it as I rewrote it
-
I do not mean to create a bounding box for loose geometry - what for? - it's just for other users to avoid confusion.
Also, how about an option that the bounding box is inside/outside of the group/component? (Would be easier to move them together with just one click selection). Of course, in this case there would be the risk of loose geometry merging inside...
-
@tig said:
Couldn't you simply make a temporary group of all selected and then get the bounds of that?
ents=model.active_entities > ss=model.selection > enta=ss.to_a > gp=ents.add_group(enta) > bb=gp.bounds > ### store that data > gp.explode > ### make the bbox > ss.add(enta) > ### OR whatever...
I could just add up the bounds from all the "loose" geometry.
-
@gaieus said:
Also, how about an option that the bounding box is inside/outside of the group/component? (Would be easier to move them together with just one click selection). Of course, in this case there would be the risk of loose geometry merging inside...
I was thinking adding to the input box:
Option to group the generated geometry
Option to generate the geometry inside the components they represent. -
OK, I'll stop nagging you now...
-
I just downloaded this plugin and its a very useful addition, I'm using it, thanks to 'dedmin's recommendation for use with Layout. Its difficult sometimes to use the dimensioning tool in LO on rounded or odd shaped geometry. this tool certainly helps! Thank you
grouping the resulting boundary box would make a great simple plugin more streamlined. if at all possible.... please ... maybe
-
I noticed that if I rotate some objects and use this plugin, the bounding box will use the rotated boxes of these other objects... any way to perhaps get the real limits of the object set instead of using their (inaccurate) bounding box without having to explode everything?
-
There probably is, but I'm not sure how. This plugin is very simple designed specifically to use the boundingbox.
Advertisement