partcad-cli


Namepartcad-cli JSON
Version 0.5.22 PyPI version JSON
download
home_pageNone
SummaryCommand-line interface to PartCAD
upload_time2024-04-15 00:13:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords cadquery build123d cad design openscad step stl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PartCAD <!-- omit in toc -->

[![License](https://github.com/openvmp/partcad/blob/main/apache20.svg?raw=true)](./LICENSE.txt)

[![CI on Linux, MacOS and Windows](https://github.com/openvmp/partcad/actions/workflows/python-test.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-test.yml)
[![CD on Linux, MacOS and Windows](https://github.com/openvmp/partcad/actions/workflows/python-build.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-build.yml)
[![Deployment to PyPI](https://github.com/openvmp/partcad/actions/workflows/python-deploy.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-deploy.yml)
[![Documentation Status](https://readthedocs.org/projects/partcad/badge/?version=latest)](https://partcad.readthedocs.io/en/latest/?badge=latest)
<a href="https://discord.gg/AXbP47zYw5"><img alt="Discord" src="https://img.shields.io/discord/1091497262733074534?logo=discord&logoColor=white&label=Discord&labelColor=353c43&color=31c151"></a>

PartCAD is the first package manager for CAD models
and a framework for managing assemblies.
It complements 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.

Find [more documentation here](https://partcad.readthedocs.io/en/latest/?badge=latest) and visit [our website](https://partcad.org/).

## Installation

### Extension for Visual Studio Code

This extension can be installed by searching for `PartCAD` in VS Code extension search form, or by browsing [its VS Code marketplace page](https://marketplace.visualstudio.com/items?itemName=OpenVMP.partcad).

### Command-Line Interface

The recommended method to install PartCAD CLI tools for most users is:

```shell
pip install -U partcad-cli
```

For contributors:

```shell
git clone https://github.com/openvmp/partcad.git
cd partcad
python3 -m pip install -U -e ./partcad
python3 -m pip install -U -e ./partcad-cli
```

PartCAD works best when [conda](https://docs.conda.io/) is installed.
If that doesn't help (e.g. MacOS+arm64) then try ``mamba``.
On Windows, PartCAD requires at least a `conda` environment.
On Ubuntu, try `apt install libcairo2-dev` if `pip install` fails to install `cairo`.

## Architecture

![Architecture](https://github.com/openvmp/partcad/blob/main/docs/source/images/architecture.png?raw=true)

## Tools for Mechanical Engineering

Here is an overview of the open-source tools to maintain
mechanical projects. It demonstrates where this framework fits
in the modern mechanical development workflows.

```mermaid
flowchart TB

subgraph repo["Your project's GIT repository"]
  subgraph custom_repo["Custom parts"]
    direction TB
    custom_part_internet["A STEP file\ndownloaded from Internet\nor the vendor site"]
    custom_part_cad["A part exported as a solid\nfrom a CAD tool not\nsuitable for collaboration"]
    custom_part_cq["An individual reusable part\nmaintained as a script\nunder a version control system"]
    custom_part_os["Another reusable part\nmaintained as a script\nunder a version control system"]
  end

  model["Your project's model defined\nas ASSY or Python code\nfor version control\nand collaboration"]

  subgraph scenes["Scenes"]
    test1["Capability 1\ntest scene"]
    test2["Capability 2\ntest scene"]
  end
end

subgraph external_repos["Third-party GIT repositories,\nCDN-hosted files or OCCI servers"]
  subgraph external_repo["Repository of standard\nor popular parts"]
  end
end

subgraph external_tools["External tools"]
  freecad["FreeCAD"]
  cadquery["CadQuery / build123d"]
  openscad["OpenSCAD"]
  gazebo["Gazebo"]

  partcad["PartCAD library"]
  style partcad fill:#c00
end

custom_part_cad <--- |Individual\ncontributor|freecad
custom_part_cq <--- |Part design\nworkflow| cadquery
custom_part_os <--- |Part design\nworkflow| openscad

external_repo ---> |Import| model
custom_repo ---> |Import| model
model -.-> |Import| test1
model -.-> |Import| test2

custom_repo <-. Maintained\nusing\nPartCAD\nconvention .- partcad
external_repo <-. Maintained\nusing\nPartCAD\nconvention .- partcad
model <--- partcad
test1 <--- partcad
test2 <--- partcad

test1 -.-> |Export| gazebo
test2 -.-> |Export| gazebo
```

[CadQuery]: https://github.com/CadQuery/cadquery
[build123d]: https://github.com/gumyr/build123d
[STEP]: https://en.wikipedia.org/wiki/ISO_10303
[OpenCASCADE]: https://www.opencascade.com/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "partcad-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Roman Kuzmenko <openvmp@proton.me>",
    "keywords": "cadquery, build123d, cad, design, openscad, step, stl",
    "author": null,
    "author_email": "Roman Kuzmenko <openvmp@proton.me>",
    "download_url": "https://files.pythonhosted.org/packages/24/f0/213305536052226eac1846d8664462c94fc276d774442ebf8b74a76a1014/partcad_cli-0.5.22.tar.gz",
    "platform": null,
    "description": "# PartCAD <!-- omit in toc -->\n\n[![License](https://github.com/openvmp/partcad/blob/main/apache20.svg?raw=true)](./LICENSE.txt)\n\n[![CI on Linux, MacOS and Windows](https://github.com/openvmp/partcad/actions/workflows/python-test.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-test.yml)\n[![CD on Linux, MacOS and Windows](https://github.com/openvmp/partcad/actions/workflows/python-build.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-build.yml)\n[![Deployment to PyPI](https://github.com/openvmp/partcad/actions/workflows/python-deploy.yml/badge.svg)](https://github.com/openvmp/partcad/actions/workflows/python-deploy.yml)\n[![Documentation Status](https://readthedocs.org/projects/partcad/badge/?version=latest)](https://partcad.readthedocs.io/en/latest/?badge=latest)\n<a href=\"https://discord.gg/AXbP47zYw5\"><img alt=\"Discord\" src=\"https://img.shields.io/discord/1091497262733074534?logo=discord&logoColor=white&label=Discord&labelColor=353c43&color=31c151\"></a>\n\nPartCAD is the first package manager for CAD models\nand a framework for managing assemblies.\nIt complements Git with everything necessary to substitute\ncommercial Product Lifecycle Management (PLM) tools.\n\nPartCAD maintains information about mechanical parts and\nhow they come together to form larger assemblies.\nThe same parts are reused in multiple assemblies and multiple projects.\nAnd all of that is supercharged by the ultimate versioning and collaboration features of Git.\n\nFind [more documentation here](https://partcad.readthedocs.io/en/latest/?badge=latest) and visit [our website](https://partcad.org/).\n\n## Installation\n\n### Extension for Visual Studio Code\n\nThis extension can be installed by searching for `PartCAD` in VS Code extension search form, or by browsing [its VS Code marketplace page](https://marketplace.visualstudio.com/items?itemName=OpenVMP.partcad).\n\n### Command-Line Interface\n\nThe recommended method to install PartCAD CLI tools for most users is:\n\n```shell\npip install -U partcad-cli\n```\n\nFor contributors:\n\n```shell\ngit clone https://github.com/openvmp/partcad.git\ncd partcad\npython3 -m pip install -U -e ./partcad\npython3 -m pip install -U -e ./partcad-cli\n```\n\nPartCAD works best when [conda](https://docs.conda.io/) is installed.\nIf that doesn't help (e.g. MacOS+arm64) then try ``mamba``.\nOn Windows, PartCAD requires at least a `conda` environment.\nOn Ubuntu, try `apt install libcairo2-dev` if `pip install` fails to install `cairo`.\n\n## Architecture\n\n![Architecture](https://github.com/openvmp/partcad/blob/main/docs/source/images/architecture.png?raw=true)\n\n## Tools for Mechanical Engineering\n\nHere is an overview of the open-source tools to maintain\nmechanical projects. It demonstrates where this framework fits\nin the modern mechanical development workflows.\n\n```mermaid\nflowchart TB\n\nsubgraph repo[\"Your project's GIT repository\"]\n  subgraph custom_repo[\"Custom parts\"]\n    direction TB\n    custom_part_internet[\"A STEP file\\ndownloaded from Internet\\nor the vendor site\"]\n    custom_part_cad[\"A part exported as a solid\\nfrom a CAD tool not\\nsuitable for collaboration\"]\n    custom_part_cq[\"An individual reusable part\\nmaintained as a script\\nunder a version control system\"]\n    custom_part_os[\"Another reusable part\\nmaintained as a script\\nunder a version control system\"]\n  end\n\n  model[\"Your project's model defined\\nas ASSY or Python code\\nfor version control\\nand collaboration\"]\n\n  subgraph scenes[\"Scenes\"]\n    test1[\"Capability 1\\ntest scene\"]\n    test2[\"Capability 2\\ntest scene\"]\n  end\nend\n\nsubgraph external_repos[\"Third-party GIT repositories,\\nCDN-hosted files or OCCI servers\"]\n  subgraph external_repo[\"Repository of standard\\nor popular parts\"]\n  end\nend\n\nsubgraph external_tools[\"External tools\"]\n  freecad[\"FreeCAD\"]\n  cadquery[\"CadQuery / build123d\"]\n  openscad[\"OpenSCAD\"]\n  gazebo[\"Gazebo\"]\n\n  partcad[\"PartCAD library\"]\n  style partcad fill:#c00\nend\n\ncustom_part_cad <--- |Individual\\ncontributor|freecad\ncustom_part_cq <--- |Part design\\nworkflow| cadquery\ncustom_part_os <--- |Part design\\nworkflow| openscad\n\nexternal_repo ---> |Import| model\ncustom_repo ---> |Import| model\nmodel -.-> |Import| test1\nmodel -.-> |Import| test2\n\ncustom_repo <-. Maintained\\nusing\\nPartCAD\\nconvention .- partcad\nexternal_repo <-. Maintained\\nusing\\nPartCAD\\nconvention .- partcad\nmodel <--- partcad\ntest1 <--- partcad\ntest2 <--- partcad\n\ntest1 -.-> |Export| gazebo\ntest2 -.-> |Export| gazebo\n```\n\n[CadQuery]: https://github.com/CadQuery/cadquery\n[build123d]: https://github.com/gumyr/build123d\n[STEP]: https://en.wikipedia.org/wiki/ISO_10303\n[OpenCASCADE]: https://www.opencascade.com/\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Command-line interface to PartCAD",
    "version": "0.5.22",
    "project_urls": {
        "Homepage": "https://github.com/openvmp/partcad",
        "Issues": "https://github.com/openvmp/partcad/issues"
    },
    "split_keywords": [
        "cadquery",
        " build123d",
        " cad",
        " design",
        " openscad",
        " step",
        " stl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "febe1545fdf53ee82a3292b61b13036430504793b90991a7acfce39fa5df388d",
                "md5": "50c3b9c3601eab5187d85e82992ad5dd",
                "sha256": "986dea1db1786d7b20ec656947e244e33d87fc64e1f59b50e1b14891e2a0939f"
            },
            "downloads": -1,
            "filename": "partcad_cli-0.5.22-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "50c3b9c3601eab5187d85e82992ad5dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 12258,
            "upload_time": "2024-04-15T00:13:45",
            "upload_time_iso_8601": "2024-04-15T00:13:45.837469Z",
            "url": "https://files.pythonhosted.org/packages/fe/be/1545fdf53ee82a3292b61b13036430504793b90991a7acfce39fa5df388d/partcad_cli-0.5.22-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24f0213305536052226eac1846d8664462c94fc276d774442ebf8b74a76a1014",
                "md5": "c881c8f482aae4956a2e4a9549cee975",
                "sha256": "002319f628d2e2c2ea1528f392a5c455a5ecad82e9390e76def3d1844548e6d2"
            },
            "downloads": -1,
            "filename": "partcad_cli-0.5.22.tar.gz",
            "has_sig": false,
            "md5_digest": "c881c8f482aae4956a2e4a9549cee975",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 10862,
            "upload_time": "2024-04-15T00:13:48",
            "upload_time_iso_8601": "2024-04-15T00:13:48.996679Z",
            "url": "https://files.pythonhosted.org/packages/24/f0/213305536052226eac1846d8664462c94fc276d774442ebf8b74a76a1014/partcad_cli-0.5.22.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 00:13:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openvmp",
    "github_project": "partcad",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "partcad-cli"
}
        
Elapsed time: 0.26935s