ansys.sherlock.core.types.layer_types.CircularShape#

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

Contains the properties for a circular shape.

Methods

CircularShape.construct([_fields_set])

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

Returns a copy of the model.

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

CircularShape.from_orm(obj)

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

CircularShape.model_construct([_fields_set])

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

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

!!! abstract "Usage Documentation"

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

!!! abstract "Usage Documentation"

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

!!! abstract "Usage Documentation"

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

Generates a JSON schema for a model class.

CircularShape.model_parametrized_name(params)

Compute the class name for parametrizations of generic classes.

CircularShape.model_post_init(context, /)

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

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

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

CircularShape.model_validate(obj, *[, ...])

Validate a pydantic model instance.

CircularShape.model_validate_json(json_data, *)

!!! abstract "Usage Documentation"

CircularShape.model_validate_strings(obj, *)

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

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

CircularShape.parse_obj(obj)

CircularShape.parse_raw(b, *[, ...])

CircularShape.schema([by_alias, ref_template])

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

CircularShape.update_forward_refs(**localns)

CircularShape.validate(value)

Attributes

CircularShape.model_computed_fields

CircularShape.model_config

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

CircularShape.model_extra

Get extra fields set during validation.

CircularShape.model_fields

CircularShape.model_fields_set

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

CircularShape.diameter

float

CircularShape.node_count

int

CircularShape.center_x

float

CircularShape.center_y

float

CircularShape.rotation

float