chiark / gitweb /
anker-powerbank: Export as EPS and record a test rune
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2021 23:14:20 +0000 (23:14 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2021 23:14:20 +0000 (23:14 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
anker-powerbank.eps [new file with mode: 0644]
anker-powerbank.scad [new file with mode: 0644]

diff --git a/anker-powerbank.eps b/anker-powerbank.eps
new file mode 100644 (file)
index 0000000..01359d8
--- /dev/null
@@ -0,0 +1,89 @@
+%!PS-Adobe-3.0 EPSF-3.0
+%%Creator: cairo 1.16.0 (https://cairographics.org)
+%%CreationDate: Fri Feb  5 23:12:37 2021
+%%Pages: 1
+%%DocumentData: Clean7Bit
+%%LanguageLevel: 2
+%%BoundingBox: 149 274 598 1452
+%%EndComments
+%%BeginProlog
+50 dict begin
+/q { gsave } bind def
+/Q { grestore } bind def
+/cm { 6 array astore concat } bind def
+/w { setlinewidth } bind def
+/J { setlinecap } bind def
+/j { setlinejoin } bind def
+/M { setmiterlimit } bind def
+/d { setdash } bind def
+/m { moveto } bind def
+/l { lineto } bind def
+/c { curveto } bind def
+/h { closepath } bind def
+/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
+      0 exch rlineto 0 rlineto closepath } bind def
+/S { stroke } bind def
+/f { fill } bind def
+/f* { eofill } bind def
+/n { newpath } bind def
+/W { clip } bind def
+/W* { eoclip } bind def
+/BT { } bind def
+/ET { } bind def
+/BDC { mark 3 1 roll /BDC pdfmark } bind def
+/EMC { mark /EMC pdfmark } bind def
+/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
+/Tj { show currentpoint cairo_store_point } bind def
+/TJ {
+  {
+    dup
+    type /stringtype eq
+    { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
+  } forall
+  currentpoint cairo_store_point
+} bind def
+/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
+    cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
+/Tf { pop /cairo_font exch def /cairo_font_matrix where
+      { pop cairo_selectfont } if } bind def
+/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
+      /cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
+      /cairo_font where { pop cairo_selectfont } if } bind def
+/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
+      cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
+/g { setgray } bind def
+/rg { setrgbcolor } bind def
+/d1 { setcachedevice } bind def
+/cairo_data_source {
+  CairoDataIndex CairoData length lt
+    { CairoData CairoDataIndex get /CairoDataIndex CairoDataIndex 1 add def }
+    { () } ifelse
+} def
+/cairo_flush_ascii85_file { cairo_ascii85_file status { cairo_ascii85_file flushfile } if } def
+/cairo_image { image cairo_flush_ascii85_file } def
+/cairo_imagemask { imagemask cairo_flush_ascii85_file } def
+%%EndProlog
+%%BeginSetup
+%%EndSetup
+%%Page: 1 1
+%%BeginPageSetup
+%%PageBoundingBox: 149 274 598 1452
+%%EndPageSetup
+q 149 274 449 1178 rectclip
+1 0 0 -1 0 1612 cm q
+0 g
+360.93 1337.57 m 298.676 1334.211 219.23 1335.672 183.594 1274.547 c 142.047
+ 1187.812 152.582 1088.758 149.211 995.395 c 151.73 795.32 144.426 595.004
+ 156.238 395.148 c 157.656 328.41 155.359 251.004 205.434 199.816 c 263.293
+ 157.641 339.281 161.27 407.469 160.113 c 465.984 160.328 537.961 171.273
+ 565.277 230.957 c 601.477 310.977 590.16 401.633 593.281 486.977 c 592.355
+ 612.16 596.633 737.312 597.473 862.445 c 596.184 971.23 597.672 1080.117
+ 595.984 1188.836 c 591.852 1244.773 555.328 1300.199 498.418 1313.117 c
+ 459.289 1331.371 416.695 1338.148 373.711 1336.93 c 367.316 1337.203 l 
+h
+360.93 1337.57 m f
+Q Q
+showpage
+%%Trailer
+end
+%%EOF
diff --git a/anker-powerbank.scad b/anker-powerbank.scad
new file mode 100644 (file)
index 0000000..d1841ae
--- /dev/null
@@ -0,0 +1,2 @@
+// pstoedit -dt -f "dxf: -polyaslines -mm" anker-powerbank.eps anker-powerbank.dxf
+import("anker-powerbank.dxf", convexity=5);