utils enthält jetzt generelle Routinen der verschiedenen Programme. create_example refactored. utils wird jetzt entsprechend überall importiert
This commit is contained in:
+74
-19
@@ -163,7 +163,7 @@
|
||||
|
||||
"BGMG": {
|
||||
"description": "Test-Szene mit drei Rechtecken für BG-1@@@ und BG-2@@@ Symbole mit mehreren Layern",
|
||||
"ma_groups": [
|
||||
"bg_groups": [
|
||||
{
|
||||
"name": "BG-1@@_frame1",
|
||||
"count": 1,
|
||||
@@ -248,8 +248,8 @@
|
||||
"renaming_frames": [
|
||||
{
|
||||
"comment": "Rahmen 1: Links unten - 1x BG-1@@@ (Polylinie) - Angepasst für left_bottom_corner",
|
||||
"name": "BG-1@@@",
|
||||
"name2": "MB-1@@@",
|
||||
"name": "BG-1@@",
|
||||
"name2": "MB-1@@",
|
||||
"kennzeichnung": "",
|
||||
"layer_name1": "ILS_Eingang",
|
||||
"layer_name2": "ILS_Ausgang",
|
||||
@@ -293,9 +293,9 @@
|
||||
|
||||
"BGMG-UndefSymbols": {
|
||||
"description": "Test-Szene wie BGMB, aber mit nur 2x BG-1@@ Symbolen, um Undefiniert-Symbole zu testen",
|
||||
"ma_groups": [
|
||||
"bg_groups": [
|
||||
{
|
||||
"name": "BG-1@@_frame1",
|
||||
"name": "BG-1@@@_frame1",
|
||||
"count": 5,
|
||||
"layout_type": "horizontal",
|
||||
"base_x": 1000,
|
||||
@@ -305,10 +305,10 @@
|
||||
],
|
||||
"renaming_frames": [
|
||||
{
|
||||
"comment": "Rahmen: 2x BG-1@@@ (Polylinie) - Angepasst für linke Seite - Akzeptiert alle Layer",
|
||||
"comment": "Rahmen: 2x BG-1@@@ (Polylinie) - Angepasst für linke Seite",
|
||||
"name": "BG-1@@@",
|
||||
"kennzeichnung": "",
|
||||
"layer_name": "",
|
||||
"layer_name1": "ILS_Eingang",
|
||||
"direction": "LEFT_RIGHT",
|
||||
"x": 800,
|
||||
"y": 800,
|
||||
@@ -317,12 +317,12 @@
|
||||
"use_polyline": true
|
||||
},
|
||||
{
|
||||
"comment": "Rahmen: 2x BG-1@@@ (Polylinie) - Angepasst für rechte Seite - Akzeptiert alle Layer",
|
||||
"comment": "Rahmen: 2x BG-1@@@ (Polylinie) - Angepasst für rechte Seite",
|
||||
"name": "BG-1@@@",
|
||||
"kennzeichnung": "",
|
||||
"layer_name": "",
|
||||
"layer_name1": "ILS_Eingang",
|
||||
"direction": "LEFT_RIGHT",
|
||||
"x": 5000,
|
||||
"x": 6000,
|
||||
"y": 800,
|
||||
"width": 3210,
|
||||
"height": 600,
|
||||
@@ -338,7 +338,9 @@
|
||||
"layer": "ILS_MOTOR",
|
||||
"attributes": {
|
||||
"SPS": "1",
|
||||
"VERW": "Motor",
|
||||
"IO": "MA0000",
|
||||
"VERW": "ILSMotor",
|
||||
"BEZEICHNUNG": "Motor MA0000",
|
||||
"ARTIKELNR": "790902001",
|
||||
"ARTIKELBEZEICHN": "E-Teile für SEW Motor ASE1-HAN10ES-BG",
|
||||
"KENNZEICHNUNG": "=A01+UH00",
|
||||
@@ -348,7 +350,8 @@
|
||||
"TEXT-ES": "",
|
||||
"TEXT-F": "",
|
||||
"TEXT-I": "",
|
||||
"ID": ""
|
||||
"ID": "",
|
||||
"REALE_POSITION": "x"
|
||||
},
|
||||
"dimensions": {
|
||||
"_comment": "Symbol-Dimensionen für Layout-Berechnung. Feste Werte basierend auf IO-Feld Analyse (6 Zeichen MA-1@@: 1210 × 381)",
|
||||
@@ -357,18 +360,70 @@
|
||||
}
|
||||
},
|
||||
"pot_defaults": {
|
||||
"_description": "Standard-Werte für POT-Symbole",
|
||||
"block_name": "Erdungspunkt",
|
||||
"layer": "POT-Erdung",
|
||||
"_description": "Standard-Werte für POT-Symbole. Basiert auf Analyse von ILS_POT-Erdung aus Nummerierung_IO.dxf",
|
||||
"block_name": "ILS_POT-Erdung",
|
||||
"layer": "ILS_POT-Erdung",
|
||||
"attributes": {
|
||||
"REALE_POSITION": "x",
|
||||
"KENNZEICHNUNG": "=A01+UH00-X01",
|
||||
"NAME": "POT-FS-01-02"
|
||||
"NAME": "POT-1@@@"
|
||||
},
|
||||
"dimensions": {
|
||||
"_comment": "Symbol-Dimensionen für Layout-Berechnung.",
|
||||
"width": 1210,
|
||||
"height": 300
|
||||
"_comment": "Symbol-Dimensionen für POT-Erdung. Basiert auf Block-Analyse: 816 × 618",
|
||||
"width": 820,
|
||||
"height": 620
|
||||
}
|
||||
},
|
||||
"bg_defaults": {
|
||||
"_description": "Standard-Werte für BG/MB-Symbole (Eingänge/Ausgänge). Basiert auf Analyse von BG3240 aus easy.dxf",
|
||||
"block_name": "io",
|
||||
"layer": "ILS_Eingang",
|
||||
"attributes": {
|
||||
"SPS": "1",
|
||||
"IO": "BG0000",
|
||||
"VERW": "Sensor",
|
||||
"BEZEICHNUNG": "",
|
||||
"ARTIKELNR": "",
|
||||
"ARTIKELBEZEICHN": "",
|
||||
"KENNZEICHNUNG": "=A01+UC0101",
|
||||
"TEXT-D": "",
|
||||
"TEXT-E": "",
|
||||
"TEXT-ES": "",
|
||||
"TEXT-F": "",
|
||||
"TEXT-I": "",
|
||||
"ID": "",
|
||||
"REALE_POSITION": "x"
|
||||
},
|
||||
"dimensions": {
|
||||
"_comment": "Symbol-Dimensionen für BG/MB-Symbole. 7 Zeichen (BG-1@@@): 1410 × 381",
|
||||
"width": 1410,
|
||||
"height": 381
|
||||
}
|
||||
},
|
||||
"mb_defaults": {
|
||||
"_description": "Standard-Werte für MB-Symbole (Ausgänge). Verwendet dieselbe Struktur wie BG, nur anderer Layer",
|
||||
"block_name": "io",
|
||||
"layer": "ILS_Ausgang",
|
||||
"attributes": {
|
||||
"SPS": "1",
|
||||
"IO": "MB0000",
|
||||
"VERW": "Aktor",
|
||||
"BEZEICHNUNG": "",
|
||||
"ARTIKELNR": "",
|
||||
"ARTIKELBEZEICHN": "",
|
||||
"KENNZEICHNUNG": "=A01+UC0101",
|
||||
"TEXT-D": "",
|
||||
"TEXT-E": "",
|
||||
"TEXT-ES": "",
|
||||
"TEXT-F": "",
|
||||
"TEXT-I": "",
|
||||
"ID": "",
|
||||
"REALE_POSITION": "x"
|
||||
},
|
||||
"dimensions": {
|
||||
"_comment": "Symbol-Dimensionen für MB-Symbole. 7 Zeichen (MB-1@@@): 1410 × 381",
|
||||
"width": 1410,
|
||||
"height": 381
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
|
||||
Reference in New Issue
Block a user