Aenderung auf allgemein.cfg für alle Subprogramme
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ def new_dxf(json_file, out_path, dxf_file=False):
|
||||
# # Beispiel für Text und Polyline
|
||||
# add_text(msp)
|
||||
dxfattribs={"layer": timestamp}
|
||||
for pl in anlage.kabel:
|
||||
for pl in anlage.kabel:
|
||||
add_polyline(msp, pl, dxfattribs)
|
||||
|
||||
doc.saveas(out_path)
|
||||
|
||||
@@ -605,6 +605,7 @@ class Anlage():
|
||||
ld["coords"]= [{"x":round(p.x,1), "y":round(p.y,1)} for p in pfad_coords]
|
||||
ld["length"]= round(pfad_length,1)
|
||||
#ld["nodes"]=pfad_nodes
|
||||
|
||||
ld['tunnel_indices'] = list()
|
||||
for i, p in enumerate(pfad_coords):
|
||||
if self.coord_is_in_tunnel(p):
|
||||
|
||||
Reference in New Issue
Block a user