luminarycloud 0.16.1__py3-none-any.whl → 0.16.2__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 +1 -1
- luminarycloud/_helpers/warnings/__init__.py +0 -1
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -34
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +96 -6
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +68 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +24 -0
- luminarycloud/_proto/cad/shape_pb2.py +78 -19
- luminarycloud/_proto/cad/transformation_pb2.py +34 -15
- luminarycloud/_proto/upload/upload_pb2.py +25 -15
- luminarycloud/_proto/upload/upload_pb2.pyi +31 -2
- luminarycloud/geometry.py +2 -2
- luminarycloud/named_variable_set.py +3 -4
- luminarycloud/outputs/stopping_conditions.py +0 -3
- luminarycloud/physics_ai/architectures.py +0 -4
- luminarycloud/physics_ai/inference.py +0 -4
- luminarycloud/physics_ai/models.py +0 -4
- luminarycloud/physics_ai/solution.py +2 -2
- luminarycloud/pipelines/__init__.py +6 -0
- luminarycloud/pipelines/arguments.py +105 -0
- luminarycloud/pipelines/core.py +204 -20
- luminarycloud/pipelines/operators.py +11 -9
- luminarycloud/pipelines/parameters.py +25 -4
- luminarycloud/project.py +4 -5
- luminarycloud/simulation_param.py +0 -2
- luminarycloud/simulation_template.py +1 -3
- luminarycloud/solution.py +1 -3
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.16.2.dist-info}/METADATA +1 -1
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.16.2.dist-info}/RECORD +29 -29
- luminarycloud/_helpers/warnings/experimental.py +0 -48
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.16.2.dist-info}/WHEEL +0 -0
|
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
16
|
+
from luminarycloud._proto.options import options_pb2 as proto_dot_options_dot_options__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/cad/shape.proto\x12\x12luminary.proto.cad\x1a\x15proto/base/base.proto\"
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/cad/shape.proto\x12\x12luminary.proto.cad\x1a\x15proto/base/base.proto\x1a\x1bproto/options/options.proto\"T\n\x06Sphere\x12\x33\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x15\n\x06radius\x18\x02 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"v\n\x0bSphereShell\x12\x33\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x15\n\x06radius\x18\x02 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\x12\x1b\n\x0cradius_inner\x18\x03 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"\x8e\x01\n\nHalfSphere\x12\x33\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x15\n\x06radius\x18\x02 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\x12\x34\n\x06normal\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\"j\n\x04\x43ube\x12\x30\n\x03min\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x30\n\x03max\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\"\x93\x02\n\x0cOrientedCube\x12\x30\n\x03min\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x30\n\x03max\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x33\n\x06origin\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x34\n\x06x_axis\x18\x04 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\x12\x34\n\x06y_axis\x18\x05 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\"\x87\x01\n\x08\x43ylinder\x12\x32\n\x05start\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x30\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x15\n\x06radius\x18\x03 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"\xab\x01\n\x0f\x41nnularCylinder\x12\x32\n\x05start\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x30\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x15\n\x06radius\x18\x03 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\x12\x1b\n\x0cradius_inner\x18\x04 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"\xac\x01\n\x05Torus\x12\x33\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x34\n\x06normal\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\x12\x1b\n\x0cmajor_radius\x18\x03 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\x12\x1b\n\x0cminor_radius\x18\x04 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"\x8f\x01\n\x04\x43one\x12\x31\n\x04\x61pex\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x38\n\x0b\x62\x61se_center\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x1a\n\x0b\x62\x61se_radius\x18\x03 \x01(\x01\x42\x05\xb8\xb2\x19\x80PB\"Z luminarycloud.com/core/proto/cadb\x06proto3')
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
|
|
@@ -95,22 +96,80 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
95
96
|
|
|
96
97
|
DESCRIPTOR._options = None
|
|
97
98
|
DESCRIPTOR._serialized_options = b'Z luminarycloud.com/core/proto/cad'
|
|
98
|
-
_SPHERE.
|
|
99
|
-
_SPHERE.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
99
|
+
_SPHERE.fields_by_name['center']._options = None
|
|
100
|
+
_SPHERE.fields_by_name['center']._serialized_options = b'\270\262\031\200P'
|
|
101
|
+
_SPHERE.fields_by_name['radius']._options = None
|
|
102
|
+
_SPHERE.fields_by_name['radius']._serialized_options = b'\270\262\031\200P'
|
|
103
|
+
_SPHERESHELL.fields_by_name['center']._options = None
|
|
104
|
+
_SPHERESHELL.fields_by_name['center']._serialized_options = b'\270\262\031\200P'
|
|
105
|
+
_SPHERESHELL.fields_by_name['radius']._options = None
|
|
106
|
+
_SPHERESHELL.fields_by_name['radius']._serialized_options = b'\270\262\031\200P'
|
|
107
|
+
_SPHERESHELL.fields_by_name['radius_inner']._options = None
|
|
108
|
+
_SPHERESHELL.fields_by_name['radius_inner']._serialized_options = b'\270\262\031\200P'
|
|
109
|
+
_HALFSPHERE.fields_by_name['center']._options = None
|
|
110
|
+
_HALFSPHERE.fields_by_name['center']._serialized_options = b'\270\262\031\200P'
|
|
111
|
+
_HALFSPHERE.fields_by_name['radius']._options = None
|
|
112
|
+
_HALFSPHERE.fields_by_name['radius']._serialized_options = b'\270\262\031\200P'
|
|
113
|
+
_HALFSPHERE.fields_by_name['normal']._options = None
|
|
114
|
+
_HALFSPHERE.fields_by_name['normal']._serialized_options = b'\270\262\031\324\232\002'
|
|
115
|
+
_CUBE.fields_by_name['min']._options = None
|
|
116
|
+
_CUBE.fields_by_name['min']._serialized_options = b'\270\262\031\200P'
|
|
117
|
+
_CUBE.fields_by_name['max']._options = None
|
|
118
|
+
_CUBE.fields_by_name['max']._serialized_options = b'\270\262\031\200P'
|
|
119
|
+
_ORIENTEDCUBE.fields_by_name['min']._options = None
|
|
120
|
+
_ORIENTEDCUBE.fields_by_name['min']._serialized_options = b'\270\262\031\200P'
|
|
121
|
+
_ORIENTEDCUBE.fields_by_name['max']._options = None
|
|
122
|
+
_ORIENTEDCUBE.fields_by_name['max']._serialized_options = b'\270\262\031\200P'
|
|
123
|
+
_ORIENTEDCUBE.fields_by_name['origin']._options = None
|
|
124
|
+
_ORIENTEDCUBE.fields_by_name['origin']._serialized_options = b'\270\262\031\200P'
|
|
125
|
+
_ORIENTEDCUBE.fields_by_name['x_axis']._options = None
|
|
126
|
+
_ORIENTEDCUBE.fields_by_name['x_axis']._serialized_options = b'\270\262\031\324\232\002'
|
|
127
|
+
_ORIENTEDCUBE.fields_by_name['y_axis']._options = None
|
|
128
|
+
_ORIENTEDCUBE.fields_by_name['y_axis']._serialized_options = b'\270\262\031\324\232\002'
|
|
129
|
+
_CYLINDER.fields_by_name['start']._options = None
|
|
130
|
+
_CYLINDER.fields_by_name['start']._serialized_options = b'\270\262\031\200P'
|
|
131
|
+
_CYLINDER.fields_by_name['end']._options = None
|
|
132
|
+
_CYLINDER.fields_by_name['end']._serialized_options = b'\270\262\031\200P'
|
|
133
|
+
_CYLINDER.fields_by_name['radius']._options = None
|
|
134
|
+
_CYLINDER.fields_by_name['radius']._serialized_options = b'\270\262\031\200P'
|
|
135
|
+
_ANNULARCYLINDER.fields_by_name['start']._options = None
|
|
136
|
+
_ANNULARCYLINDER.fields_by_name['start']._serialized_options = b'\270\262\031\200P'
|
|
137
|
+
_ANNULARCYLINDER.fields_by_name['end']._options = None
|
|
138
|
+
_ANNULARCYLINDER.fields_by_name['end']._serialized_options = b'\270\262\031\200P'
|
|
139
|
+
_ANNULARCYLINDER.fields_by_name['radius']._options = None
|
|
140
|
+
_ANNULARCYLINDER.fields_by_name['radius']._serialized_options = b'\270\262\031\200P'
|
|
141
|
+
_ANNULARCYLINDER.fields_by_name['radius_inner']._options = None
|
|
142
|
+
_ANNULARCYLINDER.fields_by_name['radius_inner']._serialized_options = b'\270\262\031\200P'
|
|
143
|
+
_TORUS.fields_by_name['center']._options = None
|
|
144
|
+
_TORUS.fields_by_name['center']._serialized_options = b'\270\262\031\200P'
|
|
145
|
+
_TORUS.fields_by_name['normal']._options = None
|
|
146
|
+
_TORUS.fields_by_name['normal']._serialized_options = b'\270\262\031\324\232\002'
|
|
147
|
+
_TORUS.fields_by_name['major_radius']._options = None
|
|
148
|
+
_TORUS.fields_by_name['major_radius']._serialized_options = b'\270\262\031\200P'
|
|
149
|
+
_TORUS.fields_by_name['minor_radius']._options = None
|
|
150
|
+
_TORUS.fields_by_name['minor_radius']._serialized_options = b'\270\262\031\200P'
|
|
151
|
+
_CONE.fields_by_name['apex']._options = None
|
|
152
|
+
_CONE.fields_by_name['apex']._serialized_options = b'\270\262\031\200P'
|
|
153
|
+
_CONE.fields_by_name['base_center']._options = None
|
|
154
|
+
_CONE.fields_by_name['base_center']._serialized_options = b'\270\262\031\200P'
|
|
155
|
+
_CONE.fields_by_name['base_radius']._options = None
|
|
156
|
+
_CONE.fields_by_name['base_radius']._serialized_options = b'\270\262\031\200P'
|
|
157
|
+
_SPHERE._serialized_start=97
|
|
158
|
+
_SPHERE._serialized_end=181
|
|
159
|
+
_SPHERESHELL._serialized_start=183
|
|
160
|
+
_SPHERESHELL._serialized_end=301
|
|
161
|
+
_HALFSPHERE._serialized_start=304
|
|
162
|
+
_HALFSPHERE._serialized_end=446
|
|
163
|
+
_CUBE._serialized_start=448
|
|
164
|
+
_CUBE._serialized_end=554
|
|
165
|
+
_ORIENTEDCUBE._serialized_start=557
|
|
166
|
+
_ORIENTEDCUBE._serialized_end=832
|
|
167
|
+
_CYLINDER._serialized_start=835
|
|
168
|
+
_CYLINDER._serialized_end=970
|
|
169
|
+
_ANNULARCYLINDER._serialized_start=973
|
|
170
|
+
_ANNULARCYLINDER._serialized_end=1144
|
|
171
|
+
_TORUS._serialized_start=1147
|
|
172
|
+
_TORUS._serialized_end=1319
|
|
173
|
+
_CONE._serialized_start=1322
|
|
174
|
+
_CONE._serialized_end=1465
|
|
116
175
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
16
|
+
from luminarycloud._proto.options import options_pb2 as proto_dot_options_dot_options__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eproto/cad/transformation.proto\x12\x12luminary.proto.cad\x1a\x15proto/base/base.proto\"
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eproto/cad/transformation.proto\x12\x12luminary.proto.cad\x1a\x15proto/base/base.proto\x1a\x1bproto/options/options.proto\"\x81\x01\n\x0f\x41ugmentedMatrix\x12\x34\n\x06\x61\x66\x66ine\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Matrix3B\x06\xb8\xb2\x19\xd4\x9a\x02\x12\x38\n\x0btranslation\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\"e\n\x10MagnitudeVector3\x12\x37\n\tdirection\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\x12\x18\n\tmagnitude\x18\x02 \x01(\x01\x42\x05\xb8\xb2\x19\x80P\"\x96\x01\n\x0bTranslation\x12\x35\n\x06vector\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80PH\x00\x12@\n\x10magnitude_vector\x18\x02 \x01(\x0b\x32$.luminary.proto.cad.MagnitudeVector3H\x00\x42\x0e\n\x0c\x64isplacement\"\x7f\n\x0f\x41nchoredVector3\x12\x33\n\x06origin\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80P\x12\x37\n\tdirection\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x06\xb8\xb2\x19\xd4\x9a\x02\"[\n\x08Rotation\x12\r\n\x05\x61ngle\x18\x01 \x01(\x01\x12\x38\n\tarbitrary\x18\x02 \x01(\x0b\x32#.luminary.proto.cad.AnchoredVector3H\x00\x42\x06\n\x04\x61xis\"t\n\x07Scaling\x12\x38\n\tarbitrary\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3B\x05\xb8\xb2\x19\x80PH\x00\x12\x1b\n\tisotropic\x18\x02 \x01(\x01\x42\x06\xb8\xb2\x19\xd4\x9a\x02H\x01\x42\x08\n\x06originB\x08\n\x06\x66\x61\x63tor\"O\n\nReflection\x12\x38\n\tarbitrary\x18\x01 \x01(\x0b\x32#.luminary.proto.cad.AnchoredVector3H\x00\x42\x07\n\x05planeB\"Z luminarycloud.com/core/proto/cadb\x06proto3')
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
|
|
@@ -79,18 +80,36 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
79
80
|
|
|
80
81
|
DESCRIPTOR._options = None
|
|
81
82
|
DESCRIPTOR._serialized_options = b'Z luminarycloud.com/core/proto/cad'
|
|
82
|
-
_AUGMENTEDMATRIX.
|
|
83
|
-
_AUGMENTEDMATRIX.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
83
|
+
_AUGMENTEDMATRIX.fields_by_name['affine']._options = None
|
|
84
|
+
_AUGMENTEDMATRIX.fields_by_name['affine']._serialized_options = b'\270\262\031\324\232\002'
|
|
85
|
+
_AUGMENTEDMATRIX.fields_by_name['translation']._options = None
|
|
86
|
+
_AUGMENTEDMATRIX.fields_by_name['translation']._serialized_options = b'\270\262\031\200P'
|
|
87
|
+
_MAGNITUDEVECTOR3.fields_by_name['direction']._options = None
|
|
88
|
+
_MAGNITUDEVECTOR3.fields_by_name['direction']._serialized_options = b'\270\262\031\324\232\002'
|
|
89
|
+
_MAGNITUDEVECTOR3.fields_by_name['magnitude']._options = None
|
|
90
|
+
_MAGNITUDEVECTOR3.fields_by_name['magnitude']._serialized_options = b'\270\262\031\200P'
|
|
91
|
+
_TRANSLATION.fields_by_name['vector']._options = None
|
|
92
|
+
_TRANSLATION.fields_by_name['vector']._serialized_options = b'\270\262\031\200P'
|
|
93
|
+
_ANCHOREDVECTOR3.fields_by_name['origin']._options = None
|
|
94
|
+
_ANCHOREDVECTOR3.fields_by_name['origin']._serialized_options = b'\270\262\031\200P'
|
|
95
|
+
_ANCHOREDVECTOR3.fields_by_name['direction']._options = None
|
|
96
|
+
_ANCHOREDVECTOR3.fields_by_name['direction']._serialized_options = b'\270\262\031\324\232\002'
|
|
97
|
+
_SCALING.fields_by_name['arbitrary']._options = None
|
|
98
|
+
_SCALING.fields_by_name['arbitrary']._serialized_options = b'\270\262\031\200P'
|
|
99
|
+
_SCALING.fields_by_name['isotropic']._options = None
|
|
100
|
+
_SCALING.fields_by_name['isotropic']._serialized_options = b'\270\262\031\324\232\002'
|
|
101
|
+
_AUGMENTEDMATRIX._serialized_start=107
|
|
102
|
+
_AUGMENTEDMATRIX._serialized_end=236
|
|
103
|
+
_MAGNITUDEVECTOR3._serialized_start=238
|
|
104
|
+
_MAGNITUDEVECTOR3._serialized_end=339
|
|
105
|
+
_TRANSLATION._serialized_start=342
|
|
106
|
+
_TRANSLATION._serialized_end=492
|
|
107
|
+
_ANCHOREDVECTOR3._serialized_start=494
|
|
108
|
+
_ANCHOREDVECTOR3._serialized_end=621
|
|
109
|
+
_ROTATION._serialized_start=623
|
|
110
|
+
_ROTATION._serialized_end=714
|
|
111
|
+
_SCALING._serialized_start=716
|
|
112
|
+
_SCALING._serialized_end=832
|
|
113
|
+
_REFLECTION._serialized_start=834
|
|
114
|
+
_REFLECTION._serialized_end=913
|
|
96
115
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -16,7 +16,7 @@ _sym_db = _symbol_database.Default()
|
|
|
16
16
|
from luminarycloud._proto.file import file_pb2 as proto_dot_file_dot_file__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19proto/upload/upload.proto\x12\x15luminary.proto.upload\x1a\x15proto/file/file.proto\"\x13\n\x11UnspecifiedMethod\"\x0e\n\x0cSimpleMethod\"\xae\x01\n\x12GCSResumableMethod\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12P\n\x0chttp_headers\x18\x02 \x03(\x0b\x32:.luminary.proto.upload.GCSResumableMethod.HttpHeadersEntry\x1a\x32\n\x10HttpHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xda\x01\n\x06Upload\x12\n\n\x02id\x18\x01 \x01(\t\x12?\n\x0bunspecified\x18\x02 \x01(\x0b\x32(.luminary.proto.upload.UnspecifiedMethodH\x00\x12\x35\n\x06simple\x18\x03 \x01(\x0b\x32#.luminary.proto.upload.SimpleMethodH\x00\x12\x42\n\rgcs_resumable\x18\x04 \x01(\x0b\x32).luminary.proto.upload.GCSResumableMethodH\x00\x42\x08\n\x06method\"\x9c\x01\n\nMeshParams\x12\x0f\n\x07scaling\x18\x01 \x01(\x01\x12\x12\n\ndisconnect\x18\x02 \x01(\x08\x12\x32\n\tmesh_type\x18\x03 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x04 \x01(\x08\x12\x11\n\tmesh_name\x18\x05 \x01(\t\"\x10\n\x0eGeometryParams\"\x0b\n\tC81Params\"\x12\n\x10SurfDeformParams\"\x95\x02\n\x0eResourceParams\x12\x38\n\x0bmesh_params\x18\x01 \x01(\x0b\x32!.luminary.proto.upload.MeshParamsH\x00\x12@\n\x0fgeometry_params\x18\x02 \x01(\x0b\x32%.luminary.proto.upload.GeometryParamsH\x00\x12\x36\n\nc81_params\x18\x03 \x01(\x0b\x32 .luminary.proto.upload.C81ParamsH\x00\x12\x45\n\x12surf_deform_params\x18\x04 \x01(\x0b\x32\'.luminary.proto.upload.SurfDeformParamsH\x00\x42\x08\n\x06params\"\x9f\x01\n\x13\x43reateUploadRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x34\n\tfile_meta\x18\x02 \x01(\x0b\x32!.luminary.proto.file.FileMetadata\x12>\n\x0fresource_params\x18\x03 \x01(\x0b\x32%.luminary.proto.upload.ResourceParams\"B\n\x11\x43reateUploadReply\x12-\n\x06upload\x18\x01 \x01(\x0b\x32\x1d.luminary.proto.upload.Upload\"V\n\x12StartUploadRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12-\n\x06method\x18\x02 \x01(\x0e\x32\x1d.luminary.proto.upload.Method\"A\n\x10StartUploadReply\x12-\n\x06upload\x18\x01 \x01(\x0b\x32\x1d.luminary.proto.upload.Upload\"D\n\x11UploadDataRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"9\n\x0fUploadDataReply\x12\x14\n\x0climit_offset\x18\x01 \x01(\x04\x12\x10\n\x08\x63omplete\x18\x02 \x01(\x08\"(\n\x13\x46inishUploadRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\"r\n\x11\x46inishUploadReply\x12\x0b\n\x03url\x18\x01 \x01(\t\x12?\n\nconversion\x18\x02 \x01(\x0e\x32+.luminary.proto.upload.MeshConversionStatus\x12\x0f\n\x07mesh_id\x18\x03 \x01(\t\"
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19proto/upload/upload.proto\x12\x15luminary.proto.upload\x1a\x15proto/file/file.proto\"\x13\n\x11UnspecifiedMethod\"\x0e\n\x0cSimpleMethod\"\xae\x01\n\x12GCSResumableMethod\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12P\n\x0chttp_headers\x18\x02 \x03(\x0b\x32:.luminary.proto.upload.GCSResumableMethod.HttpHeadersEntry\x1a\x32\n\x10HttpHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xda\x01\n\x06Upload\x12\n\n\x02id\x18\x01 \x01(\t\x12?\n\x0bunspecified\x18\x02 \x01(\x0b\x32(.luminary.proto.upload.UnspecifiedMethodH\x00\x12\x35\n\x06simple\x18\x03 \x01(\x0b\x32#.luminary.proto.upload.SimpleMethodH\x00\x12\x42\n\rgcs_resumable\x18\x04 \x01(\x0b\x32).luminary.proto.upload.GCSResumableMethodH\x00\x42\x08\n\x06method\"\x9c\x01\n\nMeshParams\x12\x0f\n\x07scaling\x18\x01 \x01(\x01\x12\x12\n\ndisconnect\x18\x02 \x01(\x08\x12\x32\n\tmesh_type\x18\x03 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x04 \x01(\x08\x12\x11\n\tmesh_name\x18\x05 \x01(\t\"\x10\n\x0eGeometryParams\"\x0b\n\tC81Params\"\x12\n\x10SurfDeformParams\"\x95\x02\n\x0eResourceParams\x12\x38\n\x0bmesh_params\x18\x01 \x01(\x0b\x32!.luminary.proto.upload.MeshParamsH\x00\x12@\n\x0fgeometry_params\x18\x02 \x01(\x0b\x32%.luminary.proto.upload.GeometryParamsH\x00\x12\x36\n\nc81_params\x18\x03 \x01(\x0b\x32 .luminary.proto.upload.C81ParamsH\x00\x12\x45\n\x12surf_deform_params\x18\x04 \x01(\x0b\x32\'.luminary.proto.upload.SurfDeformParamsH\x00\x42\x08\n\x06params\"\x9f\x01\n\x13\x43reateUploadRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x34\n\tfile_meta\x18\x02 \x01(\x0b\x32!.luminary.proto.file.FileMetadata\x12>\n\x0fresource_params\x18\x03 \x01(\x0b\x32%.luminary.proto.upload.ResourceParams\"B\n\x11\x43reateUploadReply\x12-\n\x06upload\x18\x01 \x01(\x0b\x32\x1d.luminary.proto.upload.Upload\"V\n\x12StartUploadRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12-\n\x06method\x18\x02 \x01(\x0e\x32\x1d.luminary.proto.upload.Method\"A\n\x10StartUploadReply\x12-\n\x06upload\x18\x01 \x01(\x0b\x32\x1d.luminary.proto.upload.Upload\"D\n\x11UploadDataRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"9\n\x0fUploadDataReply\x12\x14\n\x0climit_offset\x18\x01 \x01(\x04\x12\x10\n\x08\x63omplete\x18\x02 \x01(\x08\"(\n\x13\x46inishUploadRequest\x12\x11\n\tupload_id\x18\x01 \x01(\t\"r\n\x11\x46inishUploadReply\x12\x0b\n\x03url\x18\x01 \x01(\t\x12?\n\nconversion\x18\x02 \x01(\x0e\x32+.luminary.proto.upload.MeshConversionStatus\x12\x0f\n\x07mesh_id\x18\x03 \x01(\t\"A\n\x19WebGeometryUploadMetadata\x12\x10\n\x08part_ids\x18\x01 \x03(\t\x12\x12\n\npart_names\x18\x02 \x03(\t\"\x7f\n\x18UploadWebGeometryRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x42\n\x08metadata\x18\x03 \x01(\x0b\x32\x30.luminary.proto.upload.WebGeometryUploadMetadata\"1\n\x16UploadWebGeometryReply\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"K\n\x1cGetWebGeometryBaseUrlRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x17\n\x0fweb_geometry_id\x18\x02 \x01(\t\"r\n\x1aGetWebGeometryBaseUrlReply\x12\x10\n\x08\x62\x61se_url\x18\x01 \x01(\t\x12\x42\n\x08metadata\x18\x02 \x01(\x0b\x32\x30.luminary.proto.upload.WebGeometryUploadMetadata*M\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x11\n\rMETHOD_SIMPLE\x10\x01\x12\x18\n\x14METHOD_GCS_RESUMABLE\x10\x02*f\n\x08MeshType\x12\x19\n\x15MESH_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMESH_TYPE_ANSYS\x10\x01\x12\x12\n\x0eMESH_TYPE_CGNS\x10\x02\x12\x16\n\x12MESH_TYPE_OPENFOAM\x10\x03*S\n\x14MeshConversionStatus\x12\x10\n\x0cNOT_REQUIRED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\x0c\n\x08\x43OMPLETE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x42%Z#luminarycloud.com/core/proto/uploadb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_METHOD = DESCRIPTOR.enum_types_by_name['Method']
|
|
22
22
|
Method = enum_type_wrapper.EnumTypeWrapper(_METHOD)
|
|
@@ -55,6 +55,7 @@ _UPLOADDATAREQUEST = DESCRIPTOR.message_types_by_name['UploadDataRequest']
|
|
|
55
55
|
_UPLOADDATAREPLY = DESCRIPTOR.message_types_by_name['UploadDataReply']
|
|
56
56
|
_FINISHUPLOADREQUEST = DESCRIPTOR.message_types_by_name['FinishUploadRequest']
|
|
57
57
|
_FINISHUPLOADREPLY = DESCRIPTOR.message_types_by_name['FinishUploadReply']
|
|
58
|
+
_WEBGEOMETRYUPLOADMETADATA = DESCRIPTOR.message_types_by_name['WebGeometryUploadMetadata']
|
|
58
59
|
_UPLOADWEBGEOMETRYREQUEST = DESCRIPTOR.message_types_by_name['UploadWebGeometryRequest']
|
|
59
60
|
_UPLOADWEBGEOMETRYREPLY = DESCRIPTOR.message_types_by_name['UploadWebGeometryReply']
|
|
60
61
|
_GETWEBGEOMETRYBASEURLREQUEST = DESCRIPTOR.message_types_by_name['GetWebGeometryBaseUrlRequest']
|
|
@@ -186,6 +187,13 @@ FinishUploadReply = _reflection.GeneratedProtocolMessageType('FinishUploadReply'
|
|
|
186
187
|
})
|
|
187
188
|
_sym_db.RegisterMessage(FinishUploadReply)
|
|
188
189
|
|
|
190
|
+
WebGeometryUploadMetadata = _reflection.GeneratedProtocolMessageType('WebGeometryUploadMetadata', (_message.Message,), {
|
|
191
|
+
'DESCRIPTOR' : _WEBGEOMETRYUPLOADMETADATA,
|
|
192
|
+
'__module__' : 'proto.upload.upload_pb2'
|
|
193
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.upload.WebGeometryUploadMetadata)
|
|
194
|
+
})
|
|
195
|
+
_sym_db.RegisterMessage(WebGeometryUploadMetadata)
|
|
196
|
+
|
|
189
197
|
UploadWebGeometryRequest = _reflection.GeneratedProtocolMessageType('UploadWebGeometryRequest', (_message.Message,), {
|
|
190
198
|
'DESCRIPTOR' : _UPLOADWEBGEOMETRYREQUEST,
|
|
191
199
|
'__module__' : 'proto.upload.upload_pb2'
|
|
@@ -220,12 +228,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
220
228
|
DESCRIPTOR._serialized_options = b'Z#luminarycloud.com/core/proto/upload'
|
|
221
229
|
_GCSRESUMABLEMETHOD_HTTPHEADERSENTRY._options = None
|
|
222
230
|
_GCSRESUMABLEMETHOD_HTTPHEADERSENTRY._serialized_options = b'8\001'
|
|
223
|
-
_METHOD._serialized_start=
|
|
224
|
-
_METHOD._serialized_end=
|
|
225
|
-
_MESHTYPE._serialized_start=
|
|
226
|
-
_MESHTYPE._serialized_end=
|
|
227
|
-
_MESHCONVERSIONSTATUS._serialized_start=
|
|
228
|
-
_MESHCONVERSIONSTATUS._serialized_end=
|
|
231
|
+
_METHOD._serialized_start=2112
|
|
232
|
+
_METHOD._serialized_end=2189
|
|
233
|
+
_MESHTYPE._serialized_start=2191
|
|
234
|
+
_MESHTYPE._serialized_end=2293
|
|
235
|
+
_MESHCONVERSIONSTATUS._serialized_start=2295
|
|
236
|
+
_MESHCONVERSIONSTATUS._serialized_end=2378
|
|
229
237
|
_UNSPECIFIEDMETHOD._serialized_start=75
|
|
230
238
|
_UNSPECIFIEDMETHOD._serialized_end=94
|
|
231
239
|
_SIMPLEMETHOD._serialized_start=96
|
|
@@ -262,12 +270,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
262
270
|
_FINISHUPLOADREQUEST._serialized_end=1554
|
|
263
271
|
_FINISHUPLOADREPLY._serialized_start=1556
|
|
264
272
|
_FINISHUPLOADREPLY._serialized_end=1670
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
+
_WEBGEOMETRYUPLOADMETADATA._serialized_start=1672
|
|
274
|
+
_WEBGEOMETRYUPLOADMETADATA._serialized_end=1737
|
|
275
|
+
_UPLOADWEBGEOMETRYREQUEST._serialized_start=1739
|
|
276
|
+
_UPLOADWEBGEOMETRYREQUEST._serialized_end=1866
|
|
277
|
+
_UPLOADWEBGEOMETRYREPLY._serialized_start=1868
|
|
278
|
+
_UPLOADWEBGEOMETRYREPLY._serialized_end=1917
|
|
279
|
+
_GETWEBGEOMETRYBASEURLREQUEST._serialized_start=1919
|
|
280
|
+
_GETWEBGEOMETRYBASEURLREQUEST._serialized_end=1994
|
|
281
|
+
_GETWEBGEOMETRYBASEURLREPLY._serialized_start=1996
|
|
282
|
+
_GETWEBGEOMETRYBASEURLREPLY._serialized_end=2110
|
|
273
283
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -453,20 +453,44 @@ class FinishUploadReply(google.protobuf.message.Message):
|
|
|
453
453
|
|
|
454
454
|
global___FinishUploadReply = FinishUploadReply
|
|
455
455
|
|
|
456
|
+
class WebGeometryUploadMetadata(google.protobuf.message.Message):
|
|
457
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
458
|
+
|
|
459
|
+
PART_IDS_FIELD_NUMBER: builtins.int
|
|
460
|
+
PART_NAMES_FIELD_NUMBER: builtins.int
|
|
461
|
+
@property
|
|
462
|
+
def part_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
463
|
+
@property
|
|
464
|
+
def part_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
465
|
+
def __init__(
|
|
466
|
+
self,
|
|
467
|
+
*,
|
|
468
|
+
part_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
469
|
+
part_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
470
|
+
) -> None: ...
|
|
471
|
+
def ClearField(self, field_name: typing_extensions.Literal["part_ids", b"part_ids", "part_names", b"part_names"]) -> None: ...
|
|
472
|
+
|
|
473
|
+
global___WebGeometryUploadMetadata = WebGeometryUploadMetadata
|
|
474
|
+
|
|
456
475
|
class UploadWebGeometryRequest(google.protobuf.message.Message):
|
|
457
476
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
458
477
|
|
|
459
478
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
460
479
|
URL_FIELD_NUMBER: builtins.int
|
|
480
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
461
481
|
project_id: builtins.str
|
|
462
482
|
url: builtins.str
|
|
483
|
+
@property
|
|
484
|
+
def metadata(self) -> global___WebGeometryUploadMetadata: ...
|
|
463
485
|
def __init__(
|
|
464
486
|
self,
|
|
465
487
|
*,
|
|
466
488
|
project_id: builtins.str = ...,
|
|
467
489
|
url: builtins.str = ...,
|
|
490
|
+
metadata: global___WebGeometryUploadMetadata | None = ...,
|
|
468
491
|
) -> None: ...
|
|
469
|
-
def
|
|
492
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
493
|
+
def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "project_id", b"project_id", "url", b"url"]) -> None: ...
|
|
470
494
|
|
|
471
495
|
global___UploadWebGeometryRequest = UploadWebGeometryRequest
|
|
472
496
|
|
|
@@ -505,12 +529,17 @@ class GetWebGeometryBaseUrlReply(google.protobuf.message.Message):
|
|
|
505
529
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
506
530
|
|
|
507
531
|
BASE_URL_FIELD_NUMBER: builtins.int
|
|
532
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
508
533
|
base_url: builtins.str
|
|
534
|
+
@property
|
|
535
|
+
def metadata(self) -> global___WebGeometryUploadMetadata: ...
|
|
509
536
|
def __init__(
|
|
510
537
|
self,
|
|
511
538
|
*,
|
|
512
539
|
base_url: builtins.str = ...,
|
|
540
|
+
metadata: global___WebGeometryUploadMetadata | None = ...,
|
|
513
541
|
) -> None: ...
|
|
514
|
-
def
|
|
542
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
543
|
+
def ClearField(self, field_name: typing_extensions.Literal["base_url", b"base_url", "metadata", b"metadata"]) -> None: ...
|
|
515
544
|
|
|
516
545
|
global___GetWebGeometryBaseUrlReply = GetWebGeometryBaseUrlReply
|
luminarycloud/geometry.py
CHANGED
|
@@ -10,7 +10,6 @@ from typing import Union, Sequence
|
|
|
10
10
|
from typing_extensions import TYPE_CHECKING
|
|
11
11
|
|
|
12
12
|
import luminarycloud as lc
|
|
13
|
-
from luminarycloud._helpers.warnings import experimental
|
|
14
13
|
|
|
15
14
|
from ._client import get_default_client
|
|
16
15
|
from ._helpers._timestamp_to_datetime import timestamp_to_datetime
|
|
@@ -112,13 +111,14 @@ class Geometry(ProtoWrapperBase):
|
|
|
112
111
|
raise TypeError("volumes must be a list")
|
|
113
112
|
return VolumeSelection(self, volumes)
|
|
114
113
|
|
|
115
|
-
@experimental
|
|
116
114
|
def use_named_variable_set(self, named_variable_set: Union[NamedVariableSet, str]) -> None:
|
|
117
115
|
"""
|
|
118
116
|
Set the current state of the named variable set for the geometry. The current state of the
|
|
119
117
|
geometry will be recreated using this named variable set and all future modifications
|
|
120
118
|
applied will use this named variable set as it was at the time of the call.
|
|
121
119
|
|
|
120
|
+
.. warning:: This feature is experimental and may change or be removed without notice.
|
|
121
|
+
|
|
122
122
|
Parameters
|
|
123
123
|
----------
|
|
124
124
|
named_variable_set : NamedVariableSet | str
|
|
@@ -4,7 +4,6 @@ from datetime import datetime
|
|
|
4
4
|
from ._client import get_default_client
|
|
5
5
|
from ._helpers._timestamp_to_datetime import timestamp_to_datetime
|
|
6
6
|
from ._helpers.named_variables import _named_variables_from_proto, _named_variables_to_proto
|
|
7
|
-
from ._helpers.warnings import experimental
|
|
8
7
|
from ._proto.api.v0.luminarycloud.named_variable_set import (
|
|
9
8
|
named_variable_set_pb2 as namedvariablepb,
|
|
10
9
|
)
|
|
@@ -12,13 +11,12 @@ from ._wrapper import ProtoWrapper, ProtoWrapperBase
|
|
|
12
11
|
from .types import ProjectID, NamedVariableSetID, LcFloat
|
|
13
12
|
|
|
14
13
|
|
|
15
|
-
@experimental
|
|
16
14
|
@ProtoWrapper(namedvariablepb.NamedVariableSet)
|
|
17
15
|
class NamedVariableSet(ProtoWrapperBase):
|
|
18
16
|
"""
|
|
19
17
|
Represents a named variable set object.
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
.. warning:: This feature is experimental and may change or be removed without notice.
|
|
22
20
|
|
|
23
21
|
Attributes
|
|
24
22
|
----------
|
|
@@ -119,11 +117,12 @@ class NamedVariableSet(ProtoWrapperBase):
|
|
|
119
117
|
return self._named_variables
|
|
120
118
|
|
|
121
119
|
|
|
122
|
-
@experimental
|
|
123
120
|
def get_named_variable_set(id: NamedVariableSetID) -> NamedVariableSet:
|
|
124
121
|
"""
|
|
125
122
|
Retrieve a specific named variable set by ID.
|
|
126
123
|
|
|
124
|
+
.. warning:: This feature is experimental and may change or be removed without notice.
|
|
125
|
+
|
|
127
126
|
Parameters
|
|
128
127
|
----------
|
|
129
128
|
id : str
|
|
@@ -4,7 +4,6 @@ from .._client import get_default_client
|
|
|
4
4
|
from .._proto.api.v0.luminarycloud.stopping_condition import stopping_condition_pb2 as stopcondpb
|
|
5
5
|
from .._proto.output import output_pb2 as outputpb
|
|
6
6
|
from dataclasses import dataclass
|
|
7
|
-
from .._helpers.warnings import experimental
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
@dataclass
|
|
@@ -155,7 +154,6 @@ def delete_stopping_condition(simulation_template_id: str, id: str) -> None:
|
|
|
155
154
|
get_default_client().DeleteStoppingCondition(req)
|
|
156
155
|
|
|
157
156
|
|
|
158
|
-
@experimental
|
|
159
157
|
def get_general_stopping_conditions(simulation_template_id: str) -> GeneralStoppingConditions:
|
|
160
158
|
"""
|
|
161
159
|
Get the general stopping conditions for a simulation template.
|
|
@@ -174,7 +172,6 @@ def get_general_stopping_conditions(simulation_template_id: str) -> GeneralStopp
|
|
|
174
172
|
return GeneralStoppingConditions._from_proto(res.basic_stopping_conditions)
|
|
175
173
|
|
|
176
174
|
|
|
177
|
-
@experimental
|
|
178
175
|
def update_general_stopping_conditions(
|
|
179
176
|
simulation_template_id: str,
|
|
180
177
|
max_iterations: int | None = None,
|
|
@@ -4,12 +4,10 @@ from typing import List, Optional
|
|
|
4
4
|
from .._client import get_default_client
|
|
5
5
|
from .._proto.api.v0.luminarycloud.physics_ai import physics_ai_pb2 as physaipb
|
|
6
6
|
from .._wrapper import ProtoWrapper, ProtoWrapperBase
|
|
7
|
-
from .._helpers.warnings import experimental
|
|
8
7
|
from ..types.ids import PhysicsAiArchitectureID, PhysicsAiArchitectureVersionID
|
|
9
8
|
from ..enum.physics_ai_lifecycle_state import PhysicsAiLifecycleState
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
@experimental
|
|
13
11
|
@ProtoWrapper(physaipb.PhysicsAiArchitectureVersion)
|
|
14
12
|
class PhysicsAiArchitectureVersion(ProtoWrapperBase):
|
|
15
13
|
"""
|
|
@@ -25,7 +23,6 @@ class PhysicsAiArchitectureVersion(ProtoWrapperBase):
|
|
|
25
23
|
_proto: physaipb.PhysicsAiArchitectureVersion
|
|
26
24
|
|
|
27
25
|
|
|
28
|
-
@experimental
|
|
29
26
|
@ProtoWrapper(physaipb.PhysicsAiArchitecture)
|
|
30
27
|
class PhysicsAiArchitecture(ProtoWrapperBase):
|
|
31
28
|
"""
|
|
@@ -55,7 +52,6 @@ class PhysicsAiArchitecture(ProtoWrapperBase):
|
|
|
55
52
|
return self.versions[0] if self.versions else None
|
|
56
53
|
|
|
57
54
|
|
|
58
|
-
@experimental
|
|
59
55
|
def list_architectures() -> List[PhysicsAiArchitecture]:
|
|
60
56
|
"""
|
|
61
57
|
List available Physics AI architectures for model training.
|
|
@@ -14,7 +14,6 @@ from .._proto.api.v0.luminarycloud.inference import inference_pb2 as inferencepb
|
|
|
14
14
|
from .._proto.inferenceservice import inferenceservice_pb2 as inferenceservicepb
|
|
15
15
|
from .._wrapper import ProtoWrapper, ProtoWrapperBase
|
|
16
16
|
from ..project import Project
|
|
17
|
-
from .._helpers.warnings import experimental
|
|
18
17
|
from ..project import Project
|
|
19
18
|
from .._helpers import upload_file
|
|
20
19
|
from .._proto.upload import upload_pb2 as uploadpb
|
|
@@ -48,7 +47,6 @@ class ExtAeroInferenceResult:
|
|
|
48
47
|
self.pressure_surface = inference_result.get("pressure_surface", None)
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
@experimental
|
|
52
50
|
def external_aero_inference(
|
|
53
51
|
project: Project, stl_file: str, checkpoint_file: str, config_name: str, stencil_size: int
|
|
54
52
|
) -> ExtAeroInferenceResult:
|
|
@@ -77,7 +75,6 @@ def external_aero_inference(
|
|
|
77
75
|
return ExtAeroInferenceResult(result)
|
|
78
76
|
|
|
79
77
|
|
|
80
|
-
@experimental
|
|
81
78
|
def perform_inference(
|
|
82
79
|
project: Project, stl_file: str, checkpoint_file: str, config_name: str, stencil_size: int
|
|
83
80
|
) -> dict[str, Any]:
|
|
@@ -144,7 +141,6 @@ def perform_inference(
|
|
|
144
141
|
return currated
|
|
145
142
|
|
|
146
143
|
|
|
147
|
-
@experimental
|
|
148
144
|
def start_inference_job(
|
|
149
145
|
project: Project,
|
|
150
146
|
stl_url: str,
|
|
@@ -4,12 +4,10 @@ from typing import List, Optional
|
|
|
4
4
|
from .._client import get_default_client
|
|
5
5
|
from .._proto.api.v0.luminarycloud.physics_ai import physics_ai_pb2 as physaipb
|
|
6
6
|
from .._wrapper import ProtoWrapper, ProtoWrapperBase
|
|
7
|
-
from .._helpers.warnings import experimental
|
|
8
7
|
from ..types.ids import PhysicsAiModelID, PhysicsAiModelVersionID
|
|
9
8
|
from ..enum.physics_ai_lifecycle_state import PhysicsAiLifecycleState
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
@experimental
|
|
13
11
|
@ProtoWrapper(physaipb.PhysicsAiModelVersion)
|
|
14
12
|
class PhysicsAiModelVersion(ProtoWrapperBase):
|
|
15
13
|
"""
|
|
@@ -24,7 +22,6 @@ class PhysicsAiModelVersion(ProtoWrapperBase):
|
|
|
24
22
|
_proto: physaipb.PhysicsAiModelVersion
|
|
25
23
|
|
|
26
24
|
|
|
27
|
-
@experimental
|
|
28
25
|
@ProtoWrapper(physaipb.PhysicsAiModel)
|
|
29
26
|
class PhysicsAiModel(ProtoWrapperBase):
|
|
30
27
|
"""
|
|
@@ -54,7 +51,6 @@ class PhysicsAiModel(ProtoWrapperBase):
|
|
|
54
51
|
return self.versions[0] if self.versions else None
|
|
55
52
|
|
|
56
53
|
|
|
57
|
-
@experimental
|
|
58
54
|
def list_pretrained_models() -> List[PhysicsAiModel]:
|
|
59
55
|
"""
|
|
60
56
|
List available pretrained Physics AI models.
|
|
@@ -4,12 +4,10 @@ import tarfile
|
|
|
4
4
|
from typing import List, Optional, BinaryIO, cast
|
|
5
5
|
|
|
6
6
|
from .._client import get_default_client
|
|
7
|
-
from .._helpers.warnings import experimental
|
|
8
7
|
from .._helpers.download import download_solution_physics_ai as _download_solution_physics_ai
|
|
9
8
|
from ..enum.quantity_type import QuantityType
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
@experimental
|
|
13
11
|
def _download_processed_solution_physics_ai( # noqa: F841
|
|
14
12
|
solution_id: str,
|
|
15
13
|
exclude_surfaces: Optional[List[str]] = None,
|
|
@@ -25,6 +23,8 @@ def _download_processed_solution_physics_ai( # noqa: F841
|
|
|
25
23
|
Returns a compressed archive containing processed solution files including
|
|
26
24
|
merged surfaces (VTP/STL) and optionally volume data (VTU).
|
|
27
25
|
|
|
26
|
+
.. warning:: This feature is experimental and may change or be removed without notice.
|
|
27
|
+
|
|
28
28
|
Args:
|
|
29
29
|
solution_id: ID of the solution to download
|
|
30
30
|
exclude_surfaces: List of surface names to exclude from processing
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Copyright 2025 Luminary Cloud, Inc. All Rights Reserved.
|
|
2
2
|
from .core import (
|
|
3
3
|
Pipeline as Pipeline,
|
|
4
|
+
PipelineParameter as PipelineParameter,
|
|
4
5
|
)
|
|
5
6
|
|
|
6
7
|
from .parameters import (
|
|
@@ -27,3 +28,8 @@ from .operators import (
|
|
|
27
28
|
Simulate as Simulate,
|
|
28
29
|
SimulateOutputs as SimulateOutputs,
|
|
29
30
|
)
|
|
31
|
+
|
|
32
|
+
from .arguments import (
|
|
33
|
+
PipelineArgs as PipelineArgs,
|
|
34
|
+
ArgNamedVariableSet as ArgNamedVariableSet,
|
|
35
|
+
)
|