Macro EasyReflector: Difference between revisions

From FreeCAD Documentation
(Fixed Date= value.)
m (0.2023.12.09)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Macro
{{Macro
|Name=Macro EasyReflector
|Name=Macro EasyReflector
|Icon=EasyReflectorIcon.svg
|Icon=EasyReflectorIcon.svg
|Description=Easily manage textures with this feature Python object
|Description=Easily manage textures with this Feature Python object
|Author=TheMarkster
|Author=TheMarkster
|Version=0.2023.09.05
|Version=0.2023.12.09
|Date=2023-09-05
|Date=2023-12-09
|FCVersion=Python 3 versions
|FCVersion=Python 3 versions
|Download=[https://wiki.freecadweb.org/File:EasyReflectorIcon.svg ToolBar Icon]
|Download=[https://wiki.freecadweb.org/File:EasyReflectorIcon.svg ToolBar Icon]
Line 14: Line 15:
}}
}}


== Description ==
== Description == <!--T:2-->


<!--T:3-->
EasyReflector makes it easy to manage textures in FreeCAD. It creates a feature python object that persists when the document is reloaded. Select from a variety of included textures, or use your own images.
EasyReflector makes it easy to manage textures in FreeCAD. It creates a [[App_FeaturePython|Feature Python]] object that persists when the document is reloaded. Select from a variety of included textures, or use your own images.


<!--T:4-->
Full documentation can be found on github: [https://github.com/mwganson/EasyReflector EasyReflector].
Full documentation can be found on github: [https://github.com/mwganson/EasyReflector EasyReflector].


Line 23: Line 26:
[[Image:EasyReflector_screenshot01.png]]
[[Image:EasyReflector_screenshot01.png]]
<translate>
<translate>
<!--T:5-->
{{Caption|Macro Animator screenshot‎}}
{{Caption|Macro EasyReflector screenshot‎}}


== Legend ==
== Legend == <!--T:6-->


</translate>
</translate>
{{Codeextralink|https://gist.github.com/mwganson/aea3c51981c0b994cfd961cf4db56b50/raw/08b4118d8737a15671b0cbee686a824de55e4cf0/EasyReflector.FCMacro|EasyReflector.FCMacro}}
{{Codeextralink|https://gist.github.com/mwganson/aea3c51981c0b994cfd961cf4db56b50/raw/71b325b7c1568e2460beb099f553225a5516fc44/EasyReflector.FCMacro|EasyReflector.FCMacro}}
<translate>
<translate>


<!--T:7-->
ToolBar Icon
ToolBar Icon
</translate>
</translate>
Line 36: Line 41:
<translate>
<translate>


== Script ==
== Script == <!--T:8-->


</translate>
</translate>

Latest revision as of 22:09, 9 December 2023

Other languages:

Macro EasyReflector

Description
Easily manage textures with this Feature Python object

Macro version: 0.2023.12.09
Last modified: 2023-12-09
FreeCAD version: Python 3 versions
Download: ToolBar Icon
Author: TheMarkster
Author
TheMarkster
Download
ToolBar Icon
Links
Macro Version
0.2023.12.09
Date last modified
2023-12-09
FreeCAD Version(s)
Python 3 versions
Default shortcut
None
See also
None

Description

EasyReflector makes it easy to manage textures in FreeCAD. It creates a Feature Python object that persists when the document is reloaded. Select from a variety of included textures, or use your own images.

Full documentation can be found on github: EasyReflector.

Macro EasyReflector screenshot‎

Legend

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")


ToolBar Icon

Script

Macro EasyReflector.FCMacro