I am trying to have a parameter round a value in the parmeter editor.
Do I have to create a rule to have the value created in parmeters to be rounded?
I want to have a varible gap between panels determined by the (Width) and number of panels.
I want the number of panels to be determined by the (Width) input.
So when you change the (Width) it fills it with panels and changes the gap between them to match the (Width) as closley as possible.
Only the (Width) should be changed and everything adjusts itself accordingly.
Here is what I have got so far, however I am to far off to be acceptable.
I have the (inside_width) parameter controling everythign right now. It is located in the support parameters
you would have to change the derived parts location to be able to link it again.
Try something like the following:
Spacing = floor(inside_width / panal_width) - 1 ul
Gap = panal_width + Vary / ( Spacing - 1 ul )
Vary = inside_width - panal_width * Spacing
Regards,
cadull
Thanks! I ended up with something very close.
spacing = inside_width/panal_width
gap = panal_width + vary + (comp * 2 ul)
vary = panal_width/spacing
comp = vary / spacing
I needed to compensate for the end gap between the panel and the final support post.