mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-24 19:21:31 +08:00
Update docs and sort content
This commit is contained in:
@ -25,7 +25,7 @@ publish_time: '2024/11/22 14:38:29'
|
||||
toAstro: true
|
||||
---
|
||||
|
||||
## stl如何转为json
|
||||
## stl 如何转为 json
|
||||
|
||||
``` ts
|
||||
import vtkSTLReader from '@kitware/vtk.js/IO/Geometry/STLReader';
|
||||
@ -46,7 +46,7 @@ const polyData = await getStlModelFromPath(stlPath);
|
||||
const jsonData = polyData.toJSON();
|
||||
```
|
||||
|
||||
## json如何转为stl
|
||||
## json 如何转为 stl
|
||||
|
||||
``` ts
|
||||
import modelJSON from './model.json';
|
||||
|
Reference in New Issue
Block a user