I have been trying to force LLMs to work with geometries for over a month and it's so hard. Even the best LLMs have an extremely poor sense of geometric relationships in my testing. I would also stay away from mesh based CAD like OpenSCAD and go straight for build123d which operates on real solid models (BREP): https://build123d.readthedocs.io/en/latest/index.html