PartCADPartCAD is the first package manager for CAD models and a framework for managing assemblies. It aims to complement Git with everything necessary to substitute commercial Product Lifecycle Management (PLM) tools. PartCAD maintains information about mechanical parts and how they come together to form larger assemblies. The same parts are reused in multiple assemblies and multiple projects. And all of that is supercharged by the ultimate versioning and collaboration features of Git. This extension helps create PartCAD packages and explore packages that are already published. To learn more about PartCAD, see the documentation or the project repo. Also, make sure to visit our website and browse the repository of published 3D models. Creating PartCAD packagesAfter this extension is installed, the PartCAD workbench becomes available. Usually, the first step suggested by the workbench is to initialize the current workspace as a new PartCAD package. After that new parts and assemblies can be added using the corresponding buttons in the PartCAD explorer view. Creating partsIf you have a CAD file created in some other tool then click
the If you want to add a script file (CadQuery, build123d, OpenSCAD etc)
that you can edit in VS Code,
then click the When you edit scripts that are registered in the current PartCAD package, saving the file makes it displayed in the OCP CAD Viewer view. Creating assembliesThis is what PartCAD (or, at least, its VS Code Extension) is actually for. Click Select the desired part or assembly in PartCAD Explorer.
After that navigate to the next line under the When you edit ASSY files that are registered in the current PartCAD package, saving the file makes it displayed in the OCP CAD Viewer view. Inspecting published PartCAD packagesTo see a good example of a package with parts, it is recommended to browse
To see a basic example of a package with assemblies, it is recommended to browse
To see an example of a package with more complex assemblies, it is recommended to browse
Implementation notesFailed to load PartCAD: _nloptIf you see the above error message then you are probably using Windows and not using Conda. Please, switch to a Python environment created with Conda and Python >=3.9 and <=3.11. More documentationTo learn more about PartCAD and for a more detailed tutorial, see the PartCAD documentation website.com/openvmp/partcad). |