|
@ -163,7 +163,6 @@ ctrl_pts_S = [ |
|
|
for(r=len(switch_r)-1, c=[0:len(switch_r[r])-1]) |
|
|
for(r=len(switch_r)-1, c=[0:len(switch_r[r])-1]) |
|
|
switch_bz(switch_r,switch_t,r,c,["SW","SO"],"top",[0,-w_extra,0]), |
|
|
switch_bz(switch_r,switch_t,r,c,["SW","SO"],"top",[0,-w_extra,0]), |
|
|
]; |
|
|
]; |
|
|
echo("ctrl_pts_S", ctrl_pts_S); |
|
|
|
|
|
// between the s curves |
|
|
// between the s curves |
|
|
ctrl_pts_S_B = [ |
|
|
ctrl_pts_S_B = [ |
|
|
for(r=len(switch_r)-1, c=[0:len(switch_r[r])-2]) |
|
|
for(r=len(switch_r)-1, c=[0:len(switch_r[r])-2]) |
|
@ -269,14 +268,14 @@ ctrl_pts_CROSS_IN = [ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// draw bezier_points |
|
|
// draw bezier_points |
|
|
color("black") |
|
|
|
|
|
for(k=[0:len(ctrl_pts)-1]) |
|
|
|
|
|
for(i=[0:len(ctrl_pts[k])-1]) |
|
|
|
|
|
for(j=[0:len(ctrl_pts[k][i])-1]) |
|
|
|
|
|
translate(ctrl_pts[k][i][j]) |
|
|
|
|
|
{ |
|
|
|
|
|
%sphere(d=0.5); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/* color("black") */ |
|
|
|
|
|
/* for(k=[0:len(ctrl_pts)-1]) */ |
|
|
|
|
|
/* for(i=[0:len(ctrl_pts[k])-1]) */ |
|
|
|
|
|
/* for(j=[0:len(ctrl_pts[k][i])-1]) */ |
|
|
|
|
|
/* translate(ctrl_pts[k][i][j]) */ |
|
|
|
|
|
/* { */ |
|
|
|
|
|
/* %sphere(d=0.5); */ |
|
|
|
|
|
/* } */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|