echo("height", htotal);
d = 0.01;
+dx = 0.00;
-$fa=1;
-$fs=0.1;
+$fa=2;
+$fs=0.2;
module SegmentBasisSquare(zmin, zmax, xmin){
- translate([xmin, zmin-d]) square([-xmin+d, zmax-zmin+d*2]);
+ translate([xmin, zmin-d]) square([-xmin+dx, zmax-zmin+d*2]);
}
module ConvexSegment(xc, zc, r, zmin, zmax){
intersection(){
ConvexSegment( xc5, zc5, r5, z5, z4);
polygon([[x6, z6],
[x5, z5+d],
- [d, z5],
- [d, z6]]);
+ [dx, z5+d],
+ [dx, 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();