Paar namens änderung rotation ausgegleicht falls nur as es element da ist man die rotation von dieser passt
This commit is contained in:
@@ -1,12 +1,25 @@
|
||||
## 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. 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
|
||||
|
||||
1.Definiere Attribute und entnehme die Attribute von den Nachbarn falls nötig.
|
||||
2.Abarbeitung fall nur mit einem Kreisel verbunden.
|
||||
3. Korektur der rotation und austausch der Höhe falls nötig, wird gemact für die Konsistenz der Erstellung
|
||||
|
||||
## Main line
|
||||
|
||||
Reference in New Issue
Block a user