copy files from other repo
This commit is contained in:
parent
9d04b2793b
commit
d78138a067
2 changed files with 124 additions and 0 deletions
112
flaschenring_template.svg
Normal file
112
flaschenring_template.svg
Normal file
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
|
||||
sodipodi:docname="flaschenring_template.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2">
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.24869169;stroke-miterlimit:4;stroke-dasharray:0.24869139, 0.24869139;stroke-dashoffset:0"
|
||||
d="M 57.390446,266.86771 A 27.258152,27.258152 0 0 0 30.132293,239.60946 27.258152,27.258152 0 0 0 2.8741375,266.86771 27.258152,27.258152 0 0 0 30.132293,294.12596 27.258152,27.258152 0 0 0 57.390446,266.86771 Z"
|
||||
id="path815-3-5-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.24869169;stroke-miterlimit:4;stroke-dasharray:0.24869139, 0.24869139;stroke-dashoffset:0"
|
||||
d="M 57.390446,266.86771 A 27.258152,27.258152 0 0 0 30.132293,239.60946 27.258152,27.258152 0 0 0 2.8741375,266.86771 27.258152,27.258152 0 0 0 30.132293,294.12596 27.258152,27.258152 0 0 0 57.390446,266.86771 Z"
|
||||
id="path815-3-5-2"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.248692;stroke-miterlimit:4;stroke-dasharray:0.248691, 0.248691;stroke-dashoffset:0"
|
||||
d="M 57.390446,266.86771 A 27.258152,27.258152 0 0 0 30.132293,239.60946 27.258152,27.258152 0 0 0 2.8741375,266.86771 27.258152,27.258152 0 0 0 30.132293,294.12596 27.258152,27.258152 0 0 0 57.390446,266.86771 Z"
|
||||
id="path815-3-5-2-3"
|
||||
inkscape:connector-curvature="0" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="162.32143"
|
||||
inkscape:cy="888.21429"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
inkscape:window-x="-2568"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:pagecheckerboard="0" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<circle
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.26458332;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path815"
|
||||
cx="30.132292"
|
||||
cy="266.86771"
|
||||
r="17.5" />
|
||||
<circle
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.26458332;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="path815-3"
|
||||
cx="30.132292"
|
||||
cy="266.86771"
|
||||
r="30" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.24869169;stroke-miterlimit:4;stroke-dasharray:0.24869139, 0.24869139;stroke-dashoffset:0"
|
||||
d="M 57.390446,266.86771 A 27.258152,27.258152 0 0 0 30.132293,239.60946 27.258152,27.258152 0 0 0 2.8741375,266.86771 27.258152,27.258152 0 0 0 30.132293,294.12596 27.258152,27.258152 0 0 0 57.390446,266.86771 Z"
|
||||
id="textbasepath"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:label="#path815-3-5" />
|
||||
<text
|
||||
y="-239.30811"
|
||||
x="-2.7096312"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:22.5778px;line-height:1.25;font-family:sans-serif;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
id="text836-2"
|
||||
transform="translate(0.04036888,-0.16279458)"><textPath
|
||||
xlink:href="#path815-3-5-2"
|
||||
id="textPath866-9"
|
||||
style="font-size:11.2889px;letter-spacing:1.27265px;stroke-width:0.264583">123456789</textPath></text>
|
||||
<text
|
||||
y="-239.30811"
|
||||
x="-2.7096312"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:22.5778px;line-height:1.25;font-family:sans-serif;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
id="text836-2-7"
|
||||
transform="rotate(180,30.245147,266.711)"><textPath
|
||||
xlink:href="#path815-3-5-2-3"
|
||||
id="textPath866-9-6"
|
||||
style="font-size:11.2889px;letter-spacing:1.27265px;stroke-width:0.264583">123456789</textPath></text>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.1 KiB |
12
generate_flaschenring.sh
Normal file
12
generate_flaschenring.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
#Getestet mit inkscape --version
|
||||
#Inkscape 1.2.2 (732a01da63, 2022-12-09)
|
||||
|
||||
sed "s/123456789/"$1"/g" flaschenring_template.svg > flaschenring_$1_temp.svg
|
||||
sleep 3
|
||||
inkscape --export-text-to-path -o flaschenring_$1_temp2.svg flaschenring_$1_temp.svg
|
||||
sleep 3
|
||||
inkscape --batch-process --actions="select-by-id:textbasepath;delete" -o flaschenring_$1.svg --with-gui flaschenring_$1_temp2.svg
|
||||
sleep 3
|
||||
rm flaschenring_$1_temp.svg
|
||||
rm flaschenring_$1_temp2.svg
|
Loading…
Add table
Reference in a new issue