chiark / gitweb /
poster-tube-lid: catch wip, CatchPostDistort varying coarseness
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 00:37:54 +0000 (00:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 00:37:54 +0000 (00:37 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile
poster-tube-lid.scad

index a812662..3345eaa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -185,10 +185,10 @@ electron-token.stl: electron-token.scad
                screw-recess-test-number-s$s.fig \
                screw-recess-test-number-s$s.eps)
 
-poster-tube-lid,CatchPostDistort.stl: \
+poster-tube-lid,CatchPostDistort-fa%.stl: \
        distort-stl poster-tube-lid,CatchPreDistort.auto.stl
                ./distort-stl <poster-tube-lid,CatchPreDistort.auto.stl \
-                       project-cylinder 100 >$@.tmp
+                       set-fa $* project-cylinder 100 >$@.tmp
                mv -f $@.tmp $@
 
 %.dxf:         %.eps
index 719ed59..bdad0c2 100644 (file)
@@ -572,7 +572,10 @@ module CatchPreDistort(){ /////toplevel
 
 module CatchAssembly(){ /////toplevel
   scale(sm_inner_rad / 100)
-    import("poster-tube-lid,CatchPostDistort.stl", convexity=20);
+    import(str("poster-tube-lid,CatchPostDistort-fa",
+              (coarse ? 20 : 1),
+              ".stl"),
+          convexity=20);
 }
 
 //ProfilesDemo();