mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
bug fix
This commit is contained in:
parent
33484f2c4b
commit
dbec028bd1
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ module trace_bezier(bez, width=1, N=3) {
|
||||||
stroke(bezier_path(bez, N=N), width=width, color="cyan");
|
stroke(bezier_path(bez, N=N), width=width, color="cyan");
|
||||||
color("green")
|
color("green")
|
||||||
if (N!=3)
|
if (N!=3)
|
||||||
stroke(path3d(path), width=width);
|
stroke(bez, width=width);
|
||||||
else
|
else
|
||||||
for(i=[1:3:len(bez)]) stroke(select(bez,max(0,i-2), min(len(bez)-1,i)), width=width);
|
for(i=[1:3:len(bez)]) stroke(select(bez,max(0,i-2), min(len(bez)-1,i)), width=width);
|
||||||
twodim = len(bez[0])==2;
|
twodim = len(bez[0])==2;
|
||||||
|
|
Loading…
Reference in a new issue