Skip to content

A macro for FreeCAD that gets all colors from user.cfg and puts them in a list as their original value, as RGB #hex and as an actual color

License

Notifications You must be signed in to change notification settings

Axeia/FreeCAD-Color-Alterator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

FreeCAD Color Alterator

user.cfg color alterations made easy.

This macro presents you with a window with all the colors found in user.cfg and clicking on the color (in the color column) pops up a color dialog letting you select a different color. It should work with any FreeCAD installation of v0.19 or higher, please report an issue if it doesn't.

The Color Alterator window

Installation

Please see the FreeCAD wiki on how to install a macro https://wiki.freecad.org/How_to_install_macros

Version notes

v3: Added an option to set the background color of the preview tree allowing for better contrast

v2: Added support for Alpha transparency if it's initially present (fixing issue #2) or when ctrl+shift are held when clicking the color column.

Note: It's strongly discouraged to use alpha transparency as FreeCADs own UI (at least at present) does not allow editting the Alpha channel so if it works and if it works consistently is unknown. I added the feature for those who like to experiment and know that they're playing with fire.

License

FreeCAD wants the license for a macro in a specific format so I've put it as

Realistically all you need to know is that is work done for the 'greater good'. I'm not here to make a profit and you can do whatever you want with the code :)

About

A macro for FreeCAD that gets all colors from user.cfg and puts them in a list as their original value, as RGB #hex and as an actual color

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published