Re-import part in A2plus loads old version of part

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
jehojakim
Posts: 74
Joined: Fri Sep 24, 2021 7:07 pm

Re-import part in A2plus loads old version of part

Post by jehojakim »

Hi,

In A2plus I want to re-import a part, of which the length of the basic pad has been changed. But A2plus keeps importing it with the old length. Whether I use the Import button, or delete the part and import it again, the result is the same: the part is imported with the old length.

Shutting down and re-opening the A2plus session, or Freecad altogether, doesn't help too.

When I open the part with Part Design, the correct, new length is shown.

What goes wrong here?

Version info on Freecad:

OS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.20.26306 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6701788)
Hash: 670178869ecdca52f7dcd332c513cb0c82b25cce
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: Dutch/Netherlands (nl_NL)

Version of A2plus is 0.4.54b

best regards, jehojakim
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Re-import part in A2plus loads old version of part

Post by kisolre »

Could you provide the files in question?
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Re-import part in A2plus loads old version of part

Post by chrisb »

Moved to Assembly forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jehojakim
Posts: 74
Joined: Fri Sep 24, 2021 7:07 pm

Re: Re-import part in A2plus loads old version of part

Post by jehojakim »

Hi,

Hereby the requested files.
I added the spreadsheet, because it contains the measures of the part to be imported (not of the assembly).

In he meanwhile I noticed that, when I unzip the MiddenbalkFCStd file (containing the definition of the part to be imported in the assembly), in various PartShape<X>.brp files there are occurrences of the old measure (being 655 mm), and also some (but less) to the new value (785 mm). So maybe that's confusing A2plus?

But I know nothing about the syntax of the .brp-file format, so I may be completely wrong here.

regards, jehojakim
Attachments
Tafel-CNC-rekenblad.FCStd
Spreadsheet containing measures
(3.12 KiB) Downloaded 22 times
Tafel-CNC-assembly.FCStd
The assembly in A2plus
(52.94 KiB) Downloaded 25 times
Middenbalk.FCStd
The part to be imported
(27.15 KiB) Downloaded 28 times
Post Reply