Streamlining CAD Operations with PyGeometry: A Python Client Library for Remote Geometry Services

Streamlining CAD Operations with PyGeometry: A Python Client Library for Remote Geometry Services

Tuesday, November 7, 2023 1:20 PM to 1:40 PM · 20 min. (America/New_York)
Geometry & Meshing
Breakout Session

Information

We present PyGeometry, a powerful Python package designed to facilitate seamless communication with the DBUs Geometry service through the gRPC protocol. This client library acts as an interface to a containerized Windows Docker image, with ongoing efforts to expand compatibility to Linux-based environments. PyGeometry leverages the strengths of PyVista for robust visualization capabilities while offloading resource-intensive CAD operations to the remote Geometry service. By adopting this approach, the client package ensures efficient utilization of computational resources, enabling users to focus on their core tasks. Furthermore, the library includes a comprehensive suite of evaluation features and sketching capabilities implemented client-side, empowering users with a rich set of tools for model creation. The genesis of PyGeometry stemmed from a specific customer demand, necessitating the development of a headless service with remote accessibility. This project fostered collaboration between two distinct business units within our organization, exemplifying our commitment to innovation and cross-functional synergy. One of the primary advantages of PyGeometry lies in its intuitive API, designed to empower users with limited CAD experience. Through a user-friendly interface, individuals can effortlessly create intricate models, simplifying the CAD workflow and democratizing access to CAD functionality within our organization. Moreover, PyGeometry holds critical importance for our company as it serves as the foundation for all multi-physics simulations. By providing a seamless integration of CAD capabilities, this client library acts as the gateway to our comprehensive PyAnsys simulations workflow. In summary, PyGeometry represents a milestone achievement in our pursuit of delivering efficient and accessible CAD solutions. Its easy-to-use API, visualization capabilities, and remote geometry services make it an indispensable tool for users across the organization. As we continue to enhance and expand its functionalities, we remain committed to empowering our users with the tools they need to drive innovation and streamline their workflows.

Log in

See all the content and easy-to-use features by logging in or registering!