This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # This macro applies a consistent color scheme to all objects in the viewport. | |
| # 05/10/2025 | |
| __title__ = "Colorize All Objects in the Viewport" | |
| __author__ = "22degrees" | |
| import FreeCAD as App | |
| import FreeCADGui as Gui |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # This simple macro creates a 3-point studio lighting setup. | |
| # The lights are fixed to the object coordinate system. | |
| # 06/11/2024 | |
| # Based on a code sample of wmayer (https://forum.freecad.org/viewtopic.php?p=146925#p146925) | |
| # Inspired by a video of @OficineRobotica (https://youtu.be/E75hptWOSZA) | |
| __title__ = "Objectbased_Three_Point_Studio_Lighting_Setup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # This simple macro creates a 3-point studio lighting setup. | |
| # The lights are fixed to the viewer/camera perspective. | |
| # 06/11/2024 | |
| # Based on a code sample of wmayer (https://forum.freecad.org/viewtopic.php?p=146925#p146925) | |
| # Inspired by a video of @OficineRobotica (https://youtu.be/E75hptWOSZA) | |
| __title__ = "Camerabased_Three_Point_Studio_Lighting_Setup" |