@@ -428,6 +428,12 @@ def serialize_beam(beam):
428428 "properties" : serialize_beam_properties (beam .properties ),
429429 "cross_section" : serialize_beam_cross_section (beam .cross_section ),
430430 }
431+
432+ def serialize_design_point (design_point ):
433+ return {
434+ "id" : design_point .id ,
435+ "parent" : design_point .owner_name ,
436+ }
431437
432438 parts = getattr (response , "parts" , [])
433439 transformed_parts = getattr (response , "transformed_parts" , [])
@@ -438,6 +444,7 @@ def serialize_beam(beam):
438444 component_coordinate_systems = getattr (response , "component_coord_systems" , [])
439445 component_shared_topologies = getattr (response , "component_shared_topologies" , [])
440446 beams = getattr (response , "beams" , [])
447+ design_points = getattr (response , "design_points" , [])
441448 return {
442449 "parts" : [serialize_part (part ) for part in parts ] if len (parts ) > 0 else [],
443450 "transformed_parts" : [serialize_transformed_part (tp ) for tp in transformed_parts ],
@@ -452,6 +459,7 @@ def serialize_beam(beam):
452459 component_shared_topologies
453460 ),
454461 "beams" : [serialize_beam (beam ) for beam in beams ],
462+ "design_points" : [serialize_design_point (dp ) for dp in design_points ],
455463 }
456464
457465 @protect_grpc
0 commit comments