diff options
author | Christian Hodgden <chrhodgden@gmail.com> | 2024-07-31 11:17:26 -0500 |
---|---|---|
committer | Christian Hodgden <chrhodgden@gmail.com> | 2024-07-31 11:17:26 -0500 |
commit | 77ac975d96ad1b15b68849c4178bfddc67118904 (patch) | |
tree | 3601886434a374a20f3a3a4c060695ec039a9cb3 /chess | |
parent | 15a74126b389200529a2fbbe103f2b0afc8ac3a2 (diff) |
chess>bishop: touch-up
Diffstat (limited to 'chess')
-rw-r--r-- | chess/bishop.scad | 17 | ||||
-rw-r--r-- | chess/bishop.stl | bin | 16684 -> 13484 bytes |
2 files changed, 9 insertions, 8 deletions
diff --git a/chess/bishop.scad b/chess/bishop.scad index c2824f6..91b9b2b 100644 --- a/chess/bishop.scad +++ b/chess/bishop.scad @@ -46,25 +46,26 @@ translate([0, 0, total_height - (2.5 * head_radius)]) cylinder(0.5, collar_radius, 0); // Head -ctrl_points = [ +control_points = [ [0, 0], [0.75, 0], [0, 1] ]; -head_curve = bezier_curve(ctrl_points); +// adjust curve_facets for low & odd $fn values +curve_facets = $fn/2; +head_curve = bezier_curve(control_points, $fn=curve_facets); difference() { translate([0, 0, total_height - 2.5 * head_radius]) scale(2.25) - // trying to fix odd-poly skewing - // rotate([0, 0, 60]) - rotate_extrude(angle = 360) + rotate([0, 0, 180]) + rotate_extrude() polygon(head_curve); // Notch - translate([-2.5, 0, 5.5]) - rotate([45, 0, 0]) - cube([5, 5, 0.1]); + translate([0, base_radius, 5.5]) + rotate([45, 0, -90]) + cube([base_diameter, base_diameter, 0.1]); } // Point diff --git a/chess/bishop.stl b/chess/bishop.stl Binary files differindex 5764ae4..7b2f262 100644 --- a/chess/bishop.stl +++ b/chess/bishop.stl |