The same strange behaviour occurs if the master sketch depends on a variable defined in Variables and you change the value of this variable.
I have created a simple assembly that allows you to see this strange behaviour:
1) Load Assembly4 WB;
2) Open the attached file fasteners_test.FCStd;
3) double click on Sketch_1 to edit the sketch, don't modify anything and press Close to exit the Sketcher --> all ok: fasteners labels are not changed;
4) click on Variables and change the value of the variable angle --> all ok: the master sketch rotates and the labels of the fasteners have not changed;
5) click on Assembly in the tree view and add a new screw with the command "Insert a Screw in the Assembly" (the automatic label will be M6x8-Screw002), attach this new screw to LCS_2 by pressing the "Edit Placement of Part" button;
6) click on Assembly in the tree view and add a new nut with the command "Insert a Nut in the Assembly" (the automatic label will be M6-Nut002), attach this new nut to LCS_2 by pressing the "Edit Placement of Part" button (rotate 180° around the X axis so that it is positioned similarly to the other two nuts); we get this:
7) double click on Sketch_1 to edit the sketch, do not modify anything and press Close to exit the Sketcher --> the fasteners labels are changed: M6x8-Screw001 --> M6x8-Screw003, M6x8-Screw002 --> M6x8-Screw004, M6-Nut001 --> M6-Nut003, M6-Nut002 --> M6-Nut004;
8) click on Variables and change the value of the variable angle --> the master sketch rotates and the labels of the fasteners are changed: M6x8-Screw003 --> M6x8-Screw005, M6x8-Screw004 --> M6x8-Screw006, M6-Nut003 --> M6-Nut005, M6-Nut004 --> M6-Nut006
9) each time you repeat steps 7) and/or 8) the numeric part of labels change.
Thanks for your attention.
Code: Select all
OS: Linux Mint 20.2 (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.28751 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 660655e)
Hash: 660655e54c97b5017ff0ac1e030059308cd4e3f5
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Italian/Italy (it_IT)
Installed mods:
* kicadStepUpMod 10.10.5
* DynamicData 2.32.0
* Manipulator
* Assembly4 0.11.11
* fasteners 0.3.38
P.S. I have verified that the described behaviour also occurs with Assembly4 version v0.11.10