model_fields
-
ECADComponent.model_fields = {'arranges': FieldInfo(annotation=list[Arrange], required=False, default_factory=list, description='Ordered transformation operations applied after component insertion.'), 'assembly_all_from_library': FieldInfo(annotation=bool, required=False, default=False), 'component_type': FieldInfo(annotation=Union[Literal['ecad', 'mcad'], NoneType], required=False, default='ecad', description='Type of component to insert into the assembly.'), 'ecad_sub_components': FieldInfo(annotation=dict[str, ECADComponent], required=False, default_factory=dict, description='List of layout components aligned to this component in the hierarchy assembly.'), 'geometry_parameters': FieldInfo(annotation=Union[dict[str, Union[str, float, int]], NoneType], required=False, default=None, description='Geometry parameter overrides passed when inserting an MCAD component.'), 'layout_coordinate_systems': FieldInfo(annotation=Union[list[str], NoneType], required=False, default_factory=list, description='Coordinate systems imported from an ECAD layout component definition.'), 'mcad_sub_components': FieldInfo(annotation=dict[str, MCADComponent], required=False, default_factory=dict, description='List of 3D components aligned to this component in the hierarchy assembly.'), 'model': FieldInfo(annotation=str, required=True, description='Model definition name used to resolve the component file.'), 'model_libraries': FieldInfo(annotation=list[str], required=False, default_factory=list), 'name': FieldInfo(annotation=str, required=False, default='', description='Instance name of the component in the assembly.'), 'password': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Password used to open protected 3D component files.'), 'placement_pin_mapping': FieldInfo(annotation=Union[PlacementPinMapping, NoneType], required=False, default_factory=PlacementPinMapping, description='Pin mapping inputs used to place the component from layout reference data.'), 'reference_coordinate_system': FieldInfo(annotation=str, required=False, default='Global', description='Reference coordinate system used as the handle'), 'target_coordinate_system': FieldInfo(annotation=str, required=False, default='Global', description='Coordinate system where the component instance is inserted.'), 'use_pin_mapping': FieldInfo(annotation=bool, required=False, default=False, description='Whether layout pin mapping should drive component placement.')}