]> pere.pagekite.me Git - cnc-skilt-2024-11-nummer-2-5.git/commitdiff
Initial test.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 23 Nov 2024 17:17:51 +0000 (18:17 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 23 Nov 2024 17:17:51 +0000 (18:17 +0100)
Makefile [new file with mode: 0644]
README.md [new file with mode: 0644]
jobfile [new file with mode: 0644]
skilt-omriss-2.svg [new file with mode: 0644]
skilt-omriss-25.svg [new file with mode: 0644]
skilt-omriss-5.svg [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..51cc494
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+SVG2GCODE = ~/src/debian/svg2gcode-upstream/svg2gcode
+
+OPTS = \
+ --speed 2000 \
+ --feed 1000 \
+ --plunge-feed 500 \
+ --z-cut-depth -13 \
+
+GCODE = skilt-omriss-25.ngc skilt-omriss-2.ngc skilt-omriss-5.ngc
+
+all: $(GCODE)
+
+clean:
+       $(RM) *~
+       $(RM) $(GCODE)
+
+.svg.ngc:
+       $(SVG2GCODE) $(OPTS) jobfile $^ > $@
+
+.SUFFIXES: .svg .ngc
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..70883e8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+CNC files to create "25" sign.
+
+Font Roboto, Bold
+font size 282.222px
diff --git a/jobfile b/jobfile
new file mode 100644 (file)
index 0000000..1106355
--- /dev/null
+++ b/jobfile
@@ -0,0 +1,20 @@
+{
+    "jobs": [            
+        {
+            "operations": [
+                {
+                    "offset": {
+                        "distance": -5,
+                        "max-depth-of-cut": 1.5,
+                        "ramp-slope": 0.05,
+                        "work-holding-tabs": {
+                            "number-of-tabs": 4,
+                            "height": 0.5,
+                            "width": 12.5
+                        }
+                    }
+                }
+            ]
+        }
+    ]
+}
diff --git a/skilt-omriss-2.svg b/skilt-omriss-2.svg
new file mode 100644 (file)
index 0000000..f3ef442
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="203.80064mm"
+   height="141.65118mm"
+   viewBox="0 0 203.80065 141.65118"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   sodipodi:docname="skilt-omriss-2.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.47660634"
+     inkscape:cx="424.87895"
+     inkscape:cy="377.67018"
+     inkscape:window-width="1366"
+     inkscape:window-height="709"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(114.39821,7.3336345)">
+    <g
+       aria-label="2"
+       id="text472"
+       style="font-weight:bold;font-size:282.222px;line-height:125%;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';letter-spacing:0px;word-spacing:0px;fill:none;stroke:#000000;stroke-width:0.264583px"
+       transform="rotate(90,-12.497887,63.491957)">
+      <path
+         d="m 58.195413,133.15173 v 32.10826 H -79.19488 V 137.97486 L -14.289336,68.797402 Q 0.31785706,52.674369 5.9678089,42.201287 11.755564,31.590402 11.755564,22.633161 q 0,-13.3669589 -6.752381,-21.0839663 -6.6145778,-7.7170074 -19.154715,-7.7170074 -14.193781,0 -21.772985,9.6462592 -7.4414,9.6462595 -7.4414,24.2534515 h -39.82527 q 0,-27.14732923 18.6035,-46.577651 18.741303,-19.430323 51.125174,-19.430323 31.557048,0 48.3691,15.296211 16.812051,15.1584079 16.812051,41.616719 0,19.843733 -11.851118,37.758215 Q 28.154205,74.171746 7.759257,95.531321 l -35.828963,37.620409 z"
+         id="path474"
+         style="fill:none;fill-opacity:1" />
+    </g>
+  </g>
+</svg>
diff --git a/skilt-omriss-25.svg b/skilt-omriss-25.svg
new file mode 100644 (file)
index 0000000..9581bf1
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="302.60593mm"
+   height="206.55673mm"
+   viewBox="0 0 302.60593 206.55673"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   sodipodi:docname="skilt-omriss-25.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.47660634"
+     inkscape:cx="684.00265"
+     inkscape:cy="495.16756"
+     inkscape:window-width="1366"
+     inkscape:window-height="709"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(88.628532,38.761791)">
+    <g
+       aria-label="5"
+       id="text236"
+       style="font-weight:bold;font-size:282.222px;line-height:125%;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';letter-spacing:0px;word-spacing:0px;stroke:#000000;stroke-width:0.264583px">
+      <path
+         d="M 114.51642,73.956126 82.821568,66.239119 94.259276,-35.735622 H 206.7071 V -2.6627331 H 127.05656 L 122.09562,40.60763 q 13.78037,-7.579204 30.04121,-7.579204 29.21439,0 45.19962,17.776678 15.98523,17.776678 15.98523,49.609336 0,26.73392 -16.53645,46.99106 -16.53644,20.25714 -51.12517,20.25714 -26.0449,0 -46.715458,-15.43401 Q 78.41185,136.79461 77.722831,108.95827 h 39.411859 q 2.61827,26.59611 28.24976,26.59611 15.0206,0 21.49738,-10.74869 6.61458,-10.88649 6.61458,-26.596112 0,-15.847426 -7.85482,-25.493685 -7.85481,-9.784063 -24.39125,-9.784063 -10.88649,0 -16.81205,3.582896 -5.92556,3.445093 -9.92187,7.4414 z"
+         id="path10147"
+         style="fill:none" />
+    </g>
+    <g
+       aria-label="2"
+       id="text472"
+       style="font-weight:bold;font-size:282.222px;line-height:125%;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';letter-spacing:0px;word-spacing:0px;fill:none;stroke:#000000;stroke-width:0.264583px">
+      <path
+         d="m 58.195413,133.15173 v 32.10826 H -79.19488 V 137.97486 L -14.289336,68.797402 Q 0.31785706,52.674369 5.9678089,42.201287 11.755564,31.590402 11.755564,22.633161 q 0,-13.3669589 -6.752381,-21.0839663 -6.6145778,-7.7170074 -19.154715,-7.7170074 -14.193781,0 -21.772985,9.6462592 -7.4414,9.6462595 -7.4414,24.2534515 h -39.82527 q 0,-27.14732923 18.6035,-46.577651 18.741303,-19.430323 51.125174,-19.430323 31.557048,0 48.3691,15.296211 16.812051,15.1584079 16.812051,41.616719 0,19.843733 -11.851118,37.758215 Q 28.154205,74.171746 7.759257,95.531321 l -35.828963,37.620409 z"
+         id="path474"
+         style="fill:none;fill-opacity:1" />
+    </g>
+  </g>
+</svg>
diff --git a/skilt-omriss-5.svg b/skilt-omriss-5.svg
new file mode 100644 (file)
index 0000000..c58781f
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="203.66284mm"
+   height="135.86674mm"
+   viewBox="0 0 203.66285 135.86674"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   sodipodi:docname="skilt-omriss-5.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.47660634"
+     inkscape:cx="-171.00066"
+     inkscape:cy="358.78667"
+     inkscape:window-width="1366"
+     inkscape:window-height="709"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-43.690838,1.9715266)">
+    <g
+       aria-label="5"
+       id="text236"
+       style="font-weight:bold;font-size:282.222px;line-height:125%;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';letter-spacing:0px;word-spacing:0px;stroke:#000000;stroke-width:0.264583px"
+       transform="rotate(90,145.52226,65.963509)">
+      <path
+         d="M 114.51642,73.956126 82.821568,66.239119 94.259276,-35.735622 H 206.7071 V -2.6627331 H 127.05656 L 122.09562,40.60763 q 13.78037,-7.579204 30.04121,-7.579204 29.21439,0 45.19962,17.776678 15.98523,17.776678 15.98523,49.609336 0,26.73392 -16.53645,46.99106 -16.53644,20.25714 -51.12517,20.25714 -26.0449,0 -46.715458,-15.43401 Q 78.41185,136.79461 77.722831,108.95827 h 39.411859 q 2.61827,26.59611 28.24976,26.59611 15.0206,0 21.49738,-10.74869 6.61458,-10.88649 6.61458,-26.596112 0,-15.847426 -7.85482,-25.493685 -7.85481,-9.784063 -24.39125,-9.784063 -10.88649,0 -16.81205,3.582896 -5.92556,3.445093 -9.92187,7.4414 z"
+         id="path10147"
+         style="fill:none" />
+    </g>
+  </g>
+</svg>