e907fa88a4
- Created `vertex.md` and `wire.md` to document the Vertex and Wire classes in the SimpleCAD API, detailing their attributes, methods, and usage examples. - Introduced `auto_docs_gen.py` script to automate the extraction of API information from `operations.py` and generate markdown documentation. - Updated `operations.py` to correct a comment regarding the target normal vector in the `helical_sweep_rsolid` function.
22 lines
306 B
Markdown
22 lines
306 B
Markdown
# export_stl
|
|
|
|
## API定义
|
|
|
|
```python
|
|
def export_stl(shapes: Union[AnyShape, Sequence[AnyShape]], filename: str) -> None
|
|
```
|
|
|
|
## API参数说明
|
|
|
|
### shapes
|
|
|
|
- **说明**: 要导出的几何体或几何体列表
|
|
|
|
### filename
|
|
|
|
- **说明**: 输出文件名
|
|
|
|
## 异常
|
|
|
|
- **ValueError**: 当导出失败时
|