This folder contains a working example that generates a STEP model for: A knob whose profile is driven by a polygon/spline function and grip parameters.
The intent is that you can run the code here to emit a STEP file, open it in a CAD viewer, and/or import it into your slicer to 3D print and iterate.