Issues with Links in PartDesign 0.19dev

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Issues with Links in PartDesign 0.19dev

Post by user1234 »

Hello!

Lately i tested FreeCAD and found an error in combination with Link and PartDesign.

For example: if you want do drawings with techdraw, you get issues with sections because occt can not detect faces correct, you can not do broken section and so on. Also you want separate the drawings from the part, because if you load an assembly, you wont laod the drawings (and also other thingsl like FEMs) too. So you make a link between the body from the part file and the drawing file. Then you must edit the bodies, for example a broken section. This works for Part, but not fro PartDesign.

If you want a linked body as BaseFeature, you get an error:

Code: Select all

<Exception> Object can only be in a single Group
.
0.gif
0.gif (361.01 KiB) Viewed 1050 times


An alternative could be a clone, but you also can not clone the linked body.
1.png
1.png (196.78 KiB) Viewed 1050 times


Here a screenshot from Part, which works.
0.png
0.png (166.87 KiB) Viewed 1050 times


In the attachment the (linked) random minimal example.

Done with:

Code: Select all

OS: Debian GNU/Linux bullseye/sid (X-Cinnamon/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23474 (Git)
Build type: Release
Branch: master
Hash: c3acfcc0a083bf1d9db7ac4f1303c8c75d3a04bd
Python version: 3.9.1
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)

Greetings
user1234
Attachments
PART_test.FCStd
(42.18 KiB) Downloaded 26 times
DRAWING_test.FCStd
(16.15 KiB) Downloaded 53 times
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Issues with Links in PartDesign 0.19dev

Post by chrisb »

user1234 wrote: Mon Dec 21, 2020 4:01 am Lately i tested FreeCAD and found an error in combination with Link and PartDesign.
I wouldn't call this an error, Link for PartDesign isn't finished yet.
If you want a linked body as BaseFeature, you get an error:
A body itself cannot be used as a BaseFeature, so it is well understandable that a link to a body cannot be used either.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: Issues with Links in PartDesign 0.19dev

Post by user1234 »

Hello!
chrisb wrote: Mon Dec 21, 2020 7:53 am A body itself cannot be used as a BaseFeature
Yes, that is true. I never noticed that.


chrisb wrote: Mon Dec 21, 2020 7:53 am I wouldn't call this an error, Link for PartDesign isn't finished yet.
Yes, that was that what i meant. Yes, i wrote in the text error, my fault.

Greetings
user1234
galou_breizh
Posts: 437
Joined: Wed Sep 15, 2010 9:38 am

Re: Issues with Links in PartDesign 0.19dev

Post by galou_breizh »

Post Reply