Problem with linear assemble of identical bodies

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Problem with linear assemble of identical bodies

Post by Vagulus »

I have had a play with a totally different part and that worked just fine! :D
It seems likely that the bogus property is the cause of the problem but I don't know what it is, how I came to set it or how to unset it. I am reluctant to start re-creating the body unless I know all those things - I'd most likely just do it again! :oops:

I'll really appreciate your help here.
"It is much harder to simplify than to complicate."
Joseph Kimble
User avatar
jonasb
Posts: 162
Joined: Tue Dec 22, 2020 7:57 pm

Re: Problem with linear assemble of identical bodies

Post by jonasb »

Zolko wrote: Mon Jan 17, 2022 9:20 am ... the Body you're using has the AttacherExtension property set (MapMode) which introduces its own AttachmentOffset which interfers with Asm4's AttachmentOffset (this was the bug introduced in 0.11.5).

How did you get that property set ? The other Bodies in the file don't have it.
Just use Part's Edit Attachment. (No idea how get rid of it again, though)

Maybe somewhat related is this thread: PartDesign, why is there no Attachment Offset in the Body?.
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Problem with linear assemble of identical bodies

Post by Vagulus »

jonasb wrote: Mon Jan 17, 2022 7:50 pm Just use Part's Edit Attachment. (No idea how get rid of it again, though)
Hmmm! :roll: Some study to do.
Thanks
"It is much harder to simplify than to complicate."
Joseph Kimble
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Problem with linear assemble of identical bodies

Post by Vagulus »

Zolko wrote: Mon Jan 17, 2022 9:20 am ... the Body you're using has the AttacherExtension property set (MapMode)
You have me totally confused!

(1) Your image clearly shows Property View --> Attachment --> Map Mode as 'Deactivated'. How then can it be set?

(2) My FC version
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/New Zealand (en_NZ)
has a different Property View from yours (this image refers to the body in question)
220118 Property View.png
220118 Property View.png (79.57 KiB) Viewed 1517 times
I had a look at the Wiki [wiki]https://wiki.freecadweb.org/Property_editor[/wiki] and I can't find anything in my settings which would cause a problem.

(3) A search if the Wiki [wiki]https://wiki.freecadweb.org/Part_Part2DObject/en[/wiki] for anything related to 'Attachment Offset' gives me neither joy nor even satisfaction. This tells ME nothing,
DataAttachment Offset (Placement): the position of the object in the 3D view, with respect to the attachment object's placement. The placement is defined by a Base point (vector), and a Rotation (axis and angle).

(3) I cannot find any explanation of your phrase, '... the Body you're using has the AttacherExtension property set ...'.
"It is much harder to simplify than to complicate."
Joseph Kimble
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

Re: Problem with linear assemble of identical bodies

Post by kisolre »

Vagulus wrote: Tue Jan 18, 2022 1:49 am different Property View from yours
It is in the Data tab of the properties - look under them, now you are in the View tab.
Vagulus wrote: Tue Jan 18, 2022 1:49 am shows Property View --> Attachment --> Map Mode as 'Deactivated'. How then can it be set?
In that Data tab.
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Problem with linear assemble of identical bodies

Post by Vagulus »

kisolre wrote: Tue Jan 18, 2022 6:59 am In that Data tab.
In the Data Tab Map Mode is Deactivated.
220118 Attachment.png
220118 Attachment.png (65.01 KiB) Viewed 1458 times
The Attachment Dialog shows an Offset of -70 in the X direction (Yes, I have modified my Document.)
but that is greyed out, inactive, unattached. To my way of thinking it should have no effect.
"It is much harder to simplify than to complicate."
Joseph Kimble
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Problem with linear assemble of identical bodies

Post by Zolko »

Vagulus wrote: Tue Jan 18, 2022 7:59 am In the Data Tab Map Mode is Deactivated.
but it's there. Look at the other Bodies in your file, MapMode isn't there at all.
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Problem with linear assemble of identical bodies

Post by Vagulus »

Thanks, Zolko. That was it.
All is well -- see https://1drv.ms/v/s!ArMxdUYEh9fKwBk5vpN ... F?e=21PgVy
"It is much harder to simplify than to complicate."
Joseph Kimble
Post Reply