I am wondering how to split/divide a “curve” having a Minimum Spacing Contrain, (like the curtain wall in Revit). I can make it work by number of segment, distance but I could not figure out how I can do it with a minimum Spacing constrain.
Please correct if I am wrong, the formule does not work as a minimun Spacing constrain. From what I see there, it divides the curve in equal spaces, having a different starting point, isn’t it? Please let me know if I am missing something.
What I am trying to achieve is the same idea as curtain wall. You have any geomtry and I want to split the geometry in equal segments but not going less than a known dimension.
As the exmaple show, the curtain wall / segment is divided in 746 equal parts as the minimun spacing constrain is 700.
I am not totally sure to understand how to use a minimum value since the result could be any greater number. Would that mean that the result should be the closest value? Or is a parameter missing, such as the number of divisions?
Anyway, to get started on something, you could simply try to divide your segment with this minimum spacing constraint, get the floor integer of this number: http://dictionary.dynamobim.com/#/Core/Math/Action/Floor
Retrieve one from another and allocate the result proportionally to every segment, or anything along this line, and send a screenshot of what you tried so that we can see clearly where the issue lies.
Probably my english is not good enough to explain what I am trying to achieve. Let me try again:
“It is divide a curve equally with the minimun dimnesion possible, but not less than a dimension known”. I know the Math Floor action, but I do not think it will solve the problem unless I am missing something.
A few picture as requested, it could help to undertnad the problem as you said
As you can see I do not want to have 621 (as an example) as it is less than 700 (as an example). the line is divide by 700 perfectely but obviously the the whole dimension cannot be divided equally by 700, the last bit is less than 700.