CadQuery can export STEP files, and is overall much nicer to use in my opinion.
Openscad can export to CSG, which can be imported by free cad or converted to STEP https://github.com/gega/csg2stp
I've been using Gemini to generate openscad programs for use with my 3d printer. Is cadquery a better option I wonder?
Why do you say it is better than openscad?
Openscad can export to CSG, which can be imported by free cad or converted to STEP https://github.com/gega/csg2stp