Scaling Dynamic Component with nested components
-
I'm trying to create a DC that I can scale along X and it will populate with various nested components/groups of fixed size to make up the overall length.
It's a truss line made up of truss sections of either 3m, 2m or 1.5m sections. So a truss line of 4.5m would be made up of 1x3m and 1x1.5m sections for a total of 4.5m. A 6.5m truss line would contain 1x3m, 1x2m and 1x1.5m sections etc.
I can get the nested truss sections to create copies to best fit the total length but I have no idea how to combine the nested truss lengths to get a best overall fit.
Any help?
-
I believe the common total 3+2+1.5=6.5 should be tried first, then systematically 3,2,1.5
I used the hidden method to place the sections when not in use, to x=0, and 1.5 length
What happens to the remainder after the section division?
attached worked example saved as version 8
cheers
PhilipEdit: 4m is another exemption
so for range 4 to <4.5 need to take one from the 3m division to allow for two of the 2m division
-
Wonderful!!!
This is exactly what I was looking for. Thanks very much.
-
-
there is a problem with your version for multiples of 6.5, 13m rounds down to 12, whereas my formula produces the require 3 x 3m and 2 x 2m
Advertisement