User parameter using floating point modulo returning value equal to divisor

User parameter using floating point modulo returning value equal to divisor

mattleotongXA5PU
Explorer Explorer
842 Views
0 Replies
Message 1 of 1

User parameter using floating point modulo returning value equal to divisor

mattleotongXA5PU
Explorer
Explorer

I am trying to create a parametric hinged box, where the hinge layout will adjust according to the width of the box.

 

When using the floating point modulo operation, %, I have a value equal to the divisor returned from my calculation. 

mattleotongX_0-1681425729784.png

 

I have tested the equations over a range of values, and they all correspond to my calculations in a google sheets version of the calculations, except for the fringe cases of where the remainder equals the total hinge length.  Something I'm doing wrong? Any possible work arounds? 

 

Appreciate any input!

0 Likes
843 Views
0 Replies
Replies (0)