From b05f46010c59ff6928c9de67414ca6f3cbd50686 Mon Sep 17 00:00:00 2001 From: Simon Schmutzler Date: Fri, 7 Jun 2024 10:47:02 +0200 Subject: [PATCH] =?UTF-8?q?Foerderer=5FDefault=20mit=20angepasster=20Strok?= =?UTF-8?q?e=20Farbe=20als=20XML=20f=C3=BCr=20die=20programmatische=20?= =?UTF-8?q?=C3=84nderung=20der=20Farbe=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SSG/shapes/props/Foerderer_Default.txt | 55 ++++++++++ .../SSG/shapes/svg/Foerderer_Default.xml | 11 ++ .../SSG/shapes/svg/Foerderer_Richtig.xml | 2 +- MAIN_SSG.rdx | 103 ++++++++++++++---- 4 files changed, 147 insertions(+), 24 deletions(-) create mode 100644 Editor2DLibrary/SSG/shapes/props/Foerderer_Default.txt create mode 100644 Editor2DLibrary/SSG/shapes/svg/Foerderer_Default.xml diff --git a/Editor2DLibrary/SSG/shapes/props/Foerderer_Default.txt b/Editor2DLibrary/SSG/shapes/props/Foerderer_Default.txt new file mode 100644 index 0000000..21c725e --- /dev/null +++ b/Editor2DLibrary/SSG/shapes/props/Foerderer_Default.txt @@ -0,0 +1,55 @@ +{ + "shapeMode": 0, + "name": "Etagenförderer_Default", + "family": "Foerderer", + "description": "ETF", + "icon": "SSG/shapes/img/Foerderer_32.png", + "iconBig": "SSG/shapes/img/Foerderer_64.png", + "srcSVG": "SSG/shapes/svg/Foerderer_Default.xml", + "text": "^", + "width": 377.9528, + "height": 6047.2441, + "depth": 755.9055, + "behaviour": "(NOSTRETCH)(NOSTRETCHONVIEW)(NOROTATE)(NOROTATEONVIEW)(CONTAINER)(HIDEDIMENSIONS)(HIDEROTATION)(HIDEPIN)(ALWAYSFRONT)(ORIGIN=CENTER)", + "connectionPoints": [ + { + "id": "cp1", + "x": 500.0, + "y": 0.0, + "z": 0.0, + "xMin": "", + "xMax": "", + "xStep": "", + "yMin": "", + "yMax": "", + "yStep": "", + "zMin": "", + "zMax": "", + "zStep": "", + "direction": 0.0, + "linkClass": "Gefaellestrecke", + "label": "H_1", + "isDimension": true + }, + { + "id": "cp2", + "x": 500.0, + "y": 1000.0, + "z": 0.0, + "xMin": "", + "xMax": "", + "xStep": "", + "yMin": "", + "yMax": "", + "yStep": "", + "zMin": "", + "zMax": "", + "zStep": "", + "direction": 180.0, + "linkClass": "Gefaellestrecke", + "label": "H_0", + "isDimension": true + } + ], + "eventClass": "OnInserted,OnDoubleclick,OnPasted,OnLinked" +} \ No newline at end of file diff --git a/Editor2DLibrary/SSG/shapes/svg/Foerderer_Default.xml b/Editor2DLibrary/SSG/shapes/svg/Foerderer_Default.xml new file mode 100644 index 0000000..25f136c --- /dev/null +++ b/Editor2DLibrary/SSG/shapes/svg/Foerderer_Default.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Editor2DLibrary/SSG/shapes/svg/Foerderer_Richtig.xml b/Editor2DLibrary/SSG/shapes/svg/Foerderer_Richtig.xml index ed43a36..065afba 100644 --- a/Editor2DLibrary/SSG/shapes/svg/Foerderer_Richtig.xml +++ b/Editor2DLibrary/SSG/shapes/svg/Foerderer_Richtig.xml @@ -4,7 +4,7 @@ - + diff --git a/MAIN_SSG.rdx b/MAIN_SSG.rdx index a5e4a17..1183c59 100644 --- a/MAIN_SSG.rdx +++ b/MAIN_SSG.rdx @@ -1,6 +1,6 @@  - + @@ -4446,7 +4446,7 @@ KreiselData.AbstandMS+(KreiselData.Durchmesser/2) - + @@ -6976,7 +6976,7 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - + @@ -7918,18 +7918,6 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - - - - - - - @@ -8030,10 +8018,22 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - + + + + + + + + + + + + + @@ -8146,10 +8146,22 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - + + + + + + + + + + + + + @@ -8464,10 +8476,22 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - + + + + + + + + + + + + + @@ -10194,6 +10218,39 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15841,7 +15898,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - 0]]> + -1]]> @@ -15853,7 +15910,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - + @@ -15898,7 +15955,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - 0]]> + -1]]> @@ -15910,7 +15967,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - + @@ -16022,7 +16079,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - +