can axis system calculate like constraints or is it a bug?

A forum dedicated to the Draft, Arch and BIM workbenches development.
Max452
Posts: 17
Joined: Fri Mar 23, 2018 9:09 pm

can axis system calculate like constraints or is it a bug?

Postby Max452 » Fri Sep 14, 2018 3:41 pm

Hello all,

i don't know if the arch axis have the same math engine.
When i insert 3740+95-1400 in the axis width i got

Code: Select all

Traceback (most recent call last):
  File "/usr/local/Mod/Arch/ArchAxis.py", line 741, in edit
    self.resetObject()
  File "/usr/local/Mod/Arch/ArchAxis.py", line 754, in resetObject
    d.append(float(it.text(1)))
ValueError: invalid literal for float(): 3740+95-1400
This function is very useful and you do not need a extra calculator.

Thanks for help.

OS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14719 (Git)
Build type: Unknown
Branch: master
Hash: 02eb4a6fa38731e443861fd9ffe78dabf5f631b8
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Locale: German/Germany (de_DE)