MeasurementTools
#
- class ansys.geometry.core.tools.measurement_tools.MeasurementTools(grpc_client: ansys.geometry.core.connection.GrpcClient)#
Measurement tools for PyAnsys Geometry.
- Parameters:
- grpc_client
GrpcClient
gRPC client to use for the measurement tools.
- grpc_client
Overview#
Find the gap between two bodies. |
Import detail#
from ansys.geometry.core.tools.measurement_tools import MeasurementTools
Method detail#
- MeasurementTools.min_distance_between_objects(object1: ansys.geometry.core.designer.body.Body | ansys.geometry.core.designer.face.Face | ansys.geometry.core.designer.edge.Edge, object2: ansys.geometry.core.designer.body.Body | ansys.geometry.core.designer.face.Face | ansys.geometry.core.designer.edge.Edge) Gap #
Find the gap between two bodies.
- Parameters:
- object1
Union
[Body
,Face
,Edge
] First object to measure the gap.
- object2
Union
[Body
,Face
,Edge
] Second object to measure the gap.
- object1
- Returns:
Gap
Gap between two bodies.