Skip to main content

add_point_rsketch

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

Signature

def add_point_rsketch(sketch: 'Sketch', point_id: 'str', x: 'ScalarLike', y: 'ScalarLike') -> 'Sketch'

Description

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

Parameters

NameTypeRequiredDefaultSource description
sketch'Sketch'yes-Not explicitly described in the source docstring.
point_id'str'yes-Not explicitly described in the source docstring.
x'ScalarLike'yes-Not explicitly described in the source docstring.
y'ScalarLike'yes-Not 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_point_rsketch

See also