ansys.sherlock.core.types.project_types.GerberOutlineFile#
- class ansys.sherlock.core.types.project_types.GerberOutlineFile(**data)#
Contains the properties for a Gerber outline file.
Methods
GerberOutlineFile.construct
([_fields_set])GerberOutlineFile.copy
(*[, include, ...])Returns a copy of the model.
GerberOutlineFile.dict
(*[, include, ...])GerberOutlineFile.json
(*[, include, ...])GerberOutlineFile.model_construct
([_fields_set])Creates a new instance of the Model class with validated data.
GerberOutlineFile.model_copy
(*[, update, deep])!!! abstract "Usage Documentation"
GerberOutlineFile.model_dump
(*[, mode, ...])!!! abstract "Usage Documentation"
GerberOutlineFile.model_dump_json
(*[, ...])!!! abstract "Usage Documentation"
Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
GerberOutlineFile.model_post_init
(context, /)Override this method to perform additional initialization after __init__ and model_construct.
GerberOutlineFile.model_rebuild
(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
GerberOutlineFile.model_validate
(obj, *[, ...])Validate a pydantic model instance.
GerberOutlineFile.model_validate_json
(...[, ...])!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
GerberOutlineFile.parse_file
(path, *[, ...])GerberOutlineFile.parse_raw
(b, *[, ...])GerberOutlineFile.schema
([by_alias, ...])GerberOutlineFile.schema_json
(*[, by_alias, ...])GerberOutlineFile.update_forward_refs
(**localns)GerberOutlineFile.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.
Indicates to parse decimals based on the length of the format specifier.