FreeCAD 0.19-19510
Assembly 4 0.7.12, 2020-01-25.
Issue 1 - Variable Name input errors with non-trimmed var name
With the 2/13 version I started tutorial 2 and was getting the following error in the report view.
Code: Select all
Traceback (most recent call last):
File "C:\Users\eastone\AppData\Roaming\FreeCAD\Mod\Assembly4\VariablesLib.py", line 142, in onOK
setattr( self.Variables, varName, varValue )
AttributeError: 'FeaturePython' object has no attribute 'R_disk '
It took me a moment to notice the extra space. The input dialog should probably trim this OR not fail because of untrimmed space (although, I'd argue that space around a name is generally not intended).
Issue #2 - Add variable should block when new variable name is already used instead of generating a new variable with incremented index.
Issue #3 - Cannot rename or delete variables.
It seems that each time it trued to save the new variable before discovering the trim issue, it created a new variable, appending an incremented index to each one. Now I have variables named R_disk_, R_disk_1, and R_disk_2.
BTW, do you prefer issue reported here or on github?
Assembly 4 Version: 0.8.0, 2020-02-13
FreeCAD About:
Code: Select all
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19510 (Git)
Build type: Release
Branch: master
Hash: c3eb6d9001c4d60ff7f7cae89f50bd3c965a9940
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)