rsheldiii / openSCAD-projects

Repository to archive my openSCAD endeavors (and YASP endeavors, if I get that done)
GNU Lesser General Public License v3.0
54 stars 19 forks source link

Switch to generating the customizer file via a script #32

Closed rsheldiii closed 6 years ago

rsheldiii commented 6 years ago

The idea would be to auto-expand include and use statements via a script, making the customizer script a lot easier to generate. last time I did it by hand and it took like an hour, that's no fun.

currently keys.scad uses, not includes, key.scad, which is afaict a bit more complex than an include. I'm sure there's a language parsing plugin in Ruby I could look into but since this is only for my project, for now I just crop the one line I don't care about.

this PR expanded to include general cleanup for getting everything to work in customizer. I also spent a couple hours working out an intersection-based dishing function due to a bug in customizer to realize that it wasn't the cause of the bug at all. Oh well, it's a bit faster now.