Why body get empty?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Why body get empty?

Post by Vincent B »

How to explain the body is emptying when when I drag the cube inside the part container?
...
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21280 (Git)
Build type: Release
Branch: master
Hash: 6f3160db3e88733536c7eaf97ad7d6ebd21baccd
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Attachments
Capture.JPG
Capture.JPG (17.95 KiB) Viewed 1264 times
test.FCStd
(14.04 KiB) Downloaded 28 times
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Why body get empty?

Post by freedman »

Expand the body and then do the drag. Not sure what your asking.
TheMarkster
Veteran
Posts: 5512
Joined: Thu Apr 05, 2018 1:53 am

Re: Why body get empty?

Post by TheMarkster »

Confirmed, objects inside the Body get removed when dropping the Cube into the Part.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
TheMarkster
Veteran
Posts: 5512
Joined: Thu Apr 05, 2018 1:53 am

Re: Why body get empty?

Post by TheMarkster »

Could be because of the invalid links to objects inside the body.
Snip macro screenshot-521465.png
Snip macro screenshot-521465.png (155.48 KiB) Viewed 1237 times
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Why body get empty?

Post by freedman »

I don't see anything removed in my 0.18 or 0.19.20477.
TheMarkster
Veteran
Posts: 5512
Joined: Thu Apr 05, 2018 1:53 am

Re: Why body get empty?

Post by TheMarkster »

I see it on this version, too:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 +17 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

So it predates the link merge.
freedman wrote: Wed Jun 03, 2020 6:05 pm I don't see anything removed in my 0.18 or 0.19.20477.
Post your full information as it might be a windows-related issue only.
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Why body get empty?

Post by freedman »

Maybe a config file issue...

Nothing weird on these machines.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16085 (Git)
Build type: Release
Branch: master
Hash: 6323069cbbda5ac71dff073f15cc632d8a1f3ea3
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20477 (Git)
Build type: Release
Branch: master
Hash: 7d8ab175a68e476427e6e337fe3099b52da49dc8
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Why body get empty?

Post by GeneFC »

If I remove the support to the datum lines from the box then everything works as expected.

I am guessing that the box is improperly linked to the datum lines inside the body (red arrows on the dependency graph) and when the box is moved it drags its support (datum lines) with it. The other elements in the body that are linked to the datum lines go along for the ride.

First thing to do is get rid of the errors. There may be a bug, but start with a clean model first.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)


Gene
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Why body get empty?

Post by Vincent B »

The issue occurs just when moving inside. If you remove the supports before then grab it inside, there're no problem. After that if you re-link the cube, still no problem. But if you remove it from the part and re-put inside, the bug occurs again. :roll:
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Why body get empty?

Post by Vincent B »

This bug still here. :roll:
move the box inside the part container....the body get empty.
...
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26761 (Git)
Build type: Release
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: French/France (fr_FR)
Attachments
Body_empty.FCStd
(11.65 KiB) Downloaded 19 times
Post Reply