-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
32 lines (26 loc) · 823 Bytes
/
Copy pathmain.go
File metadata and controls
32 lines (26 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package main
import (
//"fmt"
"bitbucket.org/cloudcomputer/cloud-mesh-simplifier/shape"
//"bitbucket.org/cloudcomputer/cloud-mesh-simplifier/mesh"
"bitbucket.org/cloudcomputer/cloud-mesh-simplifier/vsa"
"bitbucket.org/cloudcomputer/cloud-mesh-simplifier/stl"
)
func main() {
//it TriangleIterator = FacetSphere(r double )
octahedron := shape.Octahedron(2000)
stl.WriteSTLMeshName(octahedron, "fancyOctahedron.stl")
_,_ = vsa.VSAVanilla(octahedron)
/*go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
*/
//myMesh, _ := stl.LoadSTLFile("/Users/bluzytrix/Downloads/Charon 01.stl")
//myMesh := shape.CreatePlane(600)
//myMesh := shape.BasicCube()
//e := vsa.VSAVanilla(myMesh)
//for i := 0; i < len(e); i++ {
// fmt.Printf("Proxy: %v\n", e[i])
//}
//stl.WriteSTLMesh(myMesh)
}