If the sides have axis inward then they resize uniformly, however if one is setback for a thickness the scale involves this setback as well, forming a gap. As easily observed. If a component is made up of an invisible line and a group, where the line is the overall, with the group of the shape station on the line at the thickness of the setback and length to the next set back, then the uniformity scale of the line is kept.
Now despite the overall, OCL reads the shape group, not the line because its invisible.
So can make a component that can be copied, positioned and scaled to create the given pattern and it should work without the need for fancy formulas.
- painted material should be govern by OCL, raw edges can be painted on the component.
- naming concepts, best to use Name for OCL and parent!name for the connections.
- use a generic name for the component with a specific instance names same as its Name
- instance and Name should match
So this reusable component could have a list of common names and an option for custom.
Place and scale to match existing, rotate so axis on outside facing in of box like structure
I show the axis inside the new component, this is to show placement and rotation, axis in on a box structure, extended lines on external where the shape does not meet the external edge of “box” used, plain non extended between “boxes”
PARTITION.skp (285.3 KB)