Macro HighlightDifference

From FreeCAD Documentation
Revision as of 09:26, 26 September 2015 by Mario52 (talk | contribs) (add images and compability page)

File:HighlightDifference HightlightDifference

Description
Compute the difference between two shapes

Author: Gaël Ecorchard
Author
Gaël Ecorchard
Download
None
Links
Macro Version
1.0
Date last modified
None
FreeCAD Version(s)
None
Default shortcut
None
See also
None

Description

Compute the difference between two shapes. Additions are marked red, removals are marked green. Both original parts will be half transparent. The volume of the additions and removals are printed in the console.

Result difference twoo objects created

Example

Script

The code is visible on Github: Utility/HighlightDifference.FCMacro.

Links

See for the complementary macro Macro_HighlightCommon

The discussion on forum "collision detection", overlapping