gears don't build as MCAD library is missing
Running the ./build.sh
script in the toplevel builds all the STLs, but the gears (builds/small_gears.stl
and builds/large_gears.stl
don't come out right: they are no gears at all, but just some cylinders or cones (openscad version 2021.01).
The reason is, that the MCAD library is not available; this warning pops up when running the openscad
WARNING: Can't open library 'MCAD/involute_gears.scad'.
... and indeed, there is no such subdirectory.
What I tried
- Checking out the latest https://github.com/openscad/MCAD and make available in openflexure-microscope/openscad/. That does not result in correct gears, probably the MCAD on github is different than the version used in the Microscope.
- Update the openflexure-microscope submodule to head and use that; however that does not work with the current delta stage repo as there are a lot of files changed.
- Keeping the openflexure microscope but copying the MCAD/ found in the current openflexure microscope at to
openflexure-delta-stage/openflexure-microscope/openscad/MCAD
. That seems to result in the correct gears, but it is a bit involved.
I guess best would be to move forward and update the submodule to point to the current microscope (which has the correct MCAD) and adapt to make to work with it as a bunch of things changed (different names of *.scad files etc.).
A good first step would be to add a workaround in the description how to successfully build the gears (the third option above worked for me).