@@ -106,7 +106,7 @@ message EdgeEntity{
106106 CurveType curve_type = 10 ;
107107 string owner_name = 11 ;
108108 string export_id = 12 ;
109- double length = 13 ;
109+ Quantity length = 13 ;
110110 string owner_id = 14 ;
111111 bool is_reversed = 15 ;
112112}
@@ -127,7 +127,7 @@ message FaceEntity{
127127 SurfaceType surface_type = 10 ;
128128 string owner_name = 11 ;
129129 string export_id = 12 ;
130- double area = 13 ;
130+ Quantity area = 13 ;
131131 bool is_reversed = 14 ;
132132 EntityIdentifier parent_id = 15 ;
133133}
@@ -137,7 +137,7 @@ message FaceEntity{
137137message CurveEntity {
138138 EntityIdentifier id = 1 ;
139139 string owner_name = 2 ;
140- double length = 3 ;
140+ Quantity length = 3 ;
141141 repeated Point points = 4 ;
142142}
143143
@@ -189,46 +189,46 @@ message NamedSelectionEntity {
189189message WeldEntity {
190190 repeated TrimmedCurveList geometry = 1 ;
191191 string display_name = 2 ;
192- double length = 3 ;
193- double volume = 4 ;
194- double mass = 5 ;
195- double time = 6 ;
196- double rod_length = 7 ;
192+ Quantity length = 3 ;
193+ Quantity volume = 4 ;
194+ Quantity mass = 5 ;
195+ Quantity time = 6 ;
196+ Quantity rod_length = 7 ;
197197 bool is_intermittent = 8 ;
198198 int32 sequence_id = 9 ;
199- double size1 = 10 ;
200- double size2 = 11 ;
199+ Quantity size1 = 10 ;
200+ Quantity size2 = 11 ;
201201
202202 // This data only exists if the weld is intermittent
203203 bool is_angular = 12 ;
204204 bool is_at_center = 13 ;
205- double intermittent_length = 14 ;
205+ Quantity intermittent_length = 14 ;
206206 int32 number_of_welds = 15 ;
207- double pitch = 16 ;
207+ Quantity pitch = 16 ;
208208}
209209
210210message FilletWeldEntity {
211211 repeated TrimmedCurveList geometry = 1 ;
212212 string display_name = 2 ;
213- double length = 3 ;
214- double volume = 4 ;
215- double mass = 5 ;
216- double time = 6 ;
217- double rod_length = 7 ;
213+ Quantity length = 3 ;
214+ Quantity volume = 4 ;
215+ Quantity mass = 5 ;
216+ Quantity time = 6 ;
217+ Quantity rod_length = 7 ;
218218 bool is_intermittent = 8 ;
219219 int32 sequence_id = 9 ;
220- double size1 = 10 ;
221- double size2 = 11 ;
220+ Quantity size1 = 10 ;
221+ Quantity size2 = 11 ;
222222
223223 // This data only exists if the weld is intermittent
224224 bool is_angular = 12 ;
225225 bool is_at_center = 13 ;
226- double intermittent_length = 14 ;
226+ Quantity intermittent_length = 14 ;
227227 int32 number_of_welds = 15 ;
228- double pitch = 16 ;
228+ Quantity pitch = 16 ;
229229
230230 // Additional fillet weld specific properties
231- double trajectory_length = 17 ;
231+ Quantity trajectory_length = 17 ;
232232 int32 number_of_sides = 18 ;
233233 bool all_around = 19 ;
234234}
@@ -246,21 +246,21 @@ message MatingCondition {
246246
247247message AlignCondition {
248248 MatingCondition condition = 1 ;
249- double offset = 2 ;
249+ Quantity offset = 2 ;
250250 bool is_reversed = 3 ;
251251 bool is_valid = 4 ;
252252}
253253
254254message TangentCondition {
255255 MatingCondition condition = 1 ;
256- double offset = 2 ;
256+ Quantity offset = 2 ;
257257 bool is_reversed = 3 ;
258258 bool is_valid = 4 ;
259259}
260260
261261message OrientCondition {
262262 MatingCondition condition = 1 ;
263- double offset = 2 ;
263+ Quantity offset = 2 ;
264264 bool is_reversed = 3 ;
265265 bool is_valid = 4 ;
266266}
@@ -289,22 +289,22 @@ message SurfaceEvaluation {
289289 Direction derivative_uv = 3 ;
290290 Direction derivative_v = 4 ;
291291 Direction derivative_vv = 5 ;
292- double max_curvature = 6 ;
292+ Quantity max_curvature = 6 ;
293293 Direction max_curvature_direction = 7 ;
294- double min_curvature = 8 ;
294+ Quantity min_curvature = 8 ;
295295 Direction min_curvature_direction = 9 ;
296296 Direction normal = 10 ;
297- double param_u = 11 ;
298- double param_v = 12 ;
297+ Quantity param_u = 11 ;
298+ Quantity param_v = 12 ;
299299 Point point = 13 ;
300300}
301301
302302message Surface {
303303 Point origin = 1 ;
304- double radius = 2 ;
305- double half_angle = 3 ;
306- double major_radius = 4 ;
307- double minor_radius = 5 ;
304+ Quantity radius = 2 ;
305+ Quantity half_angle = 3 ;
306+ Quantity major_radius = 4 ;
307+ Quantity minor_radius = 5 ;
308308 Direction reference = 6 ;
309309 Direction axis = 7 ;
310310 NurbsSurface nurbs_surface = 8 ;
@@ -313,10 +313,10 @@ message Surface {
313313message TrimmedSurface {
314314 Surface surface = 1 ;
315315 SurfaceType type = 2 ;
316- double u_min = 3 ;
317- double u_max = 4 ;
318- double v_min = 5 ;
319- double v_max = 6 ;
316+ Quantity u_min = 3 ;
317+ Quantity u_max = 4 ;
318+ Quantity v_min = 5 ;
319+ Quantity v_max = 6 ;
320320}
321321
322322message NurbsSurface {
@@ -342,9 +342,9 @@ message ParameterizationBounds {
342342
343343message CurveGeometry {
344344 Point origin = 1 ;
345- double radius = 2 ;
346- double major_radius = 3 ;
347- double minor_radius = 4 ;
345+ Quantity radius = 2 ;
346+ Quantity major_radius = 3 ;
347+ Quantity minor_radius = 4 ;
348348 Direction direction = 5 ;
349349 Direction reference = 6 ;
350350 Direction axis = 7 ;
@@ -357,14 +357,14 @@ message TrimmedCurve {
357357 Point end = 3 ;
358358 double interval_start = 4 ;
359359 double interval_end = 5 ;
360- double length = 6 ;
360+ Quantity length = 6 ;
361361}
362362
363363// The shape.
364364message Shape {
365365 bool is_surface_body = 1 ;
366- double surface_area = 2 ;
367- double volume = 3 ;
366+ Quantity surface_area = 2 ;
367+ Quantity volume = 3 ;
368368 Direction bounding_box_size = 4 ;
369369}
370370
@@ -417,13 +417,13 @@ message Geometries {
417417
418418message ProfileCrossSectionInfo {
419419 int32 section_anchor = 1 ;
420- double section_angle = 2 ;
420+ Quantity section_angle = 2 ;
421421 Frame section_frame = 3 ;
422422 repeated TrimmedCurveList section_profile = 4 ;
423423}
424424
425425message Separation {
426- double distance = 1 ;
426+ Quantity distance = 1 ;
427427 Point point_a = 2 ;
428428 Point point_b = 3 ;
429429}
@@ -434,20 +434,20 @@ message TrimmedCurveList {
434434}
435435
436436message ProfileProperties {
437- double area = 1 ;
438- double centroid_x = 2 ;
439- double centroid_y = 3 ;
437+ Quantity area = 1 ;
438+ Quantity centroid_x = 2 ;
439+ Quantity centroid_y = 3 ;
440440 double warping_constant = 4 ;
441- double ixx = 5 ;
442- double ixy = 6 ;
443- double iyy = 7 ;
441+ Quantity ixx = 5 ;
442+ Quantity ixy = 6 ;
443+ Quantity iyy = 7 ;
444444 double torsional_constant = 8 ;
445- double shear_center_x = 9 ;
446- double shear_center_y = 10 ;
445+ Quantity shear_center_x = 9 ;
446+ Quantity shear_center_y = 10 ;
447447}
448448
449449message CurveEvaluation {
450- double curvature = 1 ;
450+ Quantity curvature = 1 ;
451451 Direction derivative = 2 ;
452452 Direction derivative2 = 3 ;
453453 double param = 4 ;
@@ -500,7 +500,7 @@ message DrivingDimensionEntity {
500500 EntityIdentifier id = 1 ;
501501 string name = 2 ;
502502 DimensionType dimension_type = 3 ;
503- double dimension_value = 4 ;
503+ Quantity dimension_value = 4 ;
504504}
505505
506506message GetFacesResponseData {
@@ -522,7 +522,7 @@ message Box {
522522
523523message Loop {
524524 string type = 1 ;
525- double length = 2 ;
525+ Quantity length = 2 ;
526526 Box bounding_box = 3 ;
527527 repeated string edges = 4 ;
528528}
@@ -549,12 +549,12 @@ message Vertex {
549549}
550550
551551message TessellationOptions {
552- double surface_deviation = 1 ;
553- double angle_deviation = 2 ;
552+ Quantity surface_deviation = 1 ;
553+ Quantity angle_deviation = 2 ;
554554 double maximum_aspect_ratio = 3 ;
555- double maximum_edge_length = 4 ;
555+ Quantity maximum_edge_length = 4 ;
556556 bool watertight = 5 ;
557- double curve_deviation = 6 ;
557+ Quantity curve_deviation = 6 ;
558558}
559559
560560message GetUpdateStateResponse {
0 commit comments