ansys.sherlock.core.types.layer_types.SlotShape#

class ansys.sherlock.core.types.layer_types.SlotShape(**data)#

Contains the properties for a slot shape.

Methods

SlotShape.construct([_fields_set])

SlotShape.copy(*[, include, exclude, ...])

Returns a copy of the model.

SlotShape.dict(*[, include, exclude, ...])

SlotShape.from_orm(obj)

SlotShape.json(*[, include, exclude, ...])

SlotShape.model_construct([_fields_set])

Creates a new instance of the Model class with validated data.

SlotShape.model_copy(*[, update, deep])

!!! abstract "Usage Documentation"

SlotShape.model_dump(*[, mode, include, ...])

!!! abstract "Usage Documentation"

SlotShape.model_dump_json(*[, indent, ...])

!!! abstract "Usage Documentation"

SlotShape.model_json_schema([by_alias, ...])

Generates a JSON schema for a model class.

SlotShape.model_parametrized_name(params)

Compute the class name for parametrizations of generic classes.

SlotShape.model_post_init(context, /)

Override this method to perform additional initialization after __init__ and model_construct.

SlotShape.model_rebuild(*[, force, ...])

Try to rebuild the pydantic-core schema for the model.

SlotShape.model_validate(obj, *[, strict, ...])

Validate a pydantic model instance.

SlotShape.model_validate_json(json_data, *)

!!! abstract "Usage Documentation"

SlotShape.model_validate_strings(obj, *[, ...])

Validate the given object with string data against the Pydantic model.

SlotShape.parse_file(path, *[, ...])

SlotShape.parse_obj(obj)

SlotShape.parse_raw(b, *[, content_type, ...])

SlotShape.schema([by_alias, ref_template])

SlotShape.schema_json(*[, by_alias, ...])

SlotShape.update_forward_refs(**localns)

SlotShape.validate(value)

Attributes

SlotShape.model_computed_fields

SlotShape.model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

SlotShape.model_extra

Get extra fields set during validation.

SlotShape.model_fields

SlotShape.model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

SlotShape.length

float

SlotShape.width

float

SlotShape.node_count

int

SlotShape.center_x

float

SlotShape.center_y

float

SlotShape.rotation

float