Korrektur von SVG und connection points der Kurve

This commit is contained in:
Simon Schmutzler
2025-02-13 13:28:48 +01:00
parent 7b3d44ae44
commit d71c6fd59f
4 changed files with 11 additions and 70 deletions
+1 -1
View File
@@ -1 +1 @@
[{"id":"c_ILS","name":"ILS","hasShapes":false,"items":[{"id":"c_Kreiselmodule","name":"Kreisel-Module","hasShapes":true},{"id":"c_Zusatzmodul","name":"Zusatzmodul","hasShapes":true},{"id":"c_Foerderer","name":"Förderer","hasShapes":true},{"id":"c_Kurven","name":"Gefällestrecke","hasShapes":true}]},{"id":"c10","name":"PBU","hasShapes":true},{"id":"c_Background","name":"Background","hideName":true,"hasShapes":true},{"id":"c_Parts","name":"Parts","description":"Shapes used for creating new Assemblies while Session","hasShapes":true},{"id":"c_Session","name":"Session","hasShapes":true},{"id":"c_Omniflo","name":"Omniflo","hasShapes":false,"items":[{"id":"c_Boegen_90","name":"Bögen 90°","hasShapes":true},{"id":"c_Boegen_45","name":"Bögen 45°","hasShapes":false},{"id":"c_Boegen_22_5","name":"Bögen 22.5°","hasShapes":true},{"id":"c_Gerade","name":"Aluprofil Gerade","hasShapes":true}]}]
[{"id":"c_ILS","name":"ILS","hasShapes":false,"items":[{"id":"c_Kreiselmodule","name":"Kreisel-Module","hasShapes":true},{"id":"c_Zusatzmodul","name":"Zusatzmodul","hasShapes":true},{"id":"c_Foerderer","name":"Förderer","hasShapes":true},{"id":"c_Kurven","name":"Gefällestrecke","hasShapes":true}]},{"id":"c10","name":"PBU","hasShapes":true},{"id":"c_Background","name":"Background","hideName":true,"hasShapes":true},{"id":"c_Parts","name":"Parts","description":"Shapes used for creating new Assemblies while Session","hasShapes":true},{"id":"c_Session","name":"Session","hasShapes":true},{"id":"c_Omniflo","name":"Omniflo","hasShapes":false,"items":[{"id":"c_Boegen_90","name":"Bögen 90°","hasShapes":true},{"id":"c_Boegen_45","name":"Bögen 45°","hasShapes":false},{"id":"c_Boegen_22_5","name":"Bögen 22.5°","hasShapes":true},{"id":"c_Gerade","name":"Aluprofil Gerade","hasShapes":true}]}]
@@ -12,7 +12,7 @@
"connectionPoints": [
{
"id": "cp1",
"x": 1000.0,
"x": 0.0,
"y": 0.0,
"z": 0.0,
"xMin": "",
@@ -24,14 +24,14 @@
"zMin": "",
"zMax": "",
"zStep": "",
"direction": 90.0,
"direction": 270.0,
"linkClass": "Omniflo",
"label": "",
"isDimension": true
},
{
"id": "cp2",
"x": 0.0,
"x": 1000.0,
"y": 1000.0,
"z": 0.0,
"xMin": "",
+3 -12
View File
@@ -1,17 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g transform="rotate(0)">
<svg viewBox="0 0 1024000 768000" preserveAspectRatio="none" position="absolute" overflow="visible">
<defs>
<clipPath>
<path d="M 0,768 H 1024 V 0 H 0 Z" stroke-width="1px" />
</clipPath>
</defs>
<g clip-path="url(#clipId0)" fill="none" stroke="#00ffff" stroke-width="0.1" transform="matrix(6.8617674,0,0,6.8617674,-3068.6832,-2389.4113)" style="stroke:#ffe31c;stroke-width:4.37205;stroke-dasharray:none;stroke-opacity:1">
<polyline points="590.819,491.812 590.819,461.772 " style="stroke:#ffe31c;stroke-dasharray:none;stroke-opacity:1" stroke-width="1px" />
<polyline points="449.456,350.449 479.495,350.449 " style="stroke:#ffe31c;stroke-dasharray:none;stroke-opacity:1" stroke-width="1px" />
<path d="M 590.819,461.772 A 111.323,111.323 0 0 0 479.495,350.449" style="stroke:#ffe31c;stroke-dasharray:none;stroke-opacity:1" stroke-width="1px" />
</g>
<svg viewBox="0 0 264.58 264.58" preserveAspectRatio="none" position="absolute" overflow="visible">
<path d="m264.08 264.58v-56.188c0-114.82-93.078-207.9-207.9-207.9h-56.188" fill="none" stroke="#ffe31b" stroke-miterlimit="1" stroke-width="1px" />
</svg>
</g>
</svg>
@@ -1,55 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 1024000 768000"
version="1.1"
stroke-linecap="round"
stroke-linejoin="round"
fill-rule="evenodd"
xml:space="preserve"
id="svg2"
sodipodi:docname="APB_110_R630_D90_800_800_821104033.svg"
width="1024000"
height="768000"
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="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false" />
<defs
id="defs1"><clipPath
id="clipId0">
<path
d="M 0,768 H 1024 V 0 H 0 Z"
id="path1" />
</clipPath></defs>
<g
clip-path="url(#clipId0)"
fill="none"
stroke="#00ffff"
stroke-width="0.1"
id="g2"
transform="matrix(6.8617674,0,0,6.8617674,-3068.6832,-2389.4113)"
style="stroke:#ffe31c;stroke-width:4.37205;stroke-dasharray:none;stroke-opacity:1">
<polyline
points="590.819,491.812 590.819,461.772 "
id="polyline1"
style="stroke:#ffe31c;stroke-width:4.37205;stroke-dasharray:none;stroke-opacity:1" />
<polyline
points="449.456,350.449 479.495,350.449 "
id="polyline2"
style="stroke:#ffe31c;stroke-width:4.37205;stroke-dasharray:none;stroke-opacity:1" />
<path
d="M 590.819,461.772 A 111.323,111.323 0 0 0 479.495,350.449"
id="path2"
style="stroke:#ffe31c;stroke-width:4.37205;stroke-dasharray:none;stroke-opacity:1" />
</g>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="1e3" height="1e3" version="1.1" viewBox="0 0 264.58 264.58" xmlns="http://www.w3.org/2000/svg">
<path d="m264.08 264.58v-56.188c0-114.82-93.078-207.9-207.9-207.9h-56.188" fill="none" stroke="#ffe31b" stroke-miterlimit="1"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 341 B