{"id":21734626,"url":"https://github.com/ansys/pyansys-geometry","last_synced_at":"2025-04-05T04:08:19.053Z","repository":{"id":193546553,"uuid":"530531608","full_name":"ansys/pyansys-geometry","owner":"ansys","description":"A Python wrapper for Ansys Geometry Services","archived":false,"fork":false,"pushed_at":"2025-03-31T10:20:11.000Z","size":510693,"stargazers_count":55,"open_issues_count":42,"forks_count":17,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-31T11:26:10.324Z","etag":null,"topics":["3d","3d-models","ansys","cad","discovery","geometry","pyansys","python","spaceclaim"],"latest_commit_sha":null,"homepage":"https://geometry.docs.pyansys.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansys.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-30T06:45:39.000Z","updated_at":"2025-03-31T05:50:02.000Z","dependencies_parsed_at":"2023-11-13T08:33:13.378Z","dependency_job_id":"554d1464-ee81-47e3-ba83-703459a5bdd2","html_url":"https://github.com/ansys/pyansys-geometry","commit_stats":null,"previous_names":["ansys/pyansys-geometry"],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpyansys-geometry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpyansys-geometry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpyansys-geometry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpyansys-geometry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansys","download_url":"https://codeload.github.com/ansys/pyansys-geometry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284941,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","3d-models","ansys","cad","discovery","geometry","pyansys","python","spaceclaim"],"created_at":"2024-11-26T05:09:50.836Z","updated_at":"2025-04-05T04:08:19.029Z","avatar_url":"https://github.com/ansys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://raw.githubusercontent.com/ansys/pyansys-geometry/main/doc/source/_static/logo/logo.png\n   :target: https://github.com/ansys/pyansys-geometry\n   :alt: PyAnsys Geometry\n\n|\n\n|pyansys| |python| |MIT| |ruff|\n|codecov| |GH-CI| |pre-commit|\n|pypi| |pypi-downloads| |conda| |conda-downloads|\n\n.. |pyansys| image:: https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC\n   :target: https://docs.pyansys.com/\n   :alt: PyAnsys\n\n.. |python| image:: https://img.shields.io/pypi/pyversions/ansys-geometry-core?logo=pypi\n   :target: https://pypi.org/project/ansys-geometry-core/\n   :alt: Python\n\n.. |pypi| image:: https://img.shields.io/pypi/v/ansys-geometry-core.svg?logo=python\u0026logoColor=white\u0026label=PyPI\n   :target: https://pypi.org/project/ansys-geometry-core\n   :alt: PyPI\n\n.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/ansys-geometry-core?label=Conda\u0026logo=anaconda\u0026logoColor=white\n   :target: https://anaconda.org/conda-forge/ansys-geometry-core\n   :alt: Conda\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/ansys-geometry-core.svg?label=PyPI%20downloads\n   :target: https://pypi.org/project/ansys-geometry-core/\n   :alt: PyPI Downloads\n\n.. |conda-downloads| image:: https://img.shields.io/conda/dn/conda-forge/ansys-geometry-core?label=Conda%20downloads\n   :target: https://anaconda.org/conda-forge/ansys-geometry-core\n   :alt: Conda Downloads\n\n.. |codecov| image:: https://codecov.io/gh/ansys/pyansys-geometry/graph/badge.svg?token=UZIC7XT5WE\n   :target: https://codecov.io/gh/ansys/pyansys-geometry\n   :alt: Codecov\n\n.. |GH-CI| image:: https://github.com/ansys/pyansys-geometry/actions/workflows/ci_cd.yml/badge.svg\n   :target: https://github.com/ansys/pyansys-geometry/actions/workflows/ci_cd.yml\n   :alt: GH-CI\n\n.. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n   :target: https://opensource.org/blog/license/mit\n   :alt: MIT\n\n.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n   :target: https://github.com/astral-sh/ruff\n   :alt: Ruff\n\n.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/ansys/pyansys-geometry/main.svg\n   :target: https://results.pre-commit.ci/latest/github/ansys/pyansys-geometry/main\n   :alt: pre-commit.ci\n\n.. contents::\n\nOverview\n--------\n\nPyAnsys Geometry is a Python client library for the Ansys Geometry service, as well as other CAD Ansys products\nsuch as Ansys Discovery and Ansys SpaceClaim.\n\nInstallation\n^^^^^^^^^^^^\nYou can use `pip \u003chttps://pypi.org/project/pip/\u003e`_ to install PyAnsys Geometry.\n\n.. code:: bash\n\n    pip install ansys-geometry-core\n\nYou can also install PyAnsys Geometry from `Conda-Forge \u003chttps://anaconda.org/conda-forge/ansys-geometry-core\u003e`_:\n\n.. code:: bash\n\n   conda install -c conda-forge ansys-geometry-core\n\nTo install the latest development version, run these commands:\n\n.. code:: bash\n\n   git clone https://github.com/ansys/pyansys-geometry\n   cd pyansys-geometry\n   pip install -e .\n\nFor more information, see `Getting Started`_.\n\nBasic usage\n^^^^^^^^^^^\n\nThis code shows how to import PyAnsys Geometry and use some basic capabilities:\n\n.. code:: python\n\n   from ansys.geometry.core import launch_modeler\n   from ansys.geometry.core.math import Plane, Point3D, Point2D\n   from ansys.geometry.core.misc import UNITS, Distance\n   from ansys.geometry.core.sketch import Sketch\n\n   # Define a sketch\n   origin = Point3D([0, 0, 10])\n   plane = Plane(origin, direction_x=[1, 0, 0], direction_y=[0, 1, 0])\n\n   # Create a sketch\n   sketch = Sketch(plane)\n   sketch.circle(Point2D([1, 1]), 30 * UNITS.m)\n   sketch.plot()\n\n   # Start a modeler session\n   modeler = launch_modeler()\n\n   # Create a design\n   design = modeler.create_design(\"ModelingDemo\")\n\n   # Create a body directly on the design by extruding the sketch\n   body = design.extrude_sketch(\n       name=\"CylinderBody\", sketch=sketch, distance=Distance(80, unit=UNITS.m)\n   )\n\n   # Plot the body\n   design.plot()\n\n   # Export the model to SCDOCX format\n   file_path = design.export_to_scdocx()\n\nFor comprehensive usage information, see `Examples`_ in the `PyAnsys Geometry documentation`_.\n\nDocumentation and issues\n^^^^^^^^^^^^^^^^^^^^^^^^\nDocumentation for the latest stable release of PyAnsys Geometry is hosted at `PyAnsys Geometry documentation`_.\n\nIn the upper right corner of the documentation's title bar, there is an option for switching from\nviewing the documentation for the latest stable release to viewing the documentation for the\ndevelopment version or previously released versions.\n\nOn the `PyAnsys Geometry Issues \u003chttps://github.com/ansys/pyansys-geometry/issues\u003e`_ page,\nyou can create issues to report bugs and request new features. On the `PyAnsys Geometry Discussions\n\u003chttps://github.com/ansys/pyansys-geometry/discussions\u003e`_ page or the `Discussions \u003chttps://discuss.ansys.com/\u003e`_\npage on the Ansys Developer portal, you can post questions, share ideas, and get community feedback.\n\nTo reach the project support team, email `pyansys.core@ansys.com \u003cmailto:pyansys.core@ansys.com\u003e`_.\n\n\n.. LINKS AND REFERENCES\n.. _Getting Started: https://geometry.docs.pyansys.com/version/stable/getting_started/index.html\n.. _Examples: https://geometry.docs.pyansys.com/version/stable/examples.html\n.. _PyAnsys Geometry documentation: https://geometry.docs.pyansys.com/version/stable/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansys%2Fpyansys-geometry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansys%2Fpyansys-geometry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansys%2Fpyansys-geometry/lists"}