mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 20:40:02 +02:00
Fixes for rect(center=)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user