I just couldn't miss your idea and this opportunity and I just created a script using my only know script language C/C++ to generate this!
I created an open source project (GPL3) and generated 1000 1/4w axial resistors wrl files! .. more to come latter.. project is here:
The model files are distributed under a modified MIT license, but if you need any special license just for you I can think about it!
The Film Resistors zip file is here:
The zip file is 898Kb and contains already a .png screenshot of 347Kb.
Each wrl file resistor is just 550 bytes length!
The wrl files are based on a recursive include directive of VRML format that will include the seed models and adapt as need.
I created the original models (my first creation) using FreeCAD (file included) the only thing was that the STEP file generated by FreeCAD was not OK
Then the WRL files were generated with StepUp by @maui
I appreciate if someone with knowledge in this area with FreeCAD can have a look and see if you can generate a proper STEP file because mine was broken. (May I will need to make some adjusts in the design? look for suggestions... )
Also, I appreciate if anyone could review my design (sizes) and resistor values if they are OK.
There are some things to know about this WRL files:
It only work on the (upcoming) KiCad 5 (with the new 3DViewer developed by me @kammutierspule with the cache and WRL parser developed by @cbernardo)
Every time you use a model, it will be cached by the cache mechanism of the 3DViewer. The cache size per model is 888Kbytes (Maybe @cbernardo one of this days will implement a faster compress system for the cached files ) . I think that will be OK if you just use a subset of values on a real case life scenario..
Here is your raytraced screenshot:
Looking for your ideas and comments,.
Other models / variants you would like to see?