This commit is contained in:
2026-02-15 20:23:52 +01:00
parent 4476afc1a2
commit 111df89033
10 changed files with 552 additions and 75 deletions

View File

@@ -971,7 +971,8 @@ class _PVPlantExportDXF(QtGui.QWidget):
if FreeCAD.ActiveDocument.Transport:
for road in FreeCAD.ActiveDocument.Transport.Group:
base = exporter.createPolyline(road, "CIVIL External Roads")
base.dxf.const_width = road.Width
if hasattr(road, 'Width'):
base.dxf.const_width = road.Width
axis = exporter.createPolyline(road, "CIVIL External Roads Axis")
axis.dxf.const_width = .2