Macro Evidenzia parti comuni

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Macro HighlightCommon and the translation is 100% complete.
Other languages:
English • ‎français • ‎italiano

Macro HighlightCommon.png Evidenzia parti comuni

Descrizione
Evidenzia le parti comuni

Versione macro: 1.0
Ultima modifica: 2015-09-24
Versione FreeCAD: 0.17 e sopra
Download: ToolBar Icon
Autore
JMG
Download
ToolBar Icon
Link
Versione macro
1.0
Data ultima modifica
2015-09-24
Versioni di FreeCAD
0.17 e sopra
Scorciatoia
Nessuna
Vedere anche
Nessuno


Descrizione

Evidenzia e visualizza le parti comuni in rosso e imposta la semi-trasparenza delle parti originali (gli oggetti originali non vengono modificati)

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon_Installer.


##This code is copied instead of the original macro code

##to guide the user to the offline 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 extra wiki location

import PySide

from PySide import QtGui ,QtCore

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

diag.setWindowFlags(PySide.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")
<class="rawcodeurl"><a href="https://raw.githubusercontent.com/FreeCAD/FreeCAD-macros/master/Utility/HighlightCommon.FCMacro">raw code</a>


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

Volume common of objects selected


Script

ToolBar Icon Macro HighlightCommon.png

Macro_HighlightCommon.FCMacro

Il codice è visibile in Github: Utility/HighlightCommon.FCMacro.

Link