luminarycloud 0.17.0__py3-none-any.whl → 0.18.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- luminarycloud/_client/client.py +3 -0
- luminarycloud/_helpers/_create_geometry.py +134 -32
- luminarycloud/_helpers/cond.py +0 -1
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +146 -123
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +81 -8
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +12 -7
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.py +246 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.pyi +420 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.py +240 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.pyi +90 -0
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.py +54 -3
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.pyi +92 -1
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2_grpc.py +132 -0
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2_grpc.pyi +40 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.py +48 -26
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.pyi +30 -2
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2_grpc.py +36 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2_grpc.pyi +18 -0
- luminarycloud/_proto/client/simulation_pb2.py +261 -251
- luminarycloud/_proto/client/simulation_pb2.pyi +35 -2
- luminarycloud/_proto/frontend/output/output_pb2.py +24 -24
- luminarycloud/_proto/frontend/output/output_pb2.pyi +6 -3
- luminarycloud/_proto/geometry/geometry_pb2.py +63 -63
- luminarycloud/_proto/geometry/geometry_pb2.pyi +14 -4
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +12 -7
- luminarycloud/enum/geometry_status.py +15 -8
- luminarycloud/enum/pipeline_job_status.py +23 -0
- luminarycloud/feature_modification.py +3 -1
- luminarycloud/geometry.py +12 -0
- luminarycloud/geometry_version.py +23 -0
- luminarycloud/params/enum/_enum_wrappers.py +29 -0
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/fan_curve_inlet_.py +1 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/mach_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/mass_flow_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/total_pressure_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/velocity_magnitude_inlet_.py +5 -1
- luminarycloud/physics_ai/inference.py +46 -30
- luminarycloud/pipelines/__init__.py +7 -0
- luminarycloud/pipelines/api.py +213 -0
- luminarycloud/project.py +65 -5
- luminarycloud/simulation_template.py +15 -6
- luminarycloud/vis/__init__.py +4 -0
- luminarycloud/vis/interactive_inference.py +153 -0
- luminarycloud/vis/interactive_scene.py +35 -16
- luminarycloud/vis/primitives.py +9 -0
- luminarycloud/vis/visualization.py +6 -0
- luminarycloud/volume_selection.py +3 -2
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.0.dist-info}/METADATA +18 -18
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.0.dist-info}/RECORD +54 -47
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.0.dist-info}/WHEEL +0 -0
|
@@ -2329,6 +2329,10 @@ class _DirectionSpecificationEnumTypeWrapper(google.protobuf.internal.enum_type_
|
|
|
2329
2329
|
"""Impose a flow direction normal to the inlet boundary toward the interior of the domain."""
|
|
2330
2330
|
DIRECTION_VECTOR: _DirectionSpecification.ValueType # 27183
|
|
2331
2331
|
"""Specify a vector for the inlet flow direction."""
|
|
2332
|
+
CYLINDRICAL_DIRECTIONS: _DirectionSpecification.ValueType # 3722
|
|
2333
|
+
"""Specify the inlet flow direction in a cylindrical coordinate system whose main axis
|
|
2334
|
+
is defined by the z axis of the inlet frame.
|
|
2335
|
+
"""
|
|
2332
2336
|
|
|
2333
2337
|
class DirectionSpecification(_DirectionSpecification, metaclass=_DirectionSpecificationEnumTypeWrapper): ...
|
|
2334
2338
|
|
|
@@ -2337,8 +2341,33 @@ NORMAL_TO_BOUNDARY: DirectionSpecification.ValueType # 54246
|
|
|
2337
2341
|
"""Impose a flow direction normal to the inlet boundary toward the interior of the domain."""
|
|
2338
2342
|
DIRECTION_VECTOR: DirectionSpecification.ValueType # 27183
|
|
2339
2343
|
"""Specify a vector for the inlet flow direction."""
|
|
2344
|
+
CYLINDRICAL_DIRECTIONS: DirectionSpecification.ValueType # 3722
|
|
2345
|
+
"""Specify the inlet flow direction in a cylindrical coordinate system whose main axis
|
|
2346
|
+
is defined by the z axis of the inlet frame.
|
|
2347
|
+
"""
|
|
2340
2348
|
global___DirectionSpecification = DirectionSpecification
|
|
2341
2349
|
|
|
2350
|
+
class _DirectionFrame:
|
|
2351
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
2352
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
2353
|
+
|
|
2354
|
+
class _DirectionFrameEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DirectionFrame.ValueType], builtins.type): # noqa: F821
|
|
2355
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
2356
|
+
INVALID_DIRECTION_FRAME: _DirectionFrame.ValueType # 0
|
|
2357
|
+
DIRECTION_FRAME_GLOBAL: _DirectionFrame.ValueType # 47538
|
|
2358
|
+
"""The direction vectors are defined by the global frame."""
|
|
2359
|
+
DIRECTION_FRAME_BOUNDARY: _DirectionFrame.ValueType # 58481
|
|
2360
|
+
"""The direction vectors are defined by the frame to which the boundary surfaces are attached."""
|
|
2361
|
+
|
|
2362
|
+
class DirectionFrame(_DirectionFrame, metaclass=_DirectionFrameEnumTypeWrapper): ...
|
|
2363
|
+
|
|
2364
|
+
INVALID_DIRECTION_FRAME: DirectionFrame.ValueType # 0
|
|
2365
|
+
DIRECTION_FRAME_GLOBAL: DirectionFrame.ValueType # 47538
|
|
2366
|
+
"""The direction vectors are defined by the global frame."""
|
|
2367
|
+
DIRECTION_FRAME_BOUNDARY: DirectionFrame.ValueType # 58481
|
|
2368
|
+
"""The direction vectors are defined by the frame to which the boundary surfaces are attached."""
|
|
2369
|
+
global___DirectionFrame = DirectionFrame
|
|
2370
|
+
|
|
2342
2371
|
class _InletEnergy:
|
|
2343
2372
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
2344
2373
|
V: typing_extensions.TypeAlias = ValueType
|
|
@@ -5047,6 +5076,7 @@ class BoundaryConditionsFluid(google.protobuf.message.Message):
|
|
|
5047
5076
|
MASS_FLOW_RATE_FIELD_NUMBER: builtins.int
|
|
5048
5077
|
TOTAL_PRESSURE_FIELD_NUMBER: builtins.int
|
|
5049
5078
|
DIRECTION_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
5079
|
+
DIRECTION_FRAME_FIELD_NUMBER: builtins.int
|
|
5050
5080
|
FLOW_DIRECTION_FIELD_NUMBER: builtins.int
|
|
5051
5081
|
PROFILE_BC_FIELD_NUMBER: builtins.int
|
|
5052
5082
|
PROFILE_BC_DATA_FIELD_NUMBER: builtins.int
|
|
@@ -5149,9 +5179,11 @@ class BoundaryConditionsFluid(google.protobuf.message.Message):
|
|
|
5149
5179
|
"""Total pressure at the boundary relative to the material reference pressure."""
|
|
5150
5180
|
direction_specification: global___DirectionSpecification.ValueType
|
|
5151
5181
|
"""Method of defining the flow direction at the inlet."""
|
|
5182
|
+
direction_frame: global___DirectionFrame.ValueType
|
|
5183
|
+
"""Frame used to define the flow direction."""
|
|
5152
5184
|
@property
|
|
5153
5185
|
def flow_direction(self) -> luminarycloud._proto.base.base_pb2.AdVector3:
|
|
5154
|
-
"""Vector (x,y,z) defining the flow direction. Automatically scaled to a unit vector internally."""
|
|
5186
|
+
"""Vector (x,y,z) or (ρ,φ,z) defining the flow direction. Automatically scaled to a unit vector internally."""
|
|
5155
5187
|
profile_bc: builtins.bool
|
|
5156
5188
|
"""Turn on or off the ability to use tabulated data to define spatially varying boundary conditions."""
|
|
5157
5189
|
profile_bc_data: builtins.str
|
|
@@ -5270,6 +5302,7 @@ class BoundaryConditionsFluid(google.protobuf.message.Message):
|
|
|
5270
5302
|
mass_flow_rate: luminarycloud._proto.base.base_pb2.AdFloatType | None = ...,
|
|
5271
5303
|
total_pressure: luminarycloud._proto.base.base_pb2.AdFloatType | None = ...,
|
|
5272
5304
|
direction_specification: global___DirectionSpecification.ValueType = ...,
|
|
5305
|
+
direction_frame: global___DirectionFrame.ValueType = ...,
|
|
5273
5306
|
flow_direction: luminarycloud._proto.base.base_pb2.AdVector3 | None = ...,
|
|
5274
5307
|
profile_bc: builtins.bool = ...,
|
|
5275
5308
|
profile_bc_data: builtins.str = ...,
|
|
@@ -5307,7 +5340,7 @@ class BoundaryConditionsFluid(google.protobuf.message.Message):
|
|
|
5307
5340
|
bc_omega_col: luminarycloud._proto.base.base_pb2.Int | None = ...,
|
|
5308
5341
|
) -> None: ...
|
|
5309
5342
|
def HasField(self, field_name: typing_extensions.Literal["bc_nu_tilde_col", b"bc_nu_tilde_col", "bc_omega_col", b"bc_omega_col", "bc_tke_col", b"bc_tke_col", "bc_uniform_nu_tilde", b"bc_uniform_nu_tilde", "bc_uniform_omega", b"bc_uniform_omega", "bc_uniform_tke", b"bc_uniform_tke", "equivalent_sand_grain_roughness", b"equivalent_sand_grain_roughness", "farfield_angle_alpha", b"farfield_angle_alpha", "farfield_angle_beta", b"farfield_angle_beta", "farfield_flow_direction", b"farfield_flow_direction", "farfield_mach_number", b"farfield_mach_number", "farfield_pressure", b"farfield_pressure", "farfield_temperature", b"farfield_temperature", "farfield_velocity_magnitude", b"farfield_velocity_magnitude", "fixed_heat_flux", b"fixed_heat_flux", "fixed_integrated_heat_flux", b"fixed_integrated_heat_flux", "fixed_temperature", b"fixed_temperature", "flow_direction", b"flow_direction", "head_loss_coefficient", b"head_loss_coefficient", "heat_transfer_coefficient", b"heat_transfer_coefficient", "inlet_velocity_components", b"inlet_velocity_components", "inlet_velocity_magnitude", b"inlet_velocity_magnitude", "inlet_velocity_magnitude_col", b"inlet_velocity_magnitude_col", "mass_flow_rate", b"mass_flow_rate", "outlet_pressure", b"outlet_pressure", "outlet_reference_pressure", b"outlet_reference_pressure", "outlet_reference_temperature", b"outlet_reference_temperature", "outlet_target_mass_flow_rate", b"outlet_target_mass_flow_rate", "total_pressure", b"total_pressure", "total_pressure_col", b"total_pressure_col", "total_temperature", b"total_temperature", "total_temperature_col", b"total_temperature_col", "turbulence_intensity", b"turbulence_intensity", "turbulent_viscosity", b"turbulent_viscosity", "turbulent_viscosity_ratio", b"turbulent_viscosity_ratio", "wall_movement_angular_velocity", b"wall_movement_angular_velocity", "wall_movement_rotation_center", b"wall_movement_rotation_center", "wall_movement_translation", b"wall_movement_translation"]) -> builtins.bool: ...
|
|
5310
|
-
def ClearField(self, field_name: typing_extensions.Literal["bc_nu_tilde_col", b"bc_nu_tilde_col", "bc_omega_col", b"bc_omega_col", "bc_tke_col", b"bc_tke_col", "bc_uniform_nu_tilde", b"bc_uniform_nu_tilde", "bc_uniform_omega", b"bc_uniform_omega", "bc_uniform_tke", b"bc_uniform_tke", "boundary_condition_display_name", b"boundary_condition_display_name", "boundary_condition_interface_id", b"boundary_condition_interface_id", "boundary_condition_name", b"boundary_condition_name", "direction_specification", b"direction_specification", "equivalent_sand_grain_roughness", b"equivalent_sand_grain_roughness", "fan_curve_table_data", b"fan_curve_table_data", "far_field_flow_direction_specification", b"far_field_flow_direction_specification", "farfield_angle_alpha", b"farfield_angle_alpha", "farfield_angle_beta", b"farfield_angle_beta", "farfield_flow_direction", b"farfield_flow_direction", "farfield_mach_number", b"farfield_mach_number", "farfield_momentum", b"farfield_momentum", "farfield_pressure", b"farfield_pressure", "farfield_temperature", b"farfield_temperature", "farfield_velocity_magnitude", b"farfield_velocity_magnitude", "fixed_heat_flux", b"fixed_heat_flux", "fixed_integrated_heat_flux", b"fixed_integrated_heat_flux", "fixed_temperature", b"fixed_temperature", "flow_direction", b"flow_direction", "head_loss_coefficient", b"head_loss_coefficient", "heat_transfer_coefficient", b"heat_transfer_coefficient", "inlet_energy", b"inlet_energy", "inlet_momentum", b"inlet_momentum", "inlet_velocity_components", b"inlet_velocity_components", "inlet_velocity_magnitude", b"inlet_velocity_magnitude", "inlet_velocity_magnitude_col", b"inlet_velocity_magnitude_col", "mass_flow_rate", b"mass_flow_rate", "outlet_pressure", b"outlet_pressure", "outlet_pressure_constraint", b"outlet_pressure_constraint", "outlet_reference_pressure", b"outlet_reference_pressure", "outlet_reference_temperature", b"outlet_reference_temperature", "outlet_strategy", b"outlet_strategy", "outlet_target_mass_flow_rate", b"outlet_target_mass_flow_rate", "physical_boundary", b"physical_boundary", "profile_bc", b"profile_bc", "profile_bc_data", b"profile_bc_data", "profile_type", b"profile_type", "roughness_control", b"roughness_control", "surfaces", b"surfaces", "total_pressure", b"total_pressure", "total_pressure_col", b"total_pressure_col", "total_temperature", b"total_temperature", "total_temperature_col", b"total_temperature_col", "turbulence_intensity", b"turbulence_intensity", "turbulence_specification_komega", b"turbulence_specification_komega", "turbulence_specification_spalart_allmaras", b"turbulence_specification_spalart_allmaras", "turbulent_viscosity", b"turbulent_viscosity", "turbulent_viscosity_ratio", b"turbulent_viscosity_ratio", "wall_energy", b"wall_energy", "wall_momentum", b"wall_momentum", "wall_movement_angular_velocity", b"wall_movement_angular_velocity", "wall_movement_rotation_center", b"wall_movement_rotation_center", "wall_movement_translation", b"wall_movement_translation"]) -> None: ...
|
|
5343
|
+
def ClearField(self, field_name: typing_extensions.Literal["bc_nu_tilde_col", b"bc_nu_tilde_col", "bc_omega_col", b"bc_omega_col", "bc_tke_col", b"bc_tke_col", "bc_uniform_nu_tilde", b"bc_uniform_nu_tilde", "bc_uniform_omega", b"bc_uniform_omega", "bc_uniform_tke", b"bc_uniform_tke", "boundary_condition_display_name", b"boundary_condition_display_name", "boundary_condition_interface_id", b"boundary_condition_interface_id", "boundary_condition_name", b"boundary_condition_name", "direction_frame", b"direction_frame", "direction_specification", b"direction_specification", "equivalent_sand_grain_roughness", b"equivalent_sand_grain_roughness", "fan_curve_table_data", b"fan_curve_table_data", "far_field_flow_direction_specification", b"far_field_flow_direction_specification", "farfield_angle_alpha", b"farfield_angle_alpha", "farfield_angle_beta", b"farfield_angle_beta", "farfield_flow_direction", b"farfield_flow_direction", "farfield_mach_number", b"farfield_mach_number", "farfield_momentum", b"farfield_momentum", "farfield_pressure", b"farfield_pressure", "farfield_temperature", b"farfield_temperature", "farfield_velocity_magnitude", b"farfield_velocity_magnitude", "fixed_heat_flux", b"fixed_heat_flux", "fixed_integrated_heat_flux", b"fixed_integrated_heat_flux", "fixed_temperature", b"fixed_temperature", "flow_direction", b"flow_direction", "head_loss_coefficient", b"head_loss_coefficient", "heat_transfer_coefficient", b"heat_transfer_coefficient", "inlet_energy", b"inlet_energy", "inlet_momentum", b"inlet_momentum", "inlet_velocity_components", b"inlet_velocity_components", "inlet_velocity_magnitude", b"inlet_velocity_magnitude", "inlet_velocity_magnitude_col", b"inlet_velocity_magnitude_col", "mass_flow_rate", b"mass_flow_rate", "outlet_pressure", b"outlet_pressure", "outlet_pressure_constraint", b"outlet_pressure_constraint", "outlet_reference_pressure", b"outlet_reference_pressure", "outlet_reference_temperature", b"outlet_reference_temperature", "outlet_strategy", b"outlet_strategy", "outlet_target_mass_flow_rate", b"outlet_target_mass_flow_rate", "physical_boundary", b"physical_boundary", "profile_bc", b"profile_bc", "profile_bc_data", b"profile_bc_data", "profile_type", b"profile_type", "roughness_control", b"roughness_control", "surfaces", b"surfaces", "total_pressure", b"total_pressure", "total_pressure_col", b"total_pressure_col", "total_temperature", b"total_temperature", "total_temperature_col", b"total_temperature_col", "turbulence_intensity", b"turbulence_intensity", "turbulence_specification_komega", b"turbulence_specification_komega", "turbulence_specification_spalart_allmaras", b"turbulence_specification_spalart_allmaras", "turbulent_viscosity", b"turbulent_viscosity", "turbulent_viscosity_ratio", b"turbulent_viscosity_ratio", "wall_energy", b"wall_energy", "wall_momentum", b"wall_momentum", "wall_movement_angular_velocity", b"wall_movement_angular_velocity", "wall_movement_rotation_center", b"wall_movement_rotation_center", "wall_movement_translation", b"wall_movement_translation"]) -> None: ...
|
|
5311
5344
|
|
|
5312
5345
|
global___BoundaryConditionsFluid = BoundaryConditionsFluid
|
|
5313
5346
|
|
|
@@ -20,7 +20,7 @@ from luminarycloud._proto.output import reference_values_pb2 as proto_dot_output
|
|
|
20
20
|
from luminarycloud._proto.quantity import quantity_pb2 as proto_dot_quantity_dot_quantity__pb2
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"proto/frontend/output/output.proto\x12\x1eluminary.proto.frontend.output\x1a\x15proto/base/base.proto\x1a\x1bproto/options/options.proto\x1a\x19proto/output/output.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/quantity/quantity.proto\"\x98\x02\n\x12SurfaceAverageNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x05 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12>\n\x05props\x18\x02 \x01(\x0b\x32/.luminary.proto.output.SurfaceAverageProperties\x12 \n\x14include_time_average\x18\x03 \x01(\x08\x42\x02\x18\x01\x12!\n\x15include_instantaneous\x18\x04 \x01(\x08\x42\x02\x18\x01\"\x94\x02\n\tForceNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x35\n\x05props\x18\x02 \x01(\x0b\x32&.luminary.proto.output.ForceProperties\x12\x1f\n\x13include_dimensional\x18\x03 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x13include_coefficient\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\'\n\x1binclude_dimensional_average\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\'\n\x1binclude_coefficient_average\x18\x06 \x01(\x08\x42\x02\x18\x01\"\x80\x02\n\x0cResidualNode\x12\x38\n\x05props\x18\x01 \x01(\x0b\x32).luminary.proto.output.ResidualProperties\x12\x1c\n\x10res_type_enabled\x18\x02 \x03(\x08\x42\x02\x18\x01\x12Q\n\x0bres_enabled\x18\x03 \x03(\x0b\x32<.luminary.proto.frontend.output.ResidualNode.ResEnabledEntry\x12\x12\n\nphysics_id\x18\x04 \x01(\t\x1a\x31\n\x0fResEnabledEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"u\n\x16\x43onvergenceMonitorNode\x12\x1c\n\x14\x63onv_monitor_enabled\x18\x01 \x03(\x08\x12\x39\n\x05nodes\x18\x02 \x03(\x0b\x32*.luminary.proto.frontend.output.OutputNode:\x02\x18\x01\"z\n\tBasicNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12/\n\x05props\x18\x02 \x01(\x0b\x32 .luminary.proto.output.BasicType\"\xc5\x01\n\x0ePointProbeNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x03 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12\x34\n\x05props\x18\x02 \x01(\x0b\x32%.luminary.proto.output.PointProbeType\"\xd5\x01\n\x13VolumeReductionNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x03 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12?\n\x05props\x18\x02 \x01(\x0b\x32\x30.luminary.proto.output.VolumeReductionProperties\"d\n\x15\x44\x65rivedNodeDependency\x12\n\n\x02id\x18\x01 \x01(\t\x12?\n\x07include\x18\x02 \x01(\x0e\x32..luminary.proto.frontend.output.OutputIncludes\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"proto/frontend/output/output.proto\x12\x1eluminary.proto.frontend.output\x1a\x15proto/base/base.proto\x1a\x1bproto/options/options.proto\x1a\x19proto/output/output.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/quantity/quantity.proto\"\x98\x02\n\x12SurfaceAverageNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x05 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12>\n\x05props\x18\x02 \x01(\x0b\x32/.luminary.proto.output.SurfaceAverageProperties\x12 \n\x14include_time_average\x18\x03 \x01(\x08\x42\x02\x18\x01\x12!\n\x15include_instantaneous\x18\x04 \x01(\x08\x42\x02\x18\x01\"\x94\x02\n\tForceNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x35\n\x05props\x18\x02 \x01(\x0b\x32&.luminary.proto.output.ForceProperties\x12\x1f\n\x13include_dimensional\x18\x03 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x13include_coefficient\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\'\n\x1binclude_dimensional_average\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\'\n\x1binclude_coefficient_average\x18\x06 \x01(\x08\x42\x02\x18\x01\"\x80\x02\n\x0cResidualNode\x12\x38\n\x05props\x18\x01 \x01(\x0b\x32).luminary.proto.output.ResidualProperties\x12\x1c\n\x10res_type_enabled\x18\x02 \x03(\x08\x42\x02\x18\x01\x12Q\n\x0bres_enabled\x18\x03 \x03(\x0b\x32<.luminary.proto.frontend.output.ResidualNode.ResEnabledEntry\x12\x12\n\nphysics_id\x18\x04 \x01(\t\x1a\x31\n\x0fResEnabledEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"u\n\x16\x43onvergenceMonitorNode\x12\x1c\n\x14\x63onv_monitor_enabled\x18\x01 \x03(\x08\x12\x39\n\x05nodes\x18\x02 \x03(\x0b\x32*.luminary.proto.frontend.output.OutputNode:\x02\x18\x01\"z\n\tBasicNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12/\n\x05props\x18\x02 \x01(\x0b\x32 .luminary.proto.output.BasicType\"\xc5\x01\n\x0ePointProbeNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x03 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12\x34\n\x05props\x18\x02 \x01(\x0b\x32%.luminary.proto.output.PointProbeType\"\xd5\x01\n\x13VolumeReductionNode\x12<\n\rquantity_type\x18\x01 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12?\n\x10vector_component\x18\x03 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12?\n\x05props\x18\x02 \x01(\x0b\x32\x30.luminary.proto.output.VolumeReductionProperties\"d\n\x15\x44\x65rivedNodeDependency\x12\n\n\x02id\x18\x01 \x01(\t\x12?\n\x07include\x18\x02 \x01(\x0e\x32..luminary.proto.frontend.output.OutputIncludes\"\x99\x01\n\x11\x45xpressionElement\x12\x13\n\tsubstring\x18\x01 \x01(\tH\x00\x12K\n\ndependency\x18\x02 \x01(\x0b\x32\x35.luminary.proto.frontend.output.DerivedNodeDependencyH\x00\x12\x12\n\x08variable\x18\x03 \x01(\tH\x00\x42\x0e\n\x0c\x65lement_type\"b\n\x0b\x44\x65rivedNode\x12\x43\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x31.luminary.proto.frontend.output.ExpressionElement\x12\x0e\n\x06\x65rrors\x18\x02 \x03(\t\"\x9e\t\n\nOutputNode\x12M\n\x0fsurface_average\x18\x01 \x01(\x0b\x32\x32.luminary.proto.frontend.output.SurfaceAverageNodeH\x00\x12:\n\x05\x66orce\x18\x02 \x01(\x0b\x32).luminary.proto.frontend.output.ForceNodeH\x00\x12@\n\x08residual\x18\x03 \x01(\x0b\x32,.luminary.proto.frontend.output.ResidualNodeH\x00\x12N\n\x08\x63onv_mon\x18\t \x01(\x0b\x32\x36.luminary.proto.frontend.output.ConvergenceMonitorNodeB\x02\x18\x01H\x00\x12:\n\x05\x62\x61sic\x18\x0b \x01(\x0b\x32).luminary.proto.frontend.output.BasicNodeH\x00\x12\x45\n\x0bpoint_probe\x18\r \x01(\x0b\x32..luminary.proto.frontend.output.PointProbeNodeH\x00\x12>\n\x07\x64\x65rived\x18\x13 \x01(\x0b\x32+.luminary.proto.frontend.output.DerivedNodeH\x00\x12O\n\x10volume_reduction\x18\x14 \x01(\x0b\x32\x33.luminary.proto.frontend.output.VolumeReductionNodeH\x00\x12\x42\n\tcalc_type\x18\x04 \x01(\x0e\x32/.luminary.proto.frontend.output.CalculationType\x12\x19\n\x0bin_surfaces\x18\x05 \x03(\tB\x04\xa0\xb2\x19\x01\x12\x1a\n\x0cout_surfaces\x18\x06 \x03(\tB\x04\xa0\xb2\x19\x01\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\n\n\x02id\x18\x08 \x01(\t\x12\x0e\n\x06\x63hoice\x18\n \x01(\x05\x12=\n\x04type\x18\x0c \x01(\x0e\x32/.luminary.proto.frontend.output.OutputNode.Type\x12H\n\x07include\x18\x0e \x03(\x0b\x32\x37.luminary.proto.frontend.output.OutputNode.IncludeEntry\x12\x15\n\raverage_iters\x18\x0f \x01(\x05\x12\x16\n\x0e\x61nalysis_iters\x18\x10 \x01(\x05\x12\x17\n\x0ftrail_avg_iters\x18\x11 \x01(\x05\x12\x10\n\x08\x66rame_id\x18\x12 \x01(\t\x1a.\n\x0cIncludeEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\x98\x01\n\x04Type\x12\x17\n\x13INVALID_OUTPUT_TYPE\x10\x00\x12\x15\n\x11POINT_OUTPUT_TYPE\x10\x01\x12\x17\n\x13SURFACE_OUTPUT_TYPE\x10\x02\x12\x16\n\x12GLOBAL_OUTPUT_TYPE\x10\x03\x12\x17\n\x13\x44\x45RIVED_OUTPUT_TYPE\x10\x04\x12\x16\n\x12VOLUME_OUTPUT_TYPE\x10\x05\x42\x0c\n\nnode_props\"\xb7\x01\n\x0bOutputNodes\x12\x39\n\x05nodes\x18\x01 \x03(\x0b\x32*.luminary.proto.frontend.output.OutputNode\x12\x13\n\x0binitialized\x18\x02 \x01(\x08\x12@\n\x10reference_values\x18\x03 \x01(\x0b\x32&.luminary.proto.output.ReferenceValues\x12\x16\n\x0euse_ref_values\x18\x04 \x01(\x08\"K\n\x0b\x43ustomField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nexpression\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\x0e\n\x06\x65rrors\x18\x04 \x01(\t\"R\n\x0c\x43ustomFields\x12\x42\n\rcustom_fields\x18\x01 \x03(\x0b\x32+.luminary.proto.frontend.output.CustomField\"\xdd\x01\n\x11StoppingCondition\x12\x1a\n\x0elegacy_node_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x11\n\tthreshold\x18\x02 \x01(\x01\x12\x14\n\x0cn_iterations\x18\x03 \x01(\x05\x12\x10\n\x08start_at\x18\x04 \x01(\x05\x12\x38\n\x04node\x18\x05 \x01(\x0b\x32*.luminary.proto.frontend.output.OutputNode\x12\x11\n\x05inner\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\n\n\x02id\x18\x07 \x01(\t\x12\x18\n\x10n_analysis_iters\x18\x08 \x01(\x05\"\xde\x01\n\x12StoppingConditions\x12?\n\x04\x63ond\x18\x01 \x03(\x0b\x32\x31.luminary.proto.frontend.output.StoppingCondition\x12\x16\n\x0emax_iterations\x18\x02 \x01(\x05\x12\x19\n\x11max_physical_time\x18\x03 \x01(\x01\x12\x36\n\x02op\x18\x04 \x01(\x0e\x32*.luminary.proto.output.StoppingConditionOp\x12\x1c\n\x14max_inner_iterations\x18\x05 \x01(\x05*\x86\x02\n\x0eOutputIncludes\x12\x1a\n\x16INVALID_OUTPUT_INCLUDE\x10\x00\x12\x17\n\x13OUTPUT_INCLUDE_BASE\x10\x01\x12\x1f\n\x1bOUTPUT_INCLUDE_TIME_AVERAGE\x10\x02\x12\x1e\n\x1aOUTPUT_INCLUDE_COEFFICIENT\x10\x03\x12+\n\'OUTPUT_INCLUDE_COEFFICIENT_TIME_AVERAGE\x10\x04\x12\x1b\n\x17OUTPUT_INCLUDE_RESIDUAL\x10\x05\x12\x1a\n\x16OUTPUT_INCLUDE_MAX_DEV\x10\x06\x12\x18\n\x14OUTPUT_INCLUDE_INNER\x10\x07*\x83\x01\n\x0f\x43\x61lculationType\x12\x1c\n\x18INVALID_CALCULATION_TYPE\x10\x00\x12\x19\n\x15\x43\x41LCULATION_AGGREGATE\x10\x01\x12\x1b\n\x17\x43\x41LCULATION_PER_SURFACE\x10\x02\x12\x1a\n\x16\x43\x41LCULATION_DIFFERENCE\x10\x03\x42.Z,luminarycloud.com/core/proto/frontend/outputb\x06proto3')
|
|
24
24
|
|
|
25
25
|
_OUTPUTINCLUDES = DESCRIPTOR.enum_types_by_name['OutputIncludes']
|
|
26
26
|
OutputIncludes = enum_type_wrapper.EnumTypeWrapper(_OUTPUTINCLUDES)
|
|
@@ -221,10 +221,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
221
221
|
_STOPPINGCONDITION.fields_by_name['legacy_node_id']._serialized_options = b'\030\001'
|
|
222
222
|
_STOPPINGCONDITION.fields_by_name['inner']._options = None
|
|
223
223
|
_STOPPINGCONDITION.fields_by_name['inner']._serialized_options = b'\030\001'
|
|
224
|
-
_OUTPUTINCLUDES._serialized_start=
|
|
225
|
-
_OUTPUTINCLUDES._serialized_end=
|
|
226
|
-
_CALCULATIONTYPE._serialized_start=
|
|
227
|
-
_CALCULATIONTYPE._serialized_end=
|
|
224
|
+
_OUTPUTINCLUDES._serialized_start=4037
|
|
225
|
+
_OUTPUTINCLUDES._serialized_end=4299
|
|
226
|
+
_CALCULATIONTYPE._serialized_start=4302
|
|
227
|
+
_CALCULATIONTYPE._serialized_end=4433
|
|
228
228
|
_SURFACEAVERAGENODE._serialized_start=218
|
|
229
229
|
_SURFACEAVERAGENODE._serialized_end=498
|
|
230
230
|
_FORCENODE._serialized_start=501
|
|
@@ -244,23 +244,23 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
244
244
|
_DERIVEDNODEDEPENDENCY._serialized_start=1697
|
|
245
245
|
_DERIVEDNODEDEPENDENCY._serialized_end=1797
|
|
246
246
|
_EXPRESSIONELEMENT._serialized_start=1800
|
|
247
|
-
_EXPRESSIONELEMENT._serialized_end=
|
|
248
|
-
_DERIVEDNODE._serialized_start=
|
|
249
|
-
_DERIVEDNODE._serialized_end=
|
|
250
|
-
_OUTPUTNODE._serialized_start=
|
|
251
|
-
_OUTPUTNODE._serialized_end=
|
|
252
|
-
_OUTPUTNODE_INCLUDEENTRY._serialized_start=
|
|
253
|
-
_OUTPUTNODE_INCLUDEENTRY._serialized_end=
|
|
254
|
-
_OUTPUTNODE_TYPE._serialized_start=
|
|
255
|
-
_OUTPUTNODE_TYPE._serialized_end=
|
|
256
|
-
_OUTPUTNODES._serialized_start=
|
|
257
|
-
_OUTPUTNODES._serialized_end=
|
|
258
|
-
_CUSTOMFIELD._serialized_start=
|
|
259
|
-
_CUSTOMFIELD._serialized_end=
|
|
260
|
-
_CUSTOMFIELDS._serialized_start=
|
|
261
|
-
_CUSTOMFIELDS._serialized_end=
|
|
262
|
-
_STOPPINGCONDITION._serialized_start=
|
|
263
|
-
_STOPPINGCONDITION._serialized_end=
|
|
264
|
-
_STOPPINGCONDITIONS._serialized_start=
|
|
265
|
-
_STOPPINGCONDITIONS._serialized_end=
|
|
247
|
+
_EXPRESSIONELEMENT._serialized_end=1953
|
|
248
|
+
_DERIVEDNODE._serialized_start=1955
|
|
249
|
+
_DERIVEDNODE._serialized_end=2053
|
|
250
|
+
_OUTPUTNODE._serialized_start=2056
|
|
251
|
+
_OUTPUTNODE._serialized_end=3238
|
|
252
|
+
_OUTPUTNODE_INCLUDEENTRY._serialized_start=3023
|
|
253
|
+
_OUTPUTNODE_INCLUDEENTRY._serialized_end=3069
|
|
254
|
+
_OUTPUTNODE_TYPE._serialized_start=3072
|
|
255
|
+
_OUTPUTNODE_TYPE._serialized_end=3224
|
|
256
|
+
_OUTPUTNODES._serialized_start=3241
|
|
257
|
+
_OUTPUTNODES._serialized_end=3424
|
|
258
|
+
_CUSTOMFIELD._serialized_start=3426
|
|
259
|
+
_CUSTOMFIELD._serialized_end=3501
|
|
260
|
+
_CUSTOMFIELDS._serialized_start=3503
|
|
261
|
+
_CUSTOMFIELDS._serialized_end=3585
|
|
262
|
+
_STOPPINGCONDITION._serialized_start=3588
|
|
263
|
+
_STOPPINGCONDITION._serialized_end=3809
|
|
264
|
+
_STOPPINGCONDITIONS._serialized_start=3812
|
|
265
|
+
_STOPPINGCONDITIONS._serialized_end=4034
|
|
266
266
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -298,18 +298,21 @@ class ExpressionElement(google.protobuf.message.Message):
|
|
|
298
298
|
|
|
299
299
|
SUBSTRING_FIELD_NUMBER: builtins.int
|
|
300
300
|
DEPENDENCY_FIELD_NUMBER: builtins.int
|
|
301
|
+
VARIABLE_FIELD_NUMBER: builtins.int
|
|
301
302
|
substring: builtins.str
|
|
302
303
|
@property
|
|
303
304
|
def dependency(self) -> global___DerivedNodeDependency: ...
|
|
305
|
+
variable: builtins.str
|
|
304
306
|
def __init__(
|
|
305
307
|
self,
|
|
306
308
|
*,
|
|
307
309
|
substring: builtins.str = ...,
|
|
308
310
|
dependency: global___DerivedNodeDependency | None = ...,
|
|
311
|
+
variable: builtins.str = ...,
|
|
309
312
|
) -> None: ...
|
|
310
|
-
def HasField(self, field_name: typing_extensions.Literal["dependency", b"dependency", "element_type", b"element_type", "substring", b"substring"]) -> builtins.bool: ...
|
|
311
|
-
def ClearField(self, field_name: typing_extensions.Literal["dependency", b"dependency", "element_type", b"element_type", "substring", b"substring"]) -> None: ...
|
|
312
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["element_type", b"element_type"]) -> typing_extensions.Literal["substring", "dependency"] | None: ...
|
|
313
|
+
def HasField(self, field_name: typing_extensions.Literal["dependency", b"dependency", "element_type", b"element_type", "substring", b"substring", "variable", b"variable"]) -> builtins.bool: ...
|
|
314
|
+
def ClearField(self, field_name: typing_extensions.Literal["dependency", b"dependency", "element_type", b"element_type", "substring", b"substring", "variable", b"variable"]) -> None: ...
|
|
315
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["element_type", b"element_type"]) -> typing_extensions.Literal["substring", "dependency", "variable"] | None: ...
|
|
313
316
|
|
|
314
317
|
global___ExpressionElement = ExpressionElement
|
|
315
318
|
|
|
@@ -17,11 +17,11 @@ from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
|
17
17
|
from luminarycloud._proto.cad import boolean_pb2 as proto_dot_cad_dot_boolean__pb2
|
|
18
18
|
from luminarycloud._proto.cad import shape_pb2 as proto_dot_cad_dot_shape__pb2
|
|
19
19
|
from luminarycloud._proto.cad import transformation_pb2 as proto_dot_cad_dot_transformation__pb2
|
|
20
|
-
from luminarycloud._proto.parametricworker import parametricworker_pb2 as proto_dot_parametricworker_dot_parametricworker__pb2
|
|
21
20
|
from luminarycloud._proto.lcstatus import lcstatus_pb2 as proto_dot_lcstatus_dot_lcstatus__pb2
|
|
21
|
+
from luminarycloud._proto.parametricworker import parametricworker_pb2 as proto_dot_parametricworker_dot_parametricworker__pb2
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dproto/geometry/geometry.proto\x12\x17luminary.proto.geometry\x1a\x15proto/base/base.proto\x1a\x17proto/cad/boolean.proto\x1a\x15proto/cad/shape.proto\x1a\x1eproto/cad/transformation.proto\x1a
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dproto/geometry/geometry.proto\x12\x17luminary.proto.geometry\x1a\x15proto/base/base.proto\x1a\x17proto/cad/boolean.proto\x1a\x15proto/cad/shape.proto\x1a\x1eproto/cad/transformation.proto\x1a\x1dproto/lcstatus/lcstatus.proto\x1a-proto/parametricworker/parametricworker.proto\"\xcf\x01\n\x0eImportGeometry\x12\x14\n\x0cgeometry_url\x18\x01 \x01(\t\x12\x15\n\rscaling_float\x18\x02 \x01(\x01\x12\x31\n\x07scaling\x18\x06 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12>\n\nparameters\x18\x04 \x03(\x0b\x32*.luminary.proto.parametricworker.Parameter\x12\x17\n\x0fweb_geometry_id\x18\x05 \x01(\tJ\x04\x08\x03\x10\x04\"\xc0\x02\n\x06\x43reate\x12,\n\x06sphere\x18\x01 \x01(\x0b\x32\x1a.luminary.proto.cad.SphereH\x00\x12\'\n\x03\x62ox\x18\x02 \x01(\x0b\x32\x18.luminary.proto.cad.CubeH\x00\x12\x30\n\x08\x63ylinder\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.cad.CylinderH\x00\x12*\n\x05torus\x18\x04 \x01(\x0b\x32\x19.luminary.proto.cad.TorusH\x00\x12(\n\x04\x63one\x18\x05 \x01(\x0b\x32\x18.luminary.proto.cad.ConeH\x00\x12\x35\n\x0bhalf_sphere\x18\x06 \x01(\x0b\x32\x1e.luminary.proto.cad.HalfSphereH\x00\x12\x17\n\x0fresult_body_tag\x18\x07 \x01(\tB\x07\n\x05shape\"V\n\x06\x44\x65lete\x12\x31\n\x04type\x18\x01 \x01(\x0e\x32#.luminary.proto.geometry.EntityType\x12\x0b\n\x03ids\x18\x02 \x03(\x04\x12\x0c\n\x04tags\x18\x03 \x03(\t\"\x83\x02\n\x07\x42oolean\x12\x35\n\treg_union\x18\x01 \x01(\x0b\x32 .luminary.proto.cad.RegularUnionH\x00\x12\x41\n\x0freg_subtraction\x18\x02 \x01(\x0b\x32&.luminary.proto.cad.RegularSubtractionH\x00\x12\x43\n\x10reg_intersection\x18\x03 \x01(\x0b\x32\'.luminary.proto.cad.RegularIntersectionH\x00\x12\x33\n\x08reg_chop\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.cad.RegularChopH\x00\x42\x04\n\x02op\"\xa2\x01\n\x07Imprint\x12\x42\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x30.luminary.proto.geometry.Imprint.ImprintBehavior\x12\x0c\n\x04\x62ody\x18\x02 \x03(\x04\x12\x0b\n\x03tag\x18\x03 \x03(\t\"8\n\x0fImprintBehavior\x12\x0f\n\x0bIMPRINT_ALL\x10\x00\x12\x14\n\x10IMPRINT_SELECTED\x10\x01\"\xc0\x02\n\tTransform\x12\x0c\n\x04\x62ody\x18\x01 \x03(\x04\x12\x0b\n\x03tag\x18\x08 \x03(\t\x12\x35\n\x06matrix\x18\x02 \x01(\x0b\x32#.luminary.proto.cad.AugmentedMatrixH\x00\x12\x36\n\x0btranslation\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.cad.TranslationH\x00\x12\x30\n\x08rotation\x18\x04 \x01(\x0b\x32\x1c.luminary.proto.cad.RotationH\x00\x12.\n\x07scaling\x18\x05 \x01(\x0b\x32\x1b.luminary.proto.cad.ScalingH\x00\x12\x34\n\nreflection\x18\x06 \x01(\x0b\x32\x1e.luminary.proto.cad.ReflectionH\x00\x12\x0c\n\x04keep\x18\x07 \x01(\x08\x42\x03\n\x01t\"\xcf\x01\n\nShrinkwrap\x12\x0c\n\x04\x62ody\x18\x01 \x03(\x04\x12\x10\n\x08tag_body\x18\x07 \x03(\t\x12\x0c\n\x04tool\x18\x06 \x03(\x04\x12\x10\n\x08tag_tool\x18\x08 \x03(\t\x12\x35\n\x04mode\x18\x02 \x01(\x0e\x32\'.luminary.proto.geometry.ShrinkwrapMode\x12\x16\n\x0eresolution_min\x18\x03 \x01(\x01\x12\x16\n\x0eresolution_max\x18\x04 \x01(\x01\x12\x1a\n\x12resolution_uniform\x18\x05 \x01(\x01\"\xb2\x01\n\x08\x46\x61rfield\x12/\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x1f.luminary.proto.geometry.Create\x12\x0e\n\x06\x62odies\x18\x02 \x03(\x04\x12\x12\n\ntag_bodies\x18\x06 \x03(\t\x12\x1a\n\x12keep_source_bodies\x18\x03 \x01(\x08\x12\x18\n\x10keep_tool_bodies\x18\x04 \x01(\x08\x12\x1b\n\x13propagate_tool_tags\x18\x05 \x01(\x08\"\xf9\x02\n\x07Pattern\x12\x0c\n\x04\x62ody\x18\x01 \x03(\x04\x12\x0b\n\x03tag\x18\x03 \x03(\t\x12=\n\tdirection\x18\x02 \x01(\x0b\x32*.luminary.proto.geometry.Pattern.Direction\x1a\x93\x02\n\tDirection\x12\x10\n\x08quantity\x18\x01 \x01(\r\x12\x11\n\tsymmetric\x18\x02 \x01(\x08\x12\x39\n\x0elinear_spacing\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.cad.TranslationH\x00\x12T\n\x15\x63ircular_distribution\x18\x04 \x01(\x0b\x32\x33.luminary.proto.geometry.Pattern.Direction.CircularH\x00\x1aH\n\x08\x43ircular\x12.\n\x08rotation\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.cad.Rotation\x12\x0c\n\x04\x66ull\x18\x02 \x01(\x08\x42\x06\n\x04type\"\x8c\x02\n\x0e\x43onfigurations\x12Q\n\rconfiguration\x18\x01 \x03(\x0b\x32:.luminary.proto.geometry.Configurations.ConfigurationEntry\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\t\x1a*\n\rConfiguration\x12\x0c\n\x04\x62ody\x18\x01 \x03(\x04\x12\x0b\n\x03tag\x18\x02 \x03(\t\x1ak\n\x12\x43onfigurationEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.luminary.proto.geometry.Configurations.Configuration:\x02\x38\x01\"V\n\rFeatureIssues\x12\x31\n\x06issues\x18\x01 \x03(\x0b\x32!.luminary.proto.lcstatus.LCStatus\x12\x12\n\nfeature_id\x18\x02 \x01(\t\"\xef\x04\n\x07\x46\x65\x61ture\x12\x42\n\x0fimport_geometry\x18\x01 \x01(\x0b\x32\'.luminary.proto.geometry.ImportGeometryH\x00\x12\x31\n\x06\x63reate\x18\x02 \x01(\x0b\x32\x1f.luminary.proto.geometry.CreateH\x00\x12\x31\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.geometry.DeleteH\x00\x12\x33\n\x07\x62oolean\x18\x04 \x01(\x0b\x32 .luminary.proto.geometry.BooleanH\x00\x12\x33\n\x07imprint\x18\x07 \x01(\x0b\x32 .luminary.proto.geometry.ImprintH\x00\x12\x37\n\ttransform\x18\x0c \x01(\x0b\x32\".luminary.proto.geometry.TransformH\x00\x12\x39\n\nshrinkwrap\x18\r \x01(\x0b\x32#.luminary.proto.geometry.ShrinkwrapH\x00\x12\x35\n\x08\x66\x61rfield\x18\x0e \x01(\x0b\x32!.luminary.proto.geometry.FarfieldH\x00\x12\x33\n\x07pattern\x18\x0f \x01(\x0b\x32 .luminary.proto.geometry.PatternH\x00\x12\x41\n\x0e\x63onfigurations\x18\x10 \x01(\x0b\x32\'.luminary.proto.geometry.ConfigurationsH\x00\x12\n\n\x02id\x18\x05 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x06 \x01(\tB\x0b\n\toperation\"@\n\x11\x43reateOrUpdateTag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x62odies\x18\x02 \x03(\x05\x12\r\n\x05\x66\x61\x63\x65s\x18\x03 \x03(\x05\"/\n\tRenameTag\x12\x10\n\x08old_name\x18\x01 \x01(\t\x12\x10\n\x08new_name\x18\x02 \x01(\t\"8\n\tDeleteTag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x62odies\x18\x02 \x03(\x05\x12\r\n\x05\x66\x61\x63\x65s\x18\x03 \x03(\x05\"\x1b\n\nDeleteTags\x12\r\n\x05names\x18\x01 \x03(\t\"\xbf\x07\n\x0cModification\x12H\n\x08mod_type\x18\x01 \x01(\x0e\x32\x36.luminary.proto.geometry.Modification.ModificationType\x12\x31\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32 .luminary.proto.geometry.Feature\x12H\n\x14\x63reate_or_update_tag\x18\x03 \x01(\x0b\x32*.luminary.proto.geometry.CreateOrUpdateTag\x12\x36\n\nrename_tag\x18\x04 \x01(\x0b\x32\".luminary.proto.geometry.RenameTag\x12\x36\n\ndelete_tag\x18\x05 \x01(\x0b\x32\".luminary.proto.geometry.DeleteTag\x12\x38\n\x0b\x64\x65lete_tags\x18\x06 \x01(\x0b\x32#.luminary.proto.geometry.DeleteTags\x12,\n$update_named_variable_set_version_id\x18\x07 \x01(\t\"\x8f\x04\n\x10ModificationType\x12!\n\x1dMODIFICATION_TYPE_UNSPECIFIED\x10\x00\x12$\n MODIFICATION_TYPE_CREATE_FEATURE\x10\x01\x12$\n MODIFICATION_TYPE_UPDATE_FEATURE\x10\x02\x12$\n MODIFICATION_TYPE_DELETE_FEATURE\x10\x03\x12\x1a\n\x16MODIFICATION_TYPE_UNDO\x10\x04\x12\x1a\n\x16MODIFICATION_TYPE_REDO\x10\x05\x12$\n MODIFICATION_TYPE_RENAME_FEATURE\x10\x06\x12 \n\x1cMODIFICATION_TYPE_CREATE_TAG\x10\x07\x12 \n\x1cMODIFICATION_TYPE_UPDATE_TAG\x10\x08\x12 \n\x1cMODIFICATION_TYPE_DELETE_TAG\x10\t\x12 \n\x1cMODIFICATION_TYPE_RENAME_TAG\x10\n\x12!\n\x1dMODIFICATION_TYPE_DELETE_TAGS\x10\x0b\x12/\n+MODIFICATION_TYPE_UPDATE_NAMED_VARIABLE_SET\x10\x0c\x12,\n(MODIFICATION_TYPE_CONVERT_COLORS_TO_TAGS\x10\r\"\x85\x01\n\x04\x46\x61\x63\x65\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x08\x62\x62ox_min\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12.\n\x08\x62\x62ox_max\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\x11\n\tnative_id\x18\x04 \x01(\x04\"\x82\x01\n\x04\x42ody\x12\n\n\x02id\x18\x01 \x01(\x04\x12.\n\x08\x62\x62ox_min\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12.\n\x08\x62\x62ox_max\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\x0e\n\x06lcn_id\x18\x04 \x01(\x04\"\"\n\x06Volume\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xc2\x01\n\x04Tags\x12/\n\x04tags\x18\x01 \x03(\x0b\x32!.luminary.proto.geometry.Tags.Tag\x1a\x88\x01\n\x03Tag\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06\x62odies\x18\x03 \x03(\x05\x12\x12\n\nlcn_bodies\x18\x04 \x03(\x05\x12\r\n\x05\x66\x61\x63\x65s\x18\x05 \x03(\x05\x12\x17\n\x0f\x62odies_of_faces\x18\x06 \x03(\x05\x12\x1b\n\x13lcn_bodies_of_faces\x18\x07 \x03(\x05*S\n\nEntityType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x42ODY\x10\x01\x12\n\n\x06VOLUME\x10\x02\x12\x08\n\x04\x46\x41\x43\x45\x10\x03\x12\x08\n\x04\x45\x44GE\x10\x04\x12\n\n\x06VERTEX\x10\x05*8\n\x0eShrinkwrapMode\x12\r\n\tAUTOMATIC\x10\x00\x12\n\n\x06MINMAX\x10\x01\x12\x0b\n\x07UNIFORM\x10\x02*7\n\nKernelType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0e\n\nCONTINUOUS\x10\x01\x12\x0c\n\x08\x44ISCRETE\x10\x02\x42\'Z%luminarycloud.com/core/proto/geometryb\x06proto3')
|
|
25
25
|
|
|
26
26
|
_ENTITYTYPE = DESCRIPTOR.enum_types_by_name['EntityType']
|
|
27
27
|
EntityType = enum_type_wrapper.EnumTypeWrapper(_ENTITYTYPE)
|
|
@@ -264,66 +264,66 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
264
264
|
DESCRIPTOR._serialized_options = b'Z%luminarycloud.com/core/proto/geometry'
|
|
265
265
|
_CONFIGURATIONS_CONFIGURATIONENTRY._options = None
|
|
266
266
|
_CONFIGURATIONS_CONFIGURATIONENTRY._serialized_options = b'8\001'
|
|
267
|
-
_ENTITYTYPE._serialized_start=
|
|
268
|
-
_ENTITYTYPE._serialized_end=
|
|
269
|
-
_SHRINKWRAPMODE._serialized_start=
|
|
270
|
-
_SHRINKWRAPMODE._serialized_end=
|
|
271
|
-
_KERNELTYPE._serialized_start=
|
|
272
|
-
_KERNELTYPE._serialized_end=
|
|
267
|
+
_ENTITYTYPE._serialized_start=5032
|
|
268
|
+
_ENTITYTYPE._serialized_end=5115
|
|
269
|
+
_SHRINKWRAPMODE._serialized_start=5117
|
|
270
|
+
_SHRINKWRAPMODE._serialized_end=5173
|
|
271
|
+
_KERNELTYPE._serialized_start=5175
|
|
272
|
+
_KERNELTYPE._serialized_end=5230
|
|
273
273
|
_IMPORTGEOMETRY._serialized_start=240
|
|
274
|
-
_IMPORTGEOMETRY._serialized_end=
|
|
275
|
-
_CREATE._serialized_start=
|
|
276
|
-
_CREATE._serialized_end=
|
|
277
|
-
_DELETE._serialized_start=
|
|
278
|
-
_DELETE._serialized_end=
|
|
279
|
-
_BOOLEAN._serialized_start=
|
|
280
|
-
_BOOLEAN._serialized_end=
|
|
281
|
-
_IMPRINT._serialized_start=
|
|
282
|
-
_IMPRINT._serialized_end=
|
|
283
|
-
_IMPRINT_IMPRINTBEHAVIOR._serialized_start=
|
|
284
|
-
_IMPRINT_IMPRINTBEHAVIOR._serialized_end=
|
|
285
|
-
_TRANSFORM._serialized_start=
|
|
286
|
-
_TRANSFORM._serialized_end=
|
|
287
|
-
_SHRINKWRAP._serialized_start=
|
|
288
|
-
_SHRINKWRAP._serialized_end=
|
|
289
|
-
_FARFIELD._serialized_start=
|
|
290
|
-
_FARFIELD._serialized_end=
|
|
291
|
-
_PATTERN._serialized_start=
|
|
292
|
-
_PATTERN._serialized_end=
|
|
293
|
-
_PATTERN_DIRECTION._serialized_start=
|
|
294
|
-
_PATTERN_DIRECTION._serialized_end=
|
|
295
|
-
_PATTERN_DIRECTION_CIRCULAR._serialized_start=
|
|
296
|
-
_PATTERN_DIRECTION_CIRCULAR._serialized_end=
|
|
297
|
-
_CONFIGURATIONS._serialized_start=
|
|
298
|
-
_CONFIGURATIONS._serialized_end=
|
|
299
|
-
_CONFIGURATIONS_CONFIGURATION._serialized_start=
|
|
300
|
-
_CONFIGURATIONS_CONFIGURATION._serialized_end=
|
|
301
|
-
_CONFIGURATIONS_CONFIGURATIONENTRY._serialized_start=
|
|
302
|
-
_CONFIGURATIONS_CONFIGURATIONENTRY._serialized_end=
|
|
303
|
-
_FEATUREISSUES._serialized_start=
|
|
304
|
-
_FEATUREISSUES._serialized_end=
|
|
305
|
-
_FEATURE._serialized_start=
|
|
306
|
-
_FEATURE._serialized_end=
|
|
307
|
-
_CREATEORUPDATETAG._serialized_start=
|
|
308
|
-
_CREATEORUPDATETAG._serialized_end=
|
|
309
|
-
_RENAMETAG._serialized_start=
|
|
310
|
-
_RENAMETAG._serialized_end=
|
|
311
|
-
_DELETETAG._serialized_start=
|
|
312
|
-
_DELETETAG._serialized_end=
|
|
313
|
-
_DELETETAGS._serialized_start=
|
|
314
|
-
_DELETETAGS._serialized_end=
|
|
315
|
-
_MODIFICATION._serialized_start=
|
|
316
|
-
_MODIFICATION._serialized_end=
|
|
317
|
-
_MODIFICATION_MODIFICATIONTYPE._serialized_start=
|
|
318
|
-
_MODIFICATION_MODIFICATIONTYPE._serialized_end=
|
|
319
|
-
_FACE._serialized_start=
|
|
320
|
-
_FACE._serialized_end=
|
|
321
|
-
_BODY._serialized_start=
|
|
322
|
-
_BODY._serialized_end=
|
|
323
|
-
_VOLUME._serialized_start=
|
|
324
|
-
_VOLUME._serialized_end=
|
|
325
|
-
_TAGS._serialized_start=
|
|
326
|
-
_TAGS._serialized_end=
|
|
327
|
-
_TAGS_TAG._serialized_start=
|
|
328
|
-
_TAGS_TAG._serialized_end=
|
|
274
|
+
_IMPORTGEOMETRY._serialized_end=447
|
|
275
|
+
_CREATE._serialized_start=450
|
|
276
|
+
_CREATE._serialized_end=770
|
|
277
|
+
_DELETE._serialized_start=772
|
|
278
|
+
_DELETE._serialized_end=858
|
|
279
|
+
_BOOLEAN._serialized_start=861
|
|
280
|
+
_BOOLEAN._serialized_end=1120
|
|
281
|
+
_IMPRINT._serialized_start=1123
|
|
282
|
+
_IMPRINT._serialized_end=1285
|
|
283
|
+
_IMPRINT_IMPRINTBEHAVIOR._serialized_start=1229
|
|
284
|
+
_IMPRINT_IMPRINTBEHAVIOR._serialized_end=1285
|
|
285
|
+
_TRANSFORM._serialized_start=1288
|
|
286
|
+
_TRANSFORM._serialized_end=1608
|
|
287
|
+
_SHRINKWRAP._serialized_start=1611
|
|
288
|
+
_SHRINKWRAP._serialized_end=1818
|
|
289
|
+
_FARFIELD._serialized_start=1821
|
|
290
|
+
_FARFIELD._serialized_end=1999
|
|
291
|
+
_PATTERN._serialized_start=2002
|
|
292
|
+
_PATTERN._serialized_end=2379
|
|
293
|
+
_PATTERN_DIRECTION._serialized_start=2104
|
|
294
|
+
_PATTERN_DIRECTION._serialized_end=2379
|
|
295
|
+
_PATTERN_DIRECTION_CIRCULAR._serialized_start=2299
|
|
296
|
+
_PATTERN_DIRECTION_CIRCULAR._serialized_end=2371
|
|
297
|
+
_CONFIGURATIONS._serialized_start=2382
|
|
298
|
+
_CONFIGURATIONS._serialized_end=2650
|
|
299
|
+
_CONFIGURATIONS_CONFIGURATION._serialized_start=2499
|
|
300
|
+
_CONFIGURATIONS_CONFIGURATION._serialized_end=2541
|
|
301
|
+
_CONFIGURATIONS_CONFIGURATIONENTRY._serialized_start=2543
|
|
302
|
+
_CONFIGURATIONS_CONFIGURATIONENTRY._serialized_end=2650
|
|
303
|
+
_FEATUREISSUES._serialized_start=2652
|
|
304
|
+
_FEATUREISSUES._serialized_end=2738
|
|
305
|
+
_FEATURE._serialized_start=2741
|
|
306
|
+
_FEATURE._serialized_end=3364
|
|
307
|
+
_CREATEORUPDATETAG._serialized_start=3366
|
|
308
|
+
_CREATEORUPDATETAG._serialized_end=3430
|
|
309
|
+
_RENAMETAG._serialized_start=3432
|
|
310
|
+
_RENAMETAG._serialized_end=3479
|
|
311
|
+
_DELETETAG._serialized_start=3481
|
|
312
|
+
_DELETETAG._serialized_end=3537
|
|
313
|
+
_DELETETAGS._serialized_start=3539
|
|
314
|
+
_DELETETAGS._serialized_end=3566
|
|
315
|
+
_MODIFICATION._serialized_start=3569
|
|
316
|
+
_MODIFICATION._serialized_end=4528
|
|
317
|
+
_MODIFICATION_MODIFICATIONTYPE._serialized_start=4001
|
|
318
|
+
_MODIFICATION_MODIFICATIONTYPE._serialized_end=4528
|
|
319
|
+
_FACE._serialized_start=4531
|
|
320
|
+
_FACE._serialized_end=4664
|
|
321
|
+
_BODY._serialized_start=4667
|
|
322
|
+
_BODY._serialized_end=4797
|
|
323
|
+
_VOLUME._serialized_start=4799
|
|
324
|
+
_VOLUME._serialized_end=4833
|
|
325
|
+
_TAGS._serialized_start=4836
|
|
326
|
+
_TAGS._serialized_end=5030
|
|
327
|
+
_TAGS_TAG._serialized_start=4894
|
|
328
|
+
_TAGS_TAG._serialized_end=5030
|
|
329
329
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -87,13 +87,21 @@ class ImportGeometry(google.protobuf.message.Message):
|
|
|
87
87
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
88
88
|
|
|
89
89
|
GEOMETRY_URL_FIELD_NUMBER: builtins.int
|
|
90
|
+
SCALING_FLOAT_FIELD_NUMBER: builtins.int
|
|
90
91
|
SCALING_FIELD_NUMBER: builtins.int
|
|
91
92
|
PARAMETERS_FIELD_NUMBER: builtins.int
|
|
92
93
|
WEB_GEOMETRY_ID_FIELD_NUMBER: builtins.int
|
|
93
94
|
geometry_url: builtins.str
|
|
94
95
|
"""Path to geometry file"""
|
|
95
|
-
|
|
96
|
-
"""
|
|
96
|
+
scaling_float: builtins.float
|
|
97
|
+
"""One of scaling/scaling_float required. scaling will take priority.
|
|
98
|
+
(deprecated) Scaling of geometry at import
|
|
99
|
+
"""
|
|
100
|
+
@property
|
|
101
|
+
def scaling(self) -> luminarycloud._proto.base.base_pb2.AdFloatType:
|
|
102
|
+
"""One of scaling/scaling_float required. scaling will take priority.
|
|
103
|
+
Scaling of geometry at import. Takes precedence over `scaling`
|
|
104
|
+
"""
|
|
97
105
|
@property
|
|
98
106
|
def parameters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[luminarycloud._proto.parametricworker.parametricworker_pb2.Parameter]:
|
|
99
107
|
"""Parameters (as in parametric CAD) to update"""
|
|
@@ -103,11 +111,13 @@ class ImportGeometry(google.protobuf.message.Message):
|
|
|
103
111
|
self,
|
|
104
112
|
*,
|
|
105
113
|
geometry_url: builtins.str = ...,
|
|
106
|
-
|
|
114
|
+
scaling_float: builtins.float = ...,
|
|
115
|
+
scaling: luminarycloud._proto.base.base_pb2.AdFloatType | None = ...,
|
|
107
116
|
parameters: collections.abc.Iterable[luminarycloud._proto.parametricworker.parametricworker_pb2.Parameter] | None = ...,
|
|
108
117
|
web_geometry_id: builtins.str = ...,
|
|
109
118
|
) -> None: ...
|
|
110
|
-
def
|
|
119
|
+
def HasField(self, field_name: typing_extensions.Literal["scaling", b"scaling"]) -> builtins.bool: ...
|
|
120
|
+
def ClearField(self, field_name: typing_extensions.Literal["geometry_url", b"geometry_url", "parameters", b"parameters", "scaling", b"scaling", "scaling_float", b"scaling_float", "web_geometry_id", b"web_geometry_id"]) -> None: ...
|
|
111
121
|
|
|
112
122
|
global___ImportGeometry = ImportGeometry
|
|
113
123
|
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/inferenceservice/inferenceservice.proto\x12\x1fluminary.proto.inferenceservice\x1a\x15proto/base/base.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/inferenceservice/inferenceservice.proto\x12\x1fluminary.proto.inferenceservice\x1a\x15proto/base/base.proto\"\xa9\x01\n CreateInferenceServiceJobRequest\x12\x14\n\x0c\x61rtifact_url\x18\x01 \x01(\t\x12\x0f\n\x07stl_url\x18\x02 \x01(\t\x12\x12\n\nparameters\x18\x03 \x01(\x0c\x12\x14\n\x0cstencil_size\x18\x04 \x01(\x05\x12\x12\n\nproject_id\x18\x05 \x01(\t\x12 \n\x18write_visualization_data\x18\x06 \x01(\x08\"5\n!CreateInferenceServiceJobResponse\x12\x10\n\x08response\x18\x01 \x01(\x0c\"*\n\x1bPingInferenceServiceRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t\"+\n\x1cPingInferenceServiceResponse\x12\x0b\n\x03msg\x18\x01 \x01(\t2\xcd\x02\n\x10InferenceService\x12\xa2\x01\n\x19\x43reateInferenceServiceJob\x12\x41.luminary.proto.inferenceservice.CreateInferenceServiceJobRequest\x1a\x42.luminary.proto.inferenceservice.CreateInferenceServiceJobResponse\x12\x93\x01\n\x14PingInferenceService\x12<.luminary.proto.inferenceservice.PingInferenceServiceRequest\x1a=.luminary.proto.inferenceservice.PingInferenceServiceResponseB/Z-luminarycloud.com/core/proto/inferenceserviceb\x06proto3')
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -57,13 +57,13 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
57
57
|
DESCRIPTOR._options = None
|
|
58
58
|
DESCRIPTOR._serialized_options = b'Z-luminarycloud.com/core/proto/inferenceservice'
|
|
59
59
|
_CREATEINFERENCESERVICEJOBREQUEST._serialized_start=106
|
|
60
|
-
_CREATEINFERENCESERVICEJOBREQUEST._serialized_end=
|
|
61
|
-
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=
|
|
62
|
-
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=
|
|
63
|
-
_PINGINFERENCESERVICEREQUEST._serialized_start=
|
|
64
|
-
_PINGINFERENCESERVICEREQUEST._serialized_end=
|
|
65
|
-
_PINGINFERENCESERVICERESPONSE._serialized_start=
|
|
66
|
-
_PINGINFERENCESERVICERESPONSE._serialized_end=
|
|
67
|
-
_INFERENCESERVICE._serialized_start=
|
|
68
|
-
_INFERENCESERVICE._serialized_end=
|
|
60
|
+
_CREATEINFERENCESERVICEJOBREQUEST._serialized_end=275
|
|
61
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=277
|
|
62
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=330
|
|
63
|
+
_PINGINFERENCESERVICEREQUEST._serialized_start=332
|
|
64
|
+
_PINGINFERENCESERVICEREQUEST._serialized_end=374
|
|
65
|
+
_PINGINFERENCESERVICERESPONSE._serialized_start=376
|
|
66
|
+
_PINGINFERENCESERVICERESPONSE._serialized_end=419
|
|
67
|
+
_INFERENCESERVICE._serialized_start=422
|
|
68
|
+
_INFERENCESERVICE._serialized_end=755
|
|
69
69
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,26 +17,31 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
17
17
|
class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
|
|
18
18
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
19
|
|
|
20
|
+
ARTIFACT_URL_FIELD_NUMBER: builtins.int
|
|
20
21
|
STL_URL_FIELD_NUMBER: builtins.int
|
|
21
|
-
|
|
22
|
-
CONFIG_NAME_FIELD_NUMBER: builtins.int
|
|
22
|
+
PARAMETERS_FIELD_NUMBER: builtins.int
|
|
23
23
|
STENCIL_SIZE_FIELD_NUMBER: builtins.int
|
|
24
24
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
25
|
+
WRITE_VISUALIZATION_DATA_FIELD_NUMBER: builtins.int
|
|
26
|
+
artifact_url: builtins.str
|
|
27
|
+
"""Eventually should be a model version id"""
|
|
25
28
|
stl_url: builtins.str
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
parameters: builtins.bytes
|
|
30
|
+
"""JSON encoded parameters, like alpha, beta, etc."""
|
|
28
31
|
stencil_size: builtins.int
|
|
29
32
|
project_id: builtins.str
|
|
33
|
+
write_visualization_data: builtins.bool
|
|
30
34
|
def __init__(
|
|
31
35
|
self,
|
|
32
36
|
*,
|
|
37
|
+
artifact_url: builtins.str = ...,
|
|
33
38
|
stl_url: builtins.str = ...,
|
|
34
|
-
|
|
35
|
-
config_name: builtins.str = ...,
|
|
39
|
+
parameters: builtins.bytes = ...,
|
|
36
40
|
stencil_size: builtins.int = ...,
|
|
37
41
|
project_id: builtins.str = ...,
|
|
42
|
+
write_visualization_data: builtins.bool = ...,
|
|
38
43
|
) -> None: ...
|
|
39
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
44
|
+
def ClearField(self, field_name: typing_extensions.Literal["artifact_url", b"artifact_url", "parameters", b"parameters", "project_id", b"project_id", "stencil_size", b"stencil_size", "stl_url", b"stl_url", "write_visualization_data", b"write_visualization_data"]) -> None: ...
|
|
40
45
|
|
|
41
46
|
global___CreateInferenceServiceJobRequest = CreateInferenceServiceJobRequest
|
|
42
47
|
|
|
@@ -11,18 +11,25 @@ class GeometryStatus(IntEnum):
|
|
|
11
11
|
----------
|
|
12
12
|
UNKNOWN
|
|
13
13
|
Status is unknown.
|
|
14
|
-
|
|
15
|
-
Geometry is
|
|
16
|
-
|
|
17
|
-
Geometry
|
|
14
|
+
BUSY
|
|
15
|
+
Geometry is being processed (importing, modifying, or other operations).
|
|
16
|
+
HAS_FEATURE_ERRORS
|
|
17
|
+
Geometry has feature errors, which should be resolved.
|
|
18
|
+
READY_FOR_CHECK
|
|
19
|
+
Geometry has no feature errors and is ready to be checked for meshing validity.
|
|
20
|
+
CHECKING
|
|
21
|
+
Geometry check is currently running to validate the geometry.
|
|
18
22
|
FAILED_CHECK
|
|
19
|
-
Geometry is not well-formed and cannot be used
|
|
23
|
+
Geometry is not well-formed and cannot be used for meshing or
|
|
24
|
+
simulation.
|
|
20
25
|
READY
|
|
21
|
-
Geometry is ready to use.
|
|
26
|
+
Geometry is ready to use for meshing and simulation.
|
|
22
27
|
"""
|
|
23
28
|
|
|
24
29
|
UNKNOWN = geometry_pb2.Geometry.UNKNOWN
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
BUSY = geometry_pb2.Geometry.BUSY
|
|
31
|
+
HAS_FEATURE_ERRORS = geometry_pb2.Geometry.HAS_FEATURE_ERRORS
|
|
32
|
+
READY_FOR_CHECK = geometry_pb2.Geometry.READY_FOR_CHECK
|
|
33
|
+
CHECKING = geometry_pb2.Geometry.CHECKING
|
|
27
34
|
FAILED_CHECK = geometry_pb2.Geometry.FAILED_CHECK
|
|
28
35
|
READY = geometry_pb2.Geometry.READY
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Copyright 2025 Luminary Cloud, Inc. All Rights Reserved.
|
|
2
|
+
from enum import IntEnum
|
|
3
|
+
from .._proto.api.v0.luminarycloud.pipelines import pipelines_pb2 as pipelinespb
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class PipelineJobStatus(IntEnum):
|
|
7
|
+
"""
|
|
8
|
+
Status of a pipeline job.
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
PENDING
|
|
13
|
+
RUNNING
|
|
14
|
+
COMPLETED
|
|
15
|
+
FAILED
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
UNSPECIFIED = pipelinespb.PIPELINE_JOB_STATUS_UNSPECIFIED
|
|
19
|
+
|
|
20
|
+
PENDING = pipelinespb.PIPELINE_JOB_STATUS_PENDING
|
|
21
|
+
RUNNING = pipelinespb.PIPELINE_JOB_STATUS_RUNNING
|
|
22
|
+
COMPLETED = pipelinespb.PIPELINE_JOB_STATUS_COMPLETED
|
|
23
|
+
FAILED = pipelinespb.PIPELINE_JOB_STATUS_FAILED
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
from enum import Enum, auto
|
|
3
3
|
from typing import Dict, Iterable, List, Optional, cast
|
|
4
4
|
from copy import deepcopy
|
|
5
|
+
|
|
6
|
+
from luminarycloud.types.adfloat import _to_ad_proto, _from_ad_proto
|
|
5
7
|
from ._proto.geometry import geometry_pb2 as gpb
|
|
6
8
|
from .types import Vector3Like
|
|
7
9
|
from .types.vector3 import _to_vector3
|
|
@@ -173,7 +175,7 @@ def modify_import(
|
|
|
173
175
|
feature_copy.import_geometry.geometry_url = geometry_url
|
|
174
176
|
|
|
175
177
|
if scaling is not None:
|
|
176
|
-
feature_copy.import_geometry.scaling
|
|
178
|
+
feature_copy.import_geometry.scaling.CopyFrom(_to_ad_proto(scaling))
|
|
177
179
|
|
|
178
180
|
return gpb.Modification(
|
|
179
181
|
mod_type=gpb.Modification.ModificationType.MODIFICATION_TYPE_UPDATE_FEATURE,
|