mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Newer OpenSCAD dev versions get syntax errors on doubled commas.
This commit is contained in:
parent
fdfdb224b7
commit
efa0900446
2 changed files with 2 additions and 2 deletions
|
@ -1369,7 +1369,7 @@ function bezier_vnf_degenerate_patch(patch, splinesteps=16, reverse=false, retur
|
|||
// patch = [for(i=[0:3])
|
||||
// [for(j=[0:3]) pts1[i]+pts2[j] ] ];
|
||||
// vnf_polyhedron(bezier_vnf(patch, 163));
|
||||
// uv = [0,.1,.2,.3,,.7,.8,.9,1];//lerpn(0,1,8);
|
||||
// uv = [0,.1,.2,.3,.7,.8,.9,1];//lerpn(0,1,8);
|
||||
// pts = bezier_patch_points(patch, uv, uv);
|
||||
// normals = bezier_patch_normals(patch, uv, uv);
|
||||
// for(i=idx(uv),j=idx(uv))
|
||||
|
|
|
@ -1069,7 +1069,7 @@ function circle_circle_intersection(r1, cp1, r2, cp2, eps=EPSILON, d1, d2) =
|
|||
// for (i = [0:1:5]) {
|
||||
// crn = select(path, i*2-1, i*2+1);
|
||||
// ci = circle_2tangents(5, crn[0], crn[1], crn[2]);
|
||||
// move(ci[0]) cyl(h=10,r=5,,orient=ci[1]);
|
||||
// move(ci[0]) cyl(h=10,r=5,orient=ci[1]);
|
||||
// }
|
||||
function circle_2tangents(r, pt1, pt2, pt3, tangents=false, d) =
|
||||
let(r = get_radius(r=r, d=d, dflt=undef))
|
||||
|
|
Loading…
Reference in a new issue