
stationary-cam
This safe CLI generates a stationary cam as .svg.
Build example from source
git clone https://github.com/772/stationary-cam
cd stationary-cam/example
cargo r -- example.toml

Using Blender to convert the svg to 3D
- File -> Import -> Scalable Vector Graphics (.svg)
- Select all objects
- Object Data Properties -> Resolution Preview U -> See console
- Right click -> Set Origin -> Geometry to Origin
- Right click -> Convert To -> Mesh
- Select cam object and select all vertices
- Press E to move them up a bit
- Select tooth object and select all vertices
- ALT-N -> Flip
- Press E to move them down a bit
- n times: Select each side or two vertices and merge to last
- Select all objects
- Control-M -> z
- Right click -> Join
- File -> Export -> e.g. Wavefront (.obj) / .stl or what you wish
Using Inkscape to convert the svg to DXF
See inkscapesvgto_dxf.sh.
License
Licensed under either of these:
- Apache License, Version 2.0, (LICENSE-APACHE or
https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or
https://opensource.org/licenses/MIT)