Update test dxf, refactorn von direkt am Kreisel bei Vario Förderer
This commit is contained in:
@@ -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
|
||||
@@ -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)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user