tro_annotate --read-tros: TRO-Handkorrekturen aus BricsCAD, Staubereiche vor dem TRO

- Marker tragen KEY (ID der ID-Datei) und SLOTS (Bauteil je Slot), die
  Zeichnung die Bauteiltabelle SPS_SKEL_PARTS (XRECORD) fuer "Im Plan
  waehlen" im Dialog TRO_EDIT (dxfmakros)
- --read-tros schreibt geaenderte, neue und geloeschte Marker als
  Abschnitte edit/edit_add nach cfg/tro_overrides.ini; tro_flow.apply_edits
  wendet nur diese Arten an (Bauteile mit Lage, exportfest)
- --emit-lisp schreibt dazu *TRO-SLOTS* und *TRO-SLOT-KINDS*
- model: Lagerlinien zaehlen je TRO (Katalog nur Vorgabe), Mubea-Speicher
  jetzt 20 Linien (Golden-Datei)
- Staubereich als stehendes graues Rechteck direkt vor seinem TRO-Marker
  (jam_abstand statt jam_versatz); Marker 150 mm, Text 120 mm

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 14:35:04 +01:00
parent 9ec1022fb1
commit 6c8c235287
12 changed files with 1441 additions and 125 deletions
+25 -1
View File
@@ -1,4 +1,28 @@
;; Automatisch erzeugt von lib/tro_annotate.py --emit-lisp
;; Quelle: TRO_CATALOG in lib/tro_catalog.py - nicht manuell aendern.
;; Quelle: TRO_CATALOG in lib/tro_catalog.py, Slots aus lib/model.py
;; (slot_names, SLOT_PART_KINDS) - nicht manuell aendern.
(setq *TRO-TYPES* (list "1Sep" "1Sep1Swi" "1Sep2Swi" "1Sep_SSCC" "Vario" "PinStore_Auto" "Vario_workStation" "EmptyCarrBuffer" "LoadingBoom" "2Sep1Swi" "2Sep2Swi" "3Sep2Swi"))
;; (Typ Lagerlinien-Vorgabe Slot ...) - Lagerlinien heissen line1..lineN
(setq *TRO-SLOTS* '(
("1Sep" 0 "separator1")
("1Sep1Swi" 0 "separator1" "switch1")
("1Sep2Swi" 0 "separator1" "switch1" "switch2" "scanner1")
("1Sep_SSCC" 0 "separator1" "scanner1")
("Vario" 0 "separator1" "drive")
("PinStore_Auto" 19 "separator1" "scanner1")
("Vario_workStation" 0 "separator1" "scanner1" "drive")
("EmptyCarrBuffer" 5)
("LoadingBoom" 0)
("2Sep1Swi" 0 "separator1" "separator2" "switch1" "scanner1" "scanner2")
("2Sep2Swi" 0 "separator1" "separator2" "switch1" "switch2" "scanner1" "scanner2")
("3Sep2Swi" 0 "separator1" "separator2" "separator3" "switch1" "switch2" "scanner1" "scanner2" "scanner3")
))
;; (Slot-Art Bauteilart ...) - Pruefung beim Waehlen im Plan
(setq *TRO-SLOT-KINDS* '(
("separator" "Separator")
("line" "Separator")
("switch" "Ausschleus" "Weiche")
("scanner" "Scanner")
("drive" "Strecke" "Gefaellestrecke" "Kreisel")
))
(princ)