Macro EasyReflector

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

Macro EasyReflector

Description
Gérer facilement les textures avec cette fonction en Python

Version macro : 0.2023.12.09
Date dernière modification : 2023-12-09
Version FreeCAD : Python versions 3
Téléchargement : Icône de la barre d'outils
Auteur: TheMarkster
Auteur
TheMarkster
Téléchargement
Icône de la barre d'outils
Liens
Version Macro
0.2023.12.09
Dernière modification
2023-12-09
Version(s) FreeCAD
Python versions 3
Raccourci clavier
None
Voir aussi
None

Description

EasyReflector facilite la gestion des textures dans FreeCAD. Elle crée un objet Feature Python qui persiste lorsque le document est rechargé. Choisissez parmi une variété de textures incluses, ou utilisez vos propres images.

La documentation complète se trouve sur github : EasyReflector.

Copie d'écran de la Macro EasyReflector

Légende

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://gist.github.com/mwganson/aea3c51981c0b994cfd961cf4db56b50/raw/71b325b7c1568e2460beb099f553225a5516fc44/EasyReflector.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://gist.github.com/mwganson/aea3c51981c0b994cfd961cf4db56b50/raw/71b325b7c1568e2460beb099f553225a5516fc44/EasyReflector.FCMacro")


Icône de la barre d'outils

Script

Macro EasyReflector.FCMacro