mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 13:01:37 +02:00
add gcd
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use <sweep.scad>;
|
||||
|
||||
module loft(sections, slices = 1) {
|
||||
function gcd(m, n) = n == 0 ? m : gcd(n, m % n);
|
||||
function lcm(m, n) = m * n / gcd(m, n);
|
||||
|
||||
function inter_pts(p1, p2, n) =
|
||||
|
Reference in New Issue
Block a user