chiark / gitweb /
pawn wip bugfixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 3 Oct 2012 17:32:19 +0000 (18:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 3 Oct 2012 17:32:19 +0000 (18:32 +0100)
pawn.scad

index 4153639..6f1bf99 100644 (file)
--- a/pawn.scad
+++ b/pawn.scad
@@ -61,13 +61,13 @@ module PawnTemplate(){
   ConvexSegment(  xc5,      zc5,  r5, z5, z4);
   polygon([[x6, z6],
           [x5, z5+d],
-          [d, z5],
+          [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();
       }
@@ -76,3 +76,4 @@ module Pawn(h=htotal){
 }
 
 Pawn(h=20);
+//PawnTemplate();