Pythonで3Dモデルが作れたら面白そうだなと思ったことはありませんか?今回は、PythonベースのCADライブラリ「CadQuery」を使って、実際に机と家の3Dモデルを作成し、STL・STEP形式で出力するところまでを試してみました。 CadQueryとは? CadQueryは、Pythonを使って3D ...
FreeCADのPython APIは結局GUIの裏側を叩いているだけで、エッジ選択のようなGUI前提の操作がコードからは困難になる。 CadQueryはGUIを完全に切り離した純Pythonパッケージなので、LLMとの相性が根本的に違います。 Fig. 1: 従来手法 vs 提案手法 ...
CADForge is an OpenEnv environment for training LLMs to produce editable, buildable CadQuery CAD. The agent receives a design request, writes a complete CadQuery Python file, and the environment runs ...
CadQuery is first and foremost designed as a library, which can be used as a part of any project. In this context, there is no need for a standard script format or gateway API. Though the embedded use ...