Name der Gefälle Kurve Festgelegt

This commit is contained in:
2025-12-16 07:54:47 +01:00
parent 73206fda5f
commit c3887e2269
+4 -4
View File
@@ -1133,10 +1133,10 @@ def handle_ils_2_0_kurve(msp, teileid, merkmale, x, y, doc, lib_doc, verbose, sy
h1 = float(merkmale.get("Höhe Ende")) * 1000
hz = (h0 + h1)/2
kurvenrichtung = merkmale.get("Kurvenrichtung")
kurvenwinkel = merkmale.get("Kurvenwinkel")
blockname = (f"")
import_block("AN8",lib_doc,doc)
msp.add_blockref("AN8",(x,y,hz),dxfattribs={"rotation": rotation})
kurvenwinkel =int(merkmale.get("Kurvenwinkel"))
blockname = (f"Kurve_{kurvenrichtung}_{kurvenwinkel}°_R500_Gefälle")
import_block(blockname,lib_doc,doc)
msp.add_blockref(blockname,(x,y,hz),dxfattribs={"rotation": rotation})
def handle_bt___beladung(msp, teileid, merkmale, x, y, doc, lib_doc, verbose, symbols, strecken_nachbarn,config,config_allgemein):
"""Erstellt ein BT Element in der neuen Dxf"""