bounding box > curve script
All  1  2-4

Previous
Next
 From:  Michael Gibson
2792.2 In reply to 2792.1 
Hi Nick, there is a bug in the current v2 beta for scripting bounding boxes, so there isn't any way to do it with the current one.

But for the next beta I've added in a new "BoundingBox" command, that will let you construct a bounding frame around the selected objects.

If you have objects that are all one the same axis-aligned plane like curves drawn in the Top view, it will build a bounding rectangle otherwise it builds a solid box. If you want lines from the solid box, you can select its edges and do a copy/paste.

Also I added a similar "BoundingBoxCenter" command that creates a point at the center of those bounds instead of the frame itself.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Nick (BODINI)
2792.3 In reply to 2792.2 
Thanks for your attention. Sounds great. Looking forward to it (or rather looking forward to NOT having opening Rhino just to use this type of script) :-).

-Nick
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Nick (BODINI)
2792.4 In reply to 2792.2 
Nice! They work now with the Aug 08 2009 beta. http://moi3d.com/forum/index.php?webtag=MOI&msg=2843.1

Just add them to your shortcuts and away you go.

BoundingBox

BoundingBoxCenter
Image Attachments:
Size: 113.7 KB, Downloaded: 72 times, Dimensions: 674x285px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-4