Macro HighlightCommon

From FreeCAD Documentation
This page is a translated version of the page Macro HighlightCommon and the translation is 100% complete.
Other languages:

HightlightCommon

Description
Mise en évidence des parties communes en affichant la forme commune en rouge et en définissant une demi-transparence sur les parties originales (les objets originaux ne sont pas modifiés).

Version macro : 2.3.2
Date dernière modification : 2021-07-01
Version FreeCAD : 0.17 et au dessus
Téléchargement : Icône de la barre d'outils
Auteur: JMG
Auteur
JMG
Téléchargement
Icône de la barre d'outils
Liens
Version Macro
2.3.2
Dernière modification
2021-07-01
Version(s) FreeCAD
0.17 et au dessus
Raccourci clavier
None
Voir aussi
None

Description

Mise en évidence des parties communes en affichant la forme commune en rouge et en définissant une demi-transparence sur les parties originales (les objets originaux ne sont pas modifiés).

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/Utility/HighlightCommon.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/Utility/HighlightCommon.FCMacro")


Captura de pantalla de 2015-09-10 11-17-30.png

Volume commun des objets selectionnés

Script

Icône de la barre d'outils

Macro_HighlightCommon.FCMacro

Le code est visible sur GitHub : Utility/HighlightCommon.FCMacro.

Liens