jschobben / colorscad

Script to produce colorized OpenSCAD models
Other
52 stars 8 forks source link

Add option to have colors assigned in order #9

Closed schorsch3000 closed 6 months ago

schorsch3000 commented 6 months ago

While having colors sorted by occurrence is a nice way to try to optimize for speed, the downside is that while working iterative on a model, colors may need to be remapped in the slicer.

this introduces an option to have the colors sorted by string representation, hence they stay in the same order while geometry changes.

schorsch3000 commented 6 months ago

PS: at least for me, using a MMU3 i use less colors than the PARALLEL_JOB_LIMIT so, there is no benefit for this optimization for me, so the order by color comes at no cost in my case.

jschobben commented 6 months ago

Looking good, thanks!

schorsch3000 commented 6 months ago

Thanks to you too!