From 90739381982d4d8afd0c718ee42916f52c1edf60 Mon Sep 17 00:00:00 2001 From: Simon Schmutzler Date: Mon, 17 Jun 2024 14:40:43 +0200 Subject: [PATCH 1/3] =?UTF-8?q?Fix=20der=20SetHeight=20Funktion,=20die=20n?= =?UTF-8?q?un=20=C3=BCber=20den=20Index=20der=20ShapeListe=20auf=20das=20S?= =?UTF-8?q?hapeItem=20zugreift?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MAIN_SSG.rdx | 112 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 107 insertions(+), 5 deletions(-) diff --git a/MAIN_SSG.rdx b/MAIN_SSG.rdx index 5ed82d4..fb746d9 100644 --- a/MAIN_SSG.rdx +++ b/MAIN_SSG.rdx @@ -1,6 +1,6 @@  - + @@ -1019,6 +1019,9 @@ + + + @@ -9276,6 +9279,79 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15859,11 +15935,11 @@ ShapeList["id="+Param.Input[1].shapeID].name - + - + @@ -16252,7 +16328,9 @@ ShapeList["id="+Param.Input[1].shapeID].name + + @@ -16261,12 +16339,36 @@ ShapeList["id="+Param.Input[1].shapeID].name + + + + + + + + + + + + + + + + + + + + + + + + - + - + From 0d8bd94f124f15d82a0de0800240a6932e62e917 Mon Sep 17 00:00:00 2001 From: Simon Schmutzler Date: Mon, 17 Jun 2024 15:19:43 +0200 Subject: [PATCH 2/3] Reduzierung des Codes indem nicht verwendete globale Variablen entfernt oder lokal initialisiert werden --- MAIN_SSG.rdx | 1210 +------------------------------------------------- 1 file changed, 24 insertions(+), 1186 deletions(-) diff --git a/MAIN_SSG.rdx b/MAIN_SSG.rdx index fb746d9..dce15ff 100644 --- a/MAIN_SSG.rdx +++ b/MAIN_SSG.rdx @@ -1,6 +1,6 @@  - + @@ -839,7 +839,7 @@ - + @@ -847,13 +847,6 @@ - - - - - - - @@ -863,14 +856,8 @@ - - - - - - @@ -1000,25 +987,11 @@ - - - - - - - - - - - - - - @@ -5269,6 +5242,8 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) + + @@ -5289,12 +5264,6 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - @@ -5391,12 +5360,6 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - @@ -5459,12 +5422,6 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - @@ -7988,112 +7945,9 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -8107,1029 +7961,6 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Shape_Prototype.GefaelleDefinition.HoeheOben]]> - - - Shape_Prototype.GefaelleDefinition.HoeheOben]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Shape_Prototype.GefaelleDefinition.HoeheUnten]]> - - - Shape_Prototype.GefaelleDefinition.HoeheUnten]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -9199,9 +8030,6 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - - - @@ -9275,10 +8103,6 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - - - - @@ -9352,10 +8176,6 @@ Contains(IndirectConnKreiselList, Link) AND Shape_Prototype.family = "Gefaellest - - - - @@ -12804,6 +11624,15 @@ ShapeTotalLength me.x ))-(Shape_Prototype.KreiselDefinition.Durchmesser/2)]]> + + + + + + + + + @@ -12821,6 +11650,15 @@ ShapeTotalLength me.x ))-(Shape_Prototype.KreiselDefinition.Durchmesser/2)]]> + + + + + + + + + From ebb482d4e93d52248bcc6882fdeae4485b85a661 Mon Sep 17 00:00:00 2001 From: Simon Schmutzler Date: Tue, 18 Jun 2024 09:16:17 +0200 Subject: [PATCH 3/3] Weitere globale nicht verwendete Variablen entfernt --- MAIN_SSG.rdx | 280 +++++++++++++++++++++++---------------------------- 1 file changed, 126 insertions(+), 154 deletions(-) diff --git a/MAIN_SSG.rdx b/MAIN_SSG.rdx index dce15ff..c920281 100644 --- a/MAIN_SSG.rdx +++ b/MAIN_SSG.rdx @@ -1,6 +1,6 @@  - + @@ -620,7 +620,7 @@ - + @@ -655,7 +655,7 @@ - + @@ -983,18 +983,7 @@ - - - - - - - - - - - @@ -5022,7 +5011,7 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - + @@ -5076,7 +5065,7 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) - + @@ -8113,6 +8102,7 @@ ShapeTotalLength-SSGConnectionPoint.x_S-(KreiselData.Durchmesser/2) + @@ -11624,15 +11614,6 @@ ShapeTotalLength me.x ))-(Shape_Prototype.KreiselDefinition.Durchmesser/2)]]> - - - - - - - - - @@ -11650,15 +11631,6 @@ ShapeTotalLength me.x ))-(Shape_Prototype.KreiselDefinition.Durchmesser/2)]]> - - - - - - - - - @@ -14686,125 +14658,6 @@ ShapeList["id="+Param.Input[1].shapeID].name - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -15163,6 +15016,125 @@ ShapeList["id="+Param.Input[1].shapeID].name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17320,7 +17292,7 @@ ShapeList["id="+Param.Input[1].shapeID].name - +