Liste der Schalter in der Anwenderdoku aktualisiert. Ein paar wurden entfernt, da nicht mehr benötigt

This commit is contained in:
2025-12-02 12:42:28 +01:00
parent c7af3b34ba
commit a869b52406
+6 -4
View File
@@ -505,7 +505,7 @@ Nachfolgend sind Infomationen zu den Einzelprogrammen aufgeführt. Diese enthalt
Hier die vorhandenen Schalter des Programms:
```text
usage: getpositions [-h] -f myfile.dxf [-s] [-r] [-w WRITE] [-c]
usage: getpositions [-h] -f myfile.dxf [-s] [-r] [-w WRITE] [-c] [-e ERRORS] [-n]
fetches the x/y positions from a dxf file
```
@@ -520,6 +520,8 @@ Schalter:
| `-r` | `--rack` | | fetch all positions of all cable racks |
| `-w` | `--write` | `myfile_positions.json` | write results into a json file |
| `-c` | `--console` | | print results to output |
| `-e` | `--errors` | `myfile_errors.json` | write an error file in case of double defined items in layout|
| `-n` | `--scan` | | print all layer of racks, distributors and equipment not empty|
Das erste Programm im Ablauf bestimmt maßgeblich die Ausgaben der weiteren Programme und ist weiterhin maßgeblich von der Eingabedatei (.dxf-Datei der Anlage) abhängig.
@@ -679,7 +681,7 @@ Als weitere Ausgabedatei kann in der Konfigurationsdatei `routing.cfg` die Ausga
Hier die vorhandenen Schalter des Programms:
```text
usage: drawdxf [-h] -f myfile_todraw.json [-d myfile.dxf] [-n NEW] [-c myfile_reduced.dxf] [-x myfile_cables.xlsx] [-o myfile.dxf]
usage: drawdxf [-h] -f myfile_todraw.json [-d myfile.dxf] [-n NEW] [-x myfile_cables.xlsx] [-o myfile.dxf] [-l]
draws a dxf file with the given cable coordinates
@@ -691,10 +693,10 @@ Schalter:
|--------------------|--------------------|---------------------------|----------------------------------------------------------------------------------------------------------|
| `-f` | `--filename` | `myfile_todraw.json` | this json file contains all cables and its coordinates which should be drawn. Saved with a unique timestamp |
| `-d` | `--dxf` | `myfile.dxf` | this dxf drawing will be copied and the new layer with the cables will be added. Requires `--origin` |
| `-c` | `--copy_layer` | `myfile_reduced.dxf` | copy layers of racks, sensors, distributors into a new .dxf-file. Also contains cable paths. Requires `--origin` |
| `-n` | `--new` | `myfile_cables.dxf` | create a new dxf file only with cables in it. Name is basename and a timestamp |
| `-x` | `--excel` | `myfile_cables.xlsx` | create a xlsx file with cables data |
| `-o` | `--origin` | `myfile.dxf` | name of original .dxf file used by `--dxf` and `--copy_layer` |
| `-o` | `--origin` | `myfile.dxf` | name of original .dxf file used by `--dxf` |
| `-l` | `--local` | | using only local data for naming of article numbers. If not set: fetching names from SIVAS |
Das letzte Einzelprogramm, welches in der Routine aufgerufen wird, dient der Erstellung einer eigenen .dxf-Datei, welche die Kabelwege dastellt. Diese .dxf Datei trägt stets den Namen der Eingabedatei mit der Ergänzung `..._cables.dxf`. Die Datei kann als neue Layer in das bestehende Anlagen-Layout importiert werden, um die Kabelwege zu verifizieren. Die sich aus dem behandelten Beispiel ergebende Datei ist nachfolgend alleine sowie importiert in das Layout dargestellt: