Hello , guys I am positive this is a bug.
OS: Ubuntu Eoan Ermine (development branch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.3.
Build type: Release
Python version: 3.7.4
Qt version: 5.12.4
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
This is a simple sample file.
The item "Cube" has a formula on Position Y, equals of "Cube.Width / -2" which actually centers the cube to the origin at the Y axis.
So far so good.
But now if I create a new Part/Cube, which gets the name "Cube00x", the formula above that exists on the Cube.Position.Y, changes from "Cube.Width / -2" to "Cube00x.Width / -2" !!!
So if you open the file above, highlight the Cube, to see the Position property formula, and you create a new cube the formula changes.
Thank you! My apologies I didn't research if someone posted this before.
bug report, formula changes on its own
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: bug report, formula changes on its own
I downloaded the file to double check it, and everything looks normal. I do not know what happend. My original file keeps doing this change in the formula
Re: bug report, formula changes on its own
I had something similar in the past with clones changing link to another geometry but i am not sure If i succeeded to properly track it down and if it was resolved.
Re: bug report, formula changes on its own
This is reported as issue #4015
Re: bug report, formula changes on its own
you are right. Sorry I wasted your time. Take care guys!
Re: bug report, formula changes on its own
It is not a waste. If you check that bugs comment thread it has nothing similar to what you encounter so not easy to link to your observations or find it in the forum. Extra view point in always welcome
Re: bug report, formula changes on its own
I second kisolre. I just posted the link to the existing issue to prevent a duplicate.
Nothing bad in discussing here what you observe.
Nothing bad in discussing here what you observe.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: bug report, formula changes on its own
Instead of referring to "Cube" in the expression use its internal name "Box".
I think these were (probably) originally referred to as Box, but then it was changed to Cube at some later time. Cube is the label, but Box is the internal name. Perhaps it was decided not to change the internal name so not to break existing models / code.
I think these were (probably) originally referred to as Box, but then it was changed to Cube at some later time. Cube is the label, but Box is the internal name. Perhaps it was decided not to change the internal name so not to break existing models / code.