28 lines
371 B
Markdown
28 lines
371 B
Markdown
# export_stl
|
|
|
|
## API定义
|
|
|
|
```python
|
|
def export_stl(shapes: Union[AnyShape, Sequence[AnyShape]], filename: str) -> None
|
|
```
|
|
|
|
*来源文件: operations.py*
|
|
|
|
## API作用
|
|
|
|
导出为STL格式
|
|
|
|
## API参数说明
|
|
|
|
### shapes
|
|
|
|
- **说明**: 要导出的几何体或几何体列表
|
|
|
|
### filename
|
|
|
|
- **说明**: 输出文件名
|
|
|
|
## 异常
|
|
|
|
- **ValueError**: 当导出失败时
|