FreeCAD: master 7fadfd04

Author Committer Branch Timestamp Parent
realthunder wmayer master 2020-03-21 07:22:48 master 233e6f93
Changeset PartDesign: change feature DressUp behavior when used for pattern

Repurpose DressUp.SupportTransform property to define the following
behavior,

* When disabled (default), only the dressing will be used for patterning.

* When enabled, the additive/subtractive shape of the dressed base
  feature will be used for patterning. Any dressing that is not applied
  to the based feature will be ignored.

* If the dressing is applied to non-additive/subtractive feature, then
  only the dressing will be used for patterning.

New API FreatureAddSub::getAddSubShape() is added to account for the
fact that a dressing (e.g. a fillet) can be either additive or
subtractive, which means that a DressUP feature may contain both
additive and subtractive shapes.

FeatureTransformed is modified to perform both fusion and cut if
required.
mod - src/Mod/PartDesign/App/FeatureAddSub.cpp Diff File
mod - src/Mod/PartDesign/App/FeatureAddSub.h Diff File
mod - src/Mod/PartDesign/App/FeatureDressUp.cpp Diff File
mod - src/Mod/PartDesign/App/FeatureDressUp.h Diff File
mod - src/Mod/PartDesign/App/FeatureTransformed.cpp Diff File
mod - src/Mod/PartDesign/Gui/ViewProviderTransformed.cpp Diff File