changeset 1749 | d73b64672238 |
parent 1744 | 69dfdb26f600 |
child 1752 | d14ff9d7eb76 |
1748:ba5f64fe0e00 | 1749:d73b64672238 |
---|---|
123 else: |
123 else: |
124 xround = round(fraction) |
124 xround = round(fraction) |
125 if constraint == 1 and xround < fraction: |
125 if constraint == 1 and xround < fraction: |
126 xround += 1 |
126 xround += 1 |
127 return int(xround * n) |
127 return int(xround * n) |
128 |
|
128 |
129 |
129 """ |
130 """ |
130 Basic vector operations for calculate wire points |
131 Basic vector operations for calculate wire points |
131 """ |
132 """ |
132 |
133 |