Refactoren und Kommentieren

This commit is contained in:
2026-01-21 16:04:04 +01:00
parent 3e4103c6f8
commit a2fc823341
3 changed files with 27 additions and 31 deletions
+2
View File
@@ -52,6 +52,7 @@ class Omniflo(BaseModel):
h1 = h1
)
def Omniflo_geraden_erstellung(msp, x, y, doc, tefsivas, omniflo_objekt):
"""Erstellung der Tef gerade und Omniflo gerade"""
winkel_rad = math.radians(omniflo_objekt.drehung)
halbe_laenge = omniflo_objekt.laenge / 2
# Man muss bei sin -1 machen wegen des links koordinaten system
@@ -69,6 +70,7 @@ class Omniflo(BaseModel):
else:
linie.dxf.layer = "A-2"
def omniflo_foerdererstellung(msp, x, y, doc, lib_doc, omniflo_objekt, rotation):
""""Erstellung des Kettenförderers aktuell nur grundriss"""
block_methoden.import_block("bogen1",lib_doc,doc)
block_methoden.import_block("bogen2",lib_doc,doc)