Enclose the minimum volume of a group of planes?
dylan_mckillip
Member Posts: 7 ✭✭
I have a featurescript where I am trying to make dice that have a variable size.
Currently I am having issues with the D10 where an enclose operation creates a solid with the maximum enclosable volume where I wish for the smaller enclosure. Is there a way to specify the minimum volume enclosed by the planes?
Link to Featurescript: https://cad.onshape.com/documents/14614f06be8b2df8d207d892/w/9487b47cc13e9e42296ef8d9/e/d7c075b5bd48e123a79234ee
The area I am looking at is under if( definition.DiceType == d10){}
Maximum enclosed volume:
Picture of planes showing smaller Dice area:

What D10 supposed to look like:




Currently I am having issues with the D10 where an enclose operation creates a solid with the maximum enclosable volume where I wish for the smaller enclosure. Is there a way to specify the minimum volume enclosed by the planes?
Link to Featurescript: https://cad.onshape.com/documents/14614f06be8b2df8d207d892/w/9487b47cc13e9e42296ef8d9/e/d7c075b5bd48e123a79234ee
The area I am looking at is under if( definition.DiceType == d10){}
Maximum enclosed volume:
Picture of planes showing smaller Dice area:

What D10 supposed to look like:
0
Answers
-
There are no way to specify enclosed volume limit. If those polyhedrons are always convex, you may consider another method of volume creation by splitting some base body (for example the sphere) with planes in the loop.
0 -
So, not that it necessarily helps you in learning, but @jon_sorrells wrote a custom feature that generates polyhedra: https://cad.onshape.com/documents/2c40f522f1b5a02f6ce9ce01/w/32e0799ad10a8f40ac24abb5/e/dd23a5b64fbc7cefbf67ffbd
0 -
Although, for a d10, maybe the simplest solution is to do a boolean intersection of two lofted shapes, kinda like so: https://forum.onshape.com/discussion/comment/9300/#Comment_93000


