Update test dxf, refactorn von direkt am Kreisel bei Vario Förderer

This commit is contained in:
2026-01-20 08:52:34 +01:00
parent 202334570e
commit edfb75778e
11 changed files with 442731 additions and 385150 deletions
+12
View File
@@ -0,0 +1,12 @@
## Wichtige Ezdxf Methoden
1. block.add_blockref(blockname,(kordinaten)dxfattribute={"rotation": rotation,"layer": layer})
- Fügt inserts in ein block hinzu
2. msp.add_blockref(blockname,(kordinaten)dxfattribute={"rotation": rotation,"layer": layer})
- Fügt insert ins Modelspace hinzu
3. doc.blocks.new(blockname, base_point=(0,0,0))
- Fügt einen neune Block ins Document hinzu(gleichen Block kann man nur einmal machen if abrage wär if blockname in doc.blocks)
4. msp.query("DXFOBJEKT)
- Holle jedes spezifische dxfobjekt von dem Modelspace, wird meistens für Inserts verwendet
## Plant2dxf handle Gefällestrecke
## Main line
+1
View File
@@ -129,6 +129,7 @@ rot_symb2 = 0.0
- Python 3.x
- [ezdxf](https://ezdxf.mozman.at/) (DXF-Bibliothek)
- Standardbibliotheken: os, sys, csv, json, re, argparse, configparser, math, pathlib
- [pydantic](https://docs.pydantic.dev/latest/)(Klassenerstellung)
---