File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/ansys/geometry/core/_grpc/_services/v0 Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 2121# SOFTWARE.
2222"""Module containing the Prepare Tools service implementation for v0."""
2323
24- import grpc
25-
24+ from ansys .api .geometry .v0 .models_pb2 import Body
2625from ansys .api .geometry .v0 .preparetools_pb2 import (
2726 CreateEnclosureBoxRequest ,
2827 CreateEnclosureCylinderRequest ,
2928 CreateEnclosureSphereRequest ,
29+ EnclosureOptions as GRPCEnclosureOptions ,
3030)
31- from ansys .api .geometry .v0 .models_pb2 import Body
32- from ansys .api .geometry .v0 .preparetools_pb2 import EnclosureOptions as GRPCEnclosureOptions
31+ import grpc
3332
3433from ansys .geometry .core .errors import protect_grpc
35- from ansys .geometry .core .tools .prepare_tools import EnclosureOptions
3634
3735from ..base .conversions import from_measurement_to_server_length
3836from ..base .prepare_tools import GRPCPrepareToolsService
@@ -385,7 +383,7 @@ def create_sphere_enclosure(self, **kwargs) -> dict: # noqa: D102
385383 bodies = [Body (id = body .id ) for body in kwargs ["bodies" ]],
386384 radial_distance = kwargs ["radial_distance" ],
387385 enclosure_options = grpc_enclosure_options ,
388- )
386+ )
389387
390388 # Call the gRPC service
391389 response = self .stub .CreateEnclosureSphere (request )
You can’t perform that action at this time.
0 commit comments