by insert line of code to ArchRebar.py
I try to get the length from base wire, But I'm not sure, this way is suitable.
line 170+171 in ArchRebarMo.py
Code: Select all
obj.addProperty("App::PropertyLength", "Length", "BOQ", "The custom Length of each rebar") # chakkree
obj.addProperty("App::PropertyLength", "TotalLength", "BOQ", "The custom Length of all rebars") # chakkree
Code: Select all
obj.Length = wire.Length # chakkree
Code: Select all
obj.TotalLength = wire.Length*obj.Amount # chakkree
Rebar Addon: Commits on Aug 26, 2017(122 commits)
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12367 (Git)
Build type: Release
Branch: master
Hash: 3b479e00c25e4d3112bc0340b48f35e1e87cde99
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)