ansys.sherlock.core.types.layer_types.PCBShape#
- class ansys.sherlock.core.types.layer_types.PCBShape(**data)#
Contains the properties for a PCB shape.
Methods
PCBShape.construct
([_fields_set])PCBShape.copy
(*[, include, exclude, update, ...])Returns a copy of the model.
PCBShape.dict
(*[, include, exclude, ...])PCBShape.from_orm
(obj)PCBShape.json
(*[, include, exclude, ...])PCBShape.model_construct
([_fields_set])Creates a new instance of the Model class with validated data.
PCBShape.model_copy
(*[, update, deep])!!! abstract "Usage Documentation"
PCBShape.model_dump
(*[, mode, include, ...])!!! abstract "Usage Documentation"
PCBShape.model_dump_json
(*[, indent, ...])!!! abstract "Usage Documentation"
PCBShape.model_json_schema
([by_alias, ...])Generates a JSON schema for a model class.
PCBShape.model_parametrized_name
(params)Compute the class name for parametrizations of generic classes.
PCBShape.model_post_init
(context, /)Override this method to perform additional initialization after __init__ and model_construct.
PCBShape.model_rebuild
(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
PCBShape.model_validate
(obj, *[, strict, ...])Validate a pydantic model instance.
PCBShape.model_validate_json
(json_data, *[, ...])!!! abstract "Usage Documentation"
PCBShape.model_validate_strings
(obj, *[, ...])Validate the given object with string data against the Pydantic model.
PCBShape.parse_file
(path, *[, content_type, ...])PCBShape.parse_obj
(obj)PCBShape.parse_raw
(b, *[, content_type, ...])PCBShape.schema
([by_alias, ref_template])PCBShape.schema_json
(*[, by_alias, ref_template])PCBShape.update_forward_refs
(**localns)PCBShape.validate
(value)Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Get extra fields set during validation.
Returns the set of fields that have been explicitly set on this model instance.