Skip to main content

add_circle_rsketch

Kind: Function
Domain: Sketch
Canonical import: from cadflow import add_circle_rsketch

Signature

def add_circle_rsketch(sketch: 'Sketch', entity_id: 'str', center: 'Union[SketchRef, str]', radius: 'ScalarLike', *, construction: 'bool' = False) -> 'Sketch'

Description

Add a named circle entity and return an updated sketch document.

Parameters

NameTypeRequiredDefaultSource description
sketch'Sketch'yes-Not explicitly described in the source docstring.
entity_id'str'yes-Not explicitly described in the source docstring.
center'Union[SketchRef, str]'yes-Not explicitly described in the source docstring.
radius'ScalarLike'yes-Not explicitly described in the source docstring.
construction'bool'noFalseNot explicitly described in the source docstring.

Returns

Type: 'Sketch'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow import add_circle_rsketch

See also