PartDesign::Body can't be used as a body BaseFeature #13762
Labels
Feature
FR for improvements or new features
Has workaround
WB Part Design
Related to the Part Design Workbench
Is there an existing issue for this?
Problem description
Part features can be used to create a Body with a BaseFeature inside by selecting them and then creating a Body. This allows to change between Part and PartDesign workflow.
It is not possible to create a Body with another Body as a BaseFeature, it is explicitly forbidden in the code:
FreeCAD/src/Mod/PartDesign/Gui/CommandBody.cpp
Lines 126 to 129 in 02df1c8
It would be nice to allow this so I can create a base body and then create multiple bodies each with a BaseFeatures pointing to the base body and add different additional featues to them.
Full version info
Subproject(s) affected?
PartDesign
Anything else?
Manually changing the 'Base Feature' property of the BaseFeature to point to a Body seems to work without a problem. I don't see a reason why this would not be allowed.
Code of Conduct
The text was updated successfully, but these errors were encountered: