Setting up dynamic components requires some thinking upfront (eg. what parts are identical, are there more 'variables, etc) When it comes to goups and components, remember that all attributes are aplied to identical parts in the model. That is why I, for simplicity reasons,sometimes use groups.
The hierarchy is also important. You don not want that the user has to ‘dive’ into nested levels to set the depth or height.
Sometimes it is best to start with a part of the cabinet and test before going any further:
all though there are two identical parts, I use 4 groups for easy identification. The top-level get some custom attributes (width , depth and framethickness) the groups get there values from them.
I do not let users choose or enter thwe wdth on this level, because I know there are gonna be more (higher) levels…
Sometimes, when creating DC’s, ‘showing component axes’ in Window->Model Info->Components helps you identifying the origin of components.
If you add some attributes, it will give you the current values displayed grey. These are nice hints for the formula you need.
work your way through the different parts.
Then copy the bottom part and draw the parts for the height: select all and make the (final) component:
add some more attributes to the top level and you will have a cutlist, to:
Dynamic Component Cabinet.skp (166.6 KB)