attradd.py und add_attr.bat in set_attributs.py/.bat umbenannt
lib/attradd.py -> lib/set_attributs.py: Name besser passend zum Skript-Zweck (setzt Attribute, analog set_einfuegepkt / set_koords). bin/add_attr.bat -> bin/set_attributs.bat entsprechend angepasst. cfg/attradd.cfg: Kommentar auf neuen Skriptnamen aktualisiert. HOEHE/DREHUNG-Eintraege aus [bogen] und [weiche] entfernt, da diese Attribute jetzt dynamisch via ssg-cfg-or aus component_defaults.json bezogen werden (nicht mehr als statische ATTDEF-Defaults noetig). Ebenso RADIUS aus [weiche] entfernt (war redundant zu KurvenWinkel). doc/tools.md und CLAUDE.md: Alle Verweise auf attradd.py auf set_attributs.py aktualisiert. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-6
@@ -19,7 +19,7 @@
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Layer-Zuordnung nach Elementkategorie
|
||||
# attradd.py bestimmt die Kategorie anhand KurvenWinkel und
|
||||
# set_attributs.py bestimmt die Kategorie anhand KurvenWinkel und
|
||||
# WeichenTyp aus den JSON-Daten und setzt LAYER entsprechend.
|
||||
# ------------------------------------------------------------
|
||||
[layer]
|
||||
@@ -45,8 +45,7 @@ TEILEART = "Omniflo Kurve"
|
||||
RADIUS = Radius
|
||||
WINKEL = KurvenWinkel
|
||||
SIVASNR_TEF = SivasnrTEF
|
||||
HOEHE = "2000"
|
||||
DREHUNG = "0"
|
||||
|
||||
|
||||
[weiche]
|
||||
BESCHR = ProfilTyp
|
||||
@@ -56,8 +55,6 @@ TEILEART = "Omniflo Weiche"
|
||||
# LAYER = "A-OF-Weiche"
|
||||
WEICHENTYP = WeichenTyp
|
||||
WINKEL = KurvenWinkel
|
||||
RADIUS = Breite
|
||||
RICHTUNG = KurvenRichtung
|
||||
SIVASNR_TEF = SivasnrTEF
|
||||
HOEHE = "2000"
|
||||
DREHUNG = "0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user