Home > PCB_ManufactureData > get3DShellFile
PCB_ManufactureData.get3DShellFile() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取 3D 外壳文件
Signature
typescript
get3DShellFile(fileName?: string, fileType?: 'stl' | 'step' | 'obj'): Promise<File | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
fileName | string | (Optional) 文件名 |
fileType | 'stl' | 'step' | 'obj' | (Optional) 文件类型 |
Returns
Promise<File | undefined>
3D 外壳文件数据
Remarks
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统