cadquery
                                
                                
                                
                                    cadquery copied to clipboard
                            
                            
                            
                        Drawing a gear through REST API and get a response as STEP
Hi,
we would like to have a construct named cylindrical gear with the following input parameters (which are given):
- 2D Tooth contour
 - Sweep angle (rad/mm)
 - Helix axis
 - Gear width (mm)
 - Number of teeth
 - Root diameter
 
The tooth contour is a closed contour consisting of circular arcs, lines, b-splines, cubic bezier curves (+ control points).
When executing the script the following functions should be executed:
- generate a helix using the tooth contour along the helix axis with gear width as length and using the sweep angle. This would be one gear tooth.
 - create a all teeth as polar array from the first tooth. number of elements = number of teeth. equidistantly over 360 degrees.
 - create the wheel body using the root diameter, the helix axis and the gear width.
 
We would like to call this through a REST API and the response to be a STEP file.