Name der Gefälle Kurve Festgelegt
This commit is contained in:
+4
-4
@@ -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
|
h1 = float(merkmale.get("Höhe Ende")) * 1000
|
||||||
hz = (h0 + h1)/2
|
hz = (h0 + h1)/2
|
||||||
kurvenrichtung = merkmale.get("Kurvenrichtung")
|
kurvenrichtung = merkmale.get("Kurvenrichtung")
|
||||||
kurvenwinkel = merkmale.get("Kurvenwinkel")
|
kurvenwinkel =int(merkmale.get("Kurvenwinkel"))
|
||||||
blockname = (f"")
|
blockname = (f"Kurve_{kurvenrichtung}_{kurvenwinkel}°_R500_Gefälle")
|
||||||
import_block("AN8",lib_doc,doc)
|
import_block(blockname,lib_doc,doc)
|
||||||
msp.add_blockref("AN8",(x,y,hz),dxfattribs={"rotation": rotation})
|
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):
|
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"""
|
"""Erstellt ein BT Element in der neuen Dxf"""
|
||||||
|
|||||||
Reference in New Issue
Block a user