Fixes for rect(center=)

This commit is contained in:
Revar Desmera
2021-12-13 16:31:14 -08:00
parent aa109de9d7
commit f9c5dc2cb9
7 changed files with 24 additions and 18 deletions

View File

@@ -989,8 +989,8 @@ module trace_bezier(bez, width=1, N=3) {
color("red") move_copies(bez)
if ($idx % N !=0)
if (twodim){
rect([width/2, width*3],center=true);
rect([width*3, width/2],center=true);
rect([width/2, width*3]);
rect([width*3, width/2]);
} else {
zcyl(d=width/2, h=width*3);
xcyl(d=width/2, h=width*3);