Assembly4 model gets corrupted when changing a parameter

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Anno Me Nuehm
Posts: 17
Joined: Tue Oct 20, 2020 8:50 am

Assembly4 model gets corrupted when changing a parameter

Post by Anno Me Nuehm »

Hi,

I'm working on a woodworking furniture project, and I've split up my model into several parts, one of them being a spreadsheet containing all the relevant dimensions and other information, another one being some kind of a channel.

When trying to re-use the channel assembly4 in another project, amending the relevant parameter in the parameter file, the channel model gets all corrupted, the various LCS getting changed in order and location, resulting in the parts getting placed wrongly (location, and angle).

The original model comprises the files parameter.FCstd and vchannel.FCstd, the amended on parameter2.FCstd and vchannel2.FCstd. The difference consisting in changing "CarcassDepth" (Carcass01Depth) from "400" to "500".

The former one being perfectly fine, the latter one having gotten damaged after re-computing the assembly, and opening the master sketch again.

Original assembly
original_assembly.png
original_assembly.png (730.05 KiB) Viewed 950 times
original_assembly.zip
(50.98 KiB) Downloaded 26 times
Amended assembly
amended_ assembly.png
amended_ assembly.png (693.75 KiB) Viewed 950 times
amended_ assembly.zip
(51.18 KiB) Downloaded 28 times
My environment comprises of

Code: Select all

Macmini Apple M1
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.28671 (Git)
Build type: Release
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * CommandPanel
  * fcgear 1.0.0
  * fasteners 0.3.40
  * Autoload
  * Assembly4 0.11.10
Btw. is there any better way of creating such an object than the approach I have taken?
Post Reply