FreeCAD: master 0eafaa30
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | wwmayer | master | 2020-10-08 23:16:24 | master f439384c |
Changeset | Part: update icon, object and command for CompoundFilter The previous icon did not follow the general style and colors of other icons in the workbench. If there is no `Stencil` in the `CompoundFilter` object, raise a `ValueError` exception when the `FilterType` is `'collision-pass'` or `'window-distance'`. Raise an exception when `items` is empty, or has a malformed string, when `Filtertype` is `'specific items'`. Fix the `getNullShapeShape` function to return a simple `Part.Shape`, so that there is no error raised if `_nullShapeShape` doesn't exist. This function doesn't work at all. It was probably a prototype which was never fully developed; it may be removed completely in the future. The docstrings for the commands `CompoundFilter` and `ExplodeCompound` were revised. Clean up the spacing of the code so that lines aren't very long. |
|||
mod - src/Mod/Part/CompoundTools/CompoundFilter.py | Diff File | |||
mod - src/Mod/Part/CompoundTools/_CommandCompoundFilter.py | Diff File | |||
mod - src/Mod/Part/CompoundTools/_CommandExplodeCompound.py | Diff File | |||
mod - src/Mod/Part/Gui/Resources/icons/booleans/Part_CompoundFilter.svg | Diff File |