Examples#
These examples demonstrate the behavior and usage of PyAnsys Geometry.
PyAnsys Geometry 101 examples#
These examples demonstrate basic operations you can perform with PyAnsys Geometry.
Sketching examples#
These examples demonstrate math operations on geometric objects and sketching capabilities, combined with server-based operations.
Modeling examples#
These examples demonstrate service-based modeling operations.
Modeling examples

Modeling: Single body with material assignment

Modeling: Rectangular plate with multiple bodies

Modeling: Extruded plate with cut operations

Modeling: Tessellation of two bodies

Modeling: Design organization

Modeling: Boolean operations

Modeling: Scale, map and mirror bodies

Modeling: Sweep chain and sweep sketch

Modeling: Revolving a sketch

Modeling: Exporting designs

Modeling: Visualization of the design tree on terminal

Modeling: Body color assignment and usage

Modeling: Surface bodies and trimmed surfaces

Modeling: Using design parameters

Modeling: Chamfer edges and faces
Applied examples#
These examples demonstrate the usage of PyAnsys Geometry for real-world applications.