18 lines
294 B
Markdown
18 lines
294 B
Markdown
# translate_shape
|
|
|
|
## API Definition
|
|
|
|
```python
|
|
def translate_shape(shape: AnyShape, vector: Tuple[float, float, float]) -> AnyShape
|
|
```
|
|
|
|
*Source: operations.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import translate_shape`
|
|
|
|
## Description
|
|
|
|
Translate a shape by an offset vector.
|