An Application For Coloring 3D-Step File (Primarily For Step Files Used in Kicad) Two videos previewing the App - First Video Is New - it Demos on Mac, Second Video contains similar and using random STEP files (those not included here).
DemoOut2.mp4
STEP_Preview1080y.mp4
These are Preliminary releases of a 3D-STEP file utility, primarily for enhancement-use in conjunction with Kicad's PCB 3D-Viewer.
Full Video Here On YouTube: https://youtu.be/42trhzxvVVs
Although Stand-Alone App, you can also run the App from the included Kicad Plugin (you'll need to edit the .py (python file) to point to the App's install location and graphic image (png) for logo...(see posted screenshot).
This is Not an official Kicad plugin so, all that's needed is to place the .py file and the .PNG image in the 'kicad/6.0/scripting/plugins' folder. The plugin will run the app from the installed location. Be SURE to place the STEP files in the same Location as the App!
Version: v1r0 (PRELIM) Author: Bruce T. Kicad Username: 'blackcoffee' Files Posted At: Here at Github
•Description •Installing •Using •Tip's
Colors items in STEP files having their colors previously defined as COLOUR_RGB with values of: '1' for any/all of the 'COLOUR_RGB' strings in the file. The other Colors in the STEP file will Not be affected. All of the included 'Stock' STEP files already contain the appropriate declarations with appropriate Decimal conversions for consistent STEP RGB use.
Helpful Info Prior to Installation Download the STEP_Colorizer App(for your system .zip, .7z or .exe) and the STEP_Files.zip
The App contains a Drop-Down Menu for Selection of Stock-Parts provided for Ease-Of-Use.
To be able to select them from the Drop-Down 'Part Selector', they MUST be located in the SAME FOLDER as the App.
However, if you prefer a different location, that's O.K., but you will NOT be able to Select them from the Drop-Down (more info in 'Using' Section).
Install the App (and files) - it is a 'Stand-Alone' application that can also be run from a Kicad Plugin ( .py also provided for download).
If trouble running the App from Plugin, try changing the Subprocess Call String to:
os.system (“/home/some_folder/some_other_folder/3D_STEP-Colorizer/STEP_Colorizer_v1r0_version_you_want_to_run”)
(change the appropriate text to reflect your folders and App name)
Choose desired Icon or, make your own... (MAC and LINUX: Just use the .PNG. Windows, use one of the .ICO's)
Select a Part Select desired Colors including Tan/Blue Resistor Body Color Save New Step Done!
If you installed into location without also installing the Parts into the same location, simply Select the 'Select Part' in Drop-Down, you will be Prompted to locate a STEP file.
Note: Selecting 'Select A Part' is a User's tool for changing Colors on STEP files for testing, including the many STEP files provided by Kicad and elsewhere. Thus, use with Caution as you many corrupt a good STEP file. Make a Backup! Also, you can have Both the included Parts and also Select Part from other other locations.
Note: All files are Saved to the App's location.
See Examples of changing color on non-included STEP files.
Learn to add the STEP file to your Footprint and how to properly take advantage of Kicad' ability to setup multiple 3D-Models (STEP files) for a Footprint and how to Update PCB with/without affecting particular/all Footprints. The Video on YouTube contains Demo of this...