This commit is contained in:
dqn
2024-06-05 01:43:08 +08:00
commit 37cdc242d9
7 changed files with 314 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"git.dengqn.com/dqn/stl2gltf"
)
func main() {
stl := stl2gltf.Load("D:\\src\\go\\stl2gltf\\example\\0c448109-7ac9-4f6d-aaf6-ce6bb744032f.stl")
// log.Println(stl)
stl2gltf.Convert(stl, "C:\\Users\\13040\\Downloads\\0c448109-7ac9-4f6d-aaf6-ce6bb744032f.gltf")
}