Skip to content

Commit

Permalink
Arch: division including a float to obtain correct result
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Dec 26, 2019
1 parent 4a736b7 commit aef11c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchFence.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def buildSection():

for i in range(8):
parts.append(Part.makeBox(20, 20, 1000 - 60,
FreeCAD.Vector((2000 / 9 * (i + 1)) - 10, 15, 30)))
FreeCAD.Vector((2000.0 / 9 * (i + 1)) - 10, 15, 30)))

Part.show(Part.makeCompound(parts), "Section")

Expand Down

0 comments on commit aef11c1

Please sign in to comment.