Inject parameters and render STLs from disparate SCAD files using a simple config and tailorSCAD. In Alpha, Open Source. Files on github
I know how the first two lines seem to be the only thing that actually gets to people’s feeds. This is a video of a new library that I’ve written to abstract away some pain people have expressed about having to copy a bunch of other people’s code into their project.
Think of a robotic hand, or a prosthetic hand. You could have several versions of fingers that could all potentially mate with a couple different wrists. Say each part is in a separate github repository. To write something that would let you customize all those scripts together involves copying a ton of code, ensuring no var name conflicts, maybe wrapping or modifying their code so you can call a module to build their stuff so you can assemble it.
tailorSCAD allows you to just stick with the output of other systems and lets you tell that other system how you want it to render and then your system uses the rendered ‘packages’. What if one part is in openSCAD and the other in coffescad? Or openJSCAD? I’ve built this library so I can keep adding more builders and URI sources (git, http etc.). Comments welcome. The code is very much in the hack hack hack it together stage so I’m still working on improving it and writing up a proper readme etc.
People who might be interested.
@Gary_Hodgson (The config is JSON… it could be embdedded into the thingtracker meta information)
@foosel Octoprint being able to ‘print’ scad files (throw in an editor and boom)
@Rene_K_Mueller OpenJSCAD
@Mark_Moissette_ckaos CoffeeSCAD
@Laird_Popkin1 E-Nable web app that helps people get their prosthetic sized correctly.
Code (I want to go MIT license… but I may have to go GPL, depends on how you look at a subprocess call to openscad)