export: Separator-Typ VF/GF aus der Ketten-Einheit statt Bau-XDATA
Der Typ (Merkmal "Typ") jeder Separator-Zeile kommt jetzt an EINER Stelle aus der Einheiten-Schneidung csv:kette-einheiten (neu: csv:kette-sep-typen, eingetragen in csv:ketten-verarbeiten) - dieselbe Quelle wie die Einheiten-Boundingbox. VF = Separator direkt vor der Umlenkstation bzw. zwischen Umlenk- und Motorstation, sonst GF. Die bauzeitige XDATA SSG_SEP_TYP (ssg-sep-typ-xdata-schreiben/-lesen, 15 Einfuegestellen) entfaellt. Sie war teils falsch: der Separator vor dem ES hinter einer Motorstation bekam "VF", und ein sep_nach-Separator einer GF, den die folgende VF-Einheit als Einlauf nutzt, blieb "GF" (HundM05: Sep1/5/7/9/11 und Sep2). Unit-Tests csv:kette-sep-typen in tests/test_unit.lsp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
96ca43eff5
commit
e67f7cc1aa
@@ -665,7 +665,6 @@
|
||||
(setq endpunkt
|
||||
(gf-insert-hz-with-ks
|
||||
"Staustrecke_Separator_SP_300_mm" (car aktuell-frame) hz grade 300 0))
|
||||
(ssg-sep-typ-xdata-schreiben (entlast) "GF")
|
||||
(setq aktuell-frame (make-frame-from-dir endpunkt xu-incl))
|
||||
)
|
||||
)
|
||||
@@ -997,7 +996,6 @@
|
||||
(setq sep-endpunkt
|
||||
(gf-insert-hz-with-ks "Staustrecke_Separator_SP_300_mm"
|
||||
(car aktuell-frame) exit-hz grade 300 0))
|
||||
(ssg-sep-typ-xdata-schreiben (entlast) "GF")
|
||||
;; Ausgangsrahmen nach Separator fuer ES-Element
|
||||
(setq rad-h-es (* (float exit-hz) (/ pi 180.0)))
|
||||
(setq rad-v-es (* (float grade) (/ pi 180.0)))
|
||||
@@ -1379,7 +1377,6 @@
|
||||
(setq sep-endpunkt
|
||||
(gf-insert-hz-with-ks
|
||||
"Staustrecke_Separator_SP_300_mm" (car aktuell-frame) hz winkel 300 0))
|
||||
(ssg-sep-typ-xdata-schreiben (entlast) "GF")
|
||||
(setq sep-frame (make-frame-from-dir sep-endpunkt xu-incl))
|
||||
|
||||
;; 4/4: EIN-Element (KS-zu-KS)
|
||||
|
||||
Reference in New Issue
Block a user