In the example file I have two cones. Cone001 has expression cos(90 * Variables.Index) on .Placement.Rotation.Axis.X and sin(90 * Variables.Index) on .Placement.Rotation.Axis.Y. Cone002 has expression create(<<vector>>; cos(90 * Variables.Index); sin(90 * Variables.Index); 0) on .Placement.Rotation.Axis. The two cones should be placed at the same position when changing Variables.Index but on some Indexes Cone001 is placed wrong. The result of each expression seems ok but the Placement property is not updated correctly. I'm not able at the moment to try this in the development build. It may be related to Issues #7589, #7489, #7390 but they are all in Scetcher
If I edit the expression it sometimes updates correctly but if I change Variables.Index to 4 and then back to 5 the error is back
Code: Select all
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods:
* kugghjul.py
* fcgear 1.0.0
* __pycache__
* sheetmetal 0.2.53
* Curves 0.5.6
* Assembly4 0.12.4