A2plus - parts with Boolean fragments are duplicated

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

A2plus - parts with Boolean fragments are duplicated

Post by NewJoker »

Hi,

I've noticed that when I insert a part involving Boolean fragments operation (to split a face) into A2plus, it's displayed as a single part but with visible overlay of geometries:

overlay.png
overlay.png (33.63 KiB) Viewed 791 times

Then, after exporting to STEP and importing to another software or back to FreeCAD (without STEP compound merge) there are 2 separate parts - one without Boolean fragments applied and one with it (the only one that I need). Can that be considered a bug or is it just a limitation ? Are there any workarounds ? I can delete the redundant part after importing but the assembly consists of several other parts too so it's quite inconvenient.

I attached the files below.

Ring.FCStd
(14.14 KiB) Downloaded 39 times
Ring assembly.FCStd
(5.48 KiB) Downloaded 40 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
  * A2plus 0.4.60k
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: A2plus - parts with Boolean fragments are duplicated

Post by kbwbe »

Your file Ring.FCStd contains a Body and a Part (of Partworkbech), both marked as visible. So A2Plus imports both.
Mark the Body-Object as invisible and import again.
For me, this works. The duplicate has gone.
ring-with-invisible-body.png
ring-with-invisible-body.png (44.85 KiB) Viewed 740 times
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: A2plus - parts with Boolean fragments are duplicated

Post by NewJoker »

kbwbe wrote: Sat Apr 22, 2023 9:46 pm Mark the Body-Object as invisible and import again.
For me, this works. The duplicate has gone.
Great, it works now. Thank you very much :-)
Post Reply