GeometryCommands#

class ansys.geometry.core.designer.geometry_commands.GeometryCommands(grpc_client: ansys.geometry.core.connection.GrpcClient)#

Provides geometry commands for PyAnsys Geometry.

Parameters:
grpc_clientGrpcClient

gRPC client to use for the geometry commands.

Overview#

chamfer

Create a chamfer on an edge, or adjust the chamfer of a face.

Import detail#

from ansys.geometry.core.designer.geometry_commands import GeometryCommands

Method detail#

GeometryCommands.chamfer(selection: ansys.geometry.core.designer.edge.Edge | List[ansys.geometry.core.designer.edge.Edge] | ansys.geometry.core.designer.face.Face | List[ansys.geometry.core.designer.face.Face], distance: ansys.geometry.core.typing.Real) bool#

Create a chamfer on an edge, or adjust the chamfer of a face.

Parameters:
selectionEdge | list[Edge] | Face | list[Face]

One or more edges or faces to act on.

distanceReal

Chamfer distance.

Returns:
bool

True when successful, False when failed.