18 lines
400 B
Markdown
18 lines
400 B
Markdown
# constrain_midpoint_rsketch
|
|
|
|
## API Definition
|
|
|
|
```python
|
|
def constrain_midpoint_rsketch(sketch: Sketch, point: Union[SketchRef, str], line: Union[SketchRef, str], *, constraint_id: Optional[str] = None) -> Sketch
|
|
```
|
|
|
|
*Source: operations.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import constrain_midpoint_rsketch`
|
|
|
|
## Description
|
|
|
|
Constrain a sketch point to the midpoint of a line.
|