htotal = r1 - z6;
echo("height", htotal);
-$fa=1;
-$fs=0.1;
+d = 0.01;
+
+$fa=2;
+$fs=0.2;
module SegmentBasisSquare(zmin, zmax, xmin){
- translate([xmin, zmin-0.01]) square([-xmin+0.01, zmax-zmin+0.02]);
+ translate([xmin, zmin-d]) square([-xmin+d, zmax-zmin+d*2]);
}
module ConvexSegment(xc, zc, r, zmin, zmax){
intersection(){
ConcaveSegment( x3 - r4, z3, r4, z4, z3);
ConvexSegment( xc5, zc5, r5, z5, z4);
polygon([[x6, z6],
- [x5, z5+0.01],
- [0.01, z5],
- [0.01, z6]]);
+ [x5, z5+d],
+ [d, z5+d],
+ [d, z6]]);
}
module Pawn(h=htotal){
scale(h/htotal) {
- rotate_extrude($fn=100){
+ rotate_extrude(convexity=10, $fn=50){
assign($fn=undef){
PawnTemplate();
}
}
}
-Pawn(h=20);
+Pawn(h=30);
+//PawnTemplate();