chiark / gitweb /
poster-tube-lid: make into a perl script
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Oct 2017 23:06:52 +0000 (00:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Oct 2017 23:06:52 +0000 (00:06 +0100)
.gitignore
poster-tube-lid.scad.pl [moved from poster-tube-lid.scad with 93% similarity, mode: 0755]

index 36df2f908f2a508d9b324cf87e0759b1cb2d4d1d..2908e784b5207641d71a0040f5a50951b0e4b656 100644 (file)
@@ -33,3 +33,4 @@ sewing-table-front-profile.eps
 sewing-table-end-profile.dxf
 sewing-table-end-profile.eps
 sewing-table,Demo-flat.png
+poster-tube-lid.scad
old mode 100644 (file)
new mode 100755 (executable)
similarity index 93%
rename from poster-tube-lid.scad
rename to poster-tube-lid.scad.pl
index 13a5a8b..2bb7d1d
@@ -1,4 +1,10 @@
-// -*- C -*-
+#!/usr/bin/perl -w
+# -*- C -*-
+
+use strict;
+use autodie;
+
+print <<'END' or die $!;
 
 main_dia = 71.2 + 0.50;
 top_thick = 4;
@@ -55,3 +61,5 @@ module MainProfile(){
 }
 
 MainProfile();
+
+END