Arch: Misc improvements to curtain wall

- Can be based on an edge like normal wall
- Now has a 'host' property to embed into another object (tree only)
- Mullions have different height and width properties
- Mullions or panels can be disabled
This commit is contained in:
Yorik van Havre
2020-05-19 13:58:46 +02:00
parent 6c020f554d
commit 5aa6c4e1da
3 changed files with 108 additions and 66 deletions

View File

@@ -871,7 +871,7 @@ class _ArchMultiMaterialTaskPanel:
thick = FreeCAD.Units.Quantity(d).Value
else:
thick = FreeCAD.Units.Quantity(d,FreeCAD.Units.Length).Value
th += thick
th += abs(thick)
if not thick:
suffix = " ("+translate("Arch","depends on the object")+")"
val = FreeCAD.Units.Quantity(th,FreeCAD.Units.Length).UserString