I disabled the \typein of querying for which Saved Preset would be used:
%\typein[\boxspecification]{What preset is to be used?}
and instead, hard-coded it to:
\newcommand{\boxspecification}{Sample}
You’ll need to either name your pre-set “Sample”, or change that line in the .tex file to match your name — please avoid using underscores or special characters.
Another reason to use METAPOST (besides the fact that I want to learn it so I can leverage that to learn METAFONT so as to do a typeface design I’ve been working on for decades) is that it allows analysis of paths and intersection, which some of the boxes require:
So to sum up what I did for other members, the workflow is easy enough:
install OpenSCAD (2019 RC4, not the latest stable 2015 version)
open the .scad file, modify the parameters in the Customizer, then create a “Sample” preset with the “+” button, hit “Save Preset” to get the JSON file.
install MikTeX, launch TexWorks, open the .tex file, select “LuaLaTeX” in the drop-down menu, hit the “play” button, and voilà, the PDF.
Not having to open Inkscape to get from the PDF to an SVG would be a good improvment to the workflow.
Hey, Will, will one be able to make the finger cuts a bit deeper - and before they come out of the fixture use a 90 deg Vbit to put a chamfer on the ends of the fingers so they will be proud, and finished, when assembled?
I’m still not sure how you’re doing this as once it stated that all four pieces should be milled at the same time and then it was two. Have you done a video - or do one when this is all completed?
Thanks for the work. Don’t know where your kick-starter is located, but I’ll kick in a few bucks if it is still open. Location??
Leaving the fingers proud and chamfering is an interesting idea — it’d make assembly easier if nothing else — I’ll see if I can work that in as an option.
which can then be opened in Inkscape and resaved as an SVG:
Which can then be opened in Carbide Create. Use the two boxes which have three boxes to cut the sides and front and back — the top and bottom can be cut directly from the geometry for them. It will be necessary to draw in the geometry for the dividers.