New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistencies in PartDesign BaseFeature #13786
Comments
why not use shape binders and make a new option to them to be like real geometry? |
I'm not sure if I like this option from a users perspective. ShapeBinders are currently used as reference objects in a The If the local link scope of the bodies "Base Feature" is necessary for other reasons, maybe there is a way to still allow to use the |
A ShapeBinder can already be solidified by a boolean fuse (with nothing else). |
I know, to get rid of that extra step the ShapeBinder could have an extra attribute |
Is there an existing issue for this?
Problem description
When a
PartDesign::Body
is created from aPart::Feature
aPartDesign::FeatureBase
is automatically created to reference thePart::Feature
. Its "Base Feature" property is setup to allow global links:FreeCAD/src/Mod/PartDesign/App/FeatureBase.cpp
Lines 39 to 43 in e4eb859
Additionally the
PartDesign::Body
"Base Feature" property is synced with thePartDesign::FeatureBase
property:FreeCAD/src/Mod/PartDesign/App/FeatureBase.cpp
Lines 87 to 95 in e4eb859
but the
PartDesign::Body
only allows local links (as default, inherited fromPart::BodyBase
).Full version info
Subproject(s) affected?
PartDesign
Anything else?
As explained in #13762, I was trying to create a base body and then create multiple bodies from it to add some PartDesign features and use them a bodies in parts. I use
App::Part
containers as parts which then contain one or more bodies (not necessaryPartDesign::Body
).Essentially I want to end up with this:
Two problems arise from this:
The Part cube is automatically added to the
App::Part
of the newly created bodyRearanging the tree manually will give the warning
about the link scope, coming from the Body, not the BaseFeature because of the different scopes of the "Base Feature" properties.
It seems that base features were intended to link to global objects. Should the Body "Base Feature" property be changed accordingly?
Code of Conduct
The text was updated successfully, but these errors were encountered: