Merge pull request #28020 from Roy-043/BIM-remove-switch-to-beam-creation-based-on-dimensions

BIM: remove switch to profile beam creation based on dimensions
This commit is contained in:
Yorik van Havre
2026-03-09 16:52:18 +00:00
committed by GitHub
+1 -3
View File
@@ -463,9 +463,7 @@ class _CommandStructure:
else:
# metal profile
FreeCADGui.doCommand("p = Arch.makeProfile(" + str(self.Profile) + ")")
if (
abs(self.Length - self.Profile[4]) >= 0.1
) or self.bmode: # forgive rounding errors
if self.bmode:
# horizontal
FreeCADGui.doCommand(
"s = Arch.makeStructure(p,length=" + str(self.Length) + ")"