Issue #6260 - linked shape object empty - 0.20 and Link (not 0.19)

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!
Post Reply
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Issue #6260 - linked shape object empty - 0.20 and Link (not 0.19)

Post by bambuko »

just two bodies with a shapebinder, nothing seems to be missing and yet I still get this report:

Code: Select all

13:52:32  No profile linked
13:52:32  Linked shape object is empty
13:52:32  Linked shape object is empty
13:52:32  <Exception> Linked shape object is empty
Only happens in 0.20 and Link (not in 0.19)
What am I missing, please?
benttest.FCStd
(49.93 KiB) Downloaded 37 times

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.24612 (Git)
Build type: Release
Branch: master
Hash: f525904c1be10a0f55aa3502151c2c55e5054259
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United Kingdom (en_GB)
benttest.FCStd
(49.93 KiB) Downloaded 37 times
Last edited by Kunda1 on Wed Jul 06, 2022 5:02 pm, edited 3 times in total.
Reason: Added GH ticket number to thread title
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: linked shape object empty

Post by chrisb »

I have simplified the model, it still has the same issue.

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.24720 (Git)
Build type: Release
Branch: master
Hash: 8b0c58d1b45017ad42bf0fa8f827f1cf22a398e7
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: C/Default (C)
Attachments
benttest.FCStd
(14.9 KiB) Downloaded 28 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: linked shape object empty

Post by bambuko »

chrisb wrote: Wed Apr 28, 2021 2:07 pm I have simplified the model...
It's the hole :twisted:
after few experiments - narrowed it down to the hole.
Deleting it and doing it again solved the problem.

haven't got the clue what was wrong with it, but it works.
Maybe you know what upset FreeCAD about my holes :mrgreen: ?

Having eliminated this problem, there are more that were OK in 0.19 but fail in 0.20 and Link.
All are related to holes...

Is this perhaps connected?:
https://github.com/realthunder/FreeCAD/ ... 0eac7e7dc8
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: linked shape object empty - 0.20 and Link (not 0.19)

Post by chrisb »

Hmm. I had removed the hole as well and recreated it and it didn't work.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: linked shape object empty - 0.20 and Link (not 0.19)

Post by bambuko »

chrisb wrote: Wed Apr 28, 2021 6:31 pm Hmm. I had removed the hole as well and recreated it and it didn't work.
see attached original file with mod (it now works in 0.20 and Link without error message):
benttest(hole_mod).FCStd
(50.15 KiB) Downloaded 28 times
I had 3 instances of hole feature issues in the "mother" file (of which the attached one is very simplified extract).
Two responded to the procedure described and one had to have hole dia adjusted to avoid coincident edges/shapes.

All three responded to the hole features being simply removed (error message goes away)

It is repeatable :ugeek:
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
M4x
Veteran
Posts: 1480
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: linked shape object empty - 0.20 and Link (not 0.19)

Post by M4x »

chrisb nailed it down to the depth setting of the hole feature (through all leads to this error). Corresponding thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=62379

And I've created a ticket: issue #4747

edit: Used the bug tag instead.of the plain URL
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: linked shape object empty - 0.20 and Link (not 0.19)

Post by Kunda1 »

Is this still an issue ?
issue #6260
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
adrianinsaval
Veteran
Posts: 5548
Joined: Thu Apr 05, 2018 5:15 pm

Re: Issue #6260 - linked shape object empty - 0.20 and Link (not 0.19)

Post by adrianinsaval »

I can't reproduce neither with the example on tracker nor from scratch, I think during the 0.20 dev cycle this warning was removed in general
Post Reply