I moved the vector conversion function for go3mf points to the render package (render/3mf.go), as it is the only place that uses this function.
This is needed to build a project that only uses the sdf package with TinyGo, as TinyGo does not support the encoding/xml package that go3mf depends upon. I need this for https://github.com/Yeicor/sdf-viewer-go to work.
I moved the vector conversion function for go3mf points to the render package (
render/3mf.go
), as it is the only place that uses this function.This is needed to build a project that only uses the sdf package with TinyGo, as TinyGo does not support the
encoding/xml
package that go3mf depends upon. I need this for https://github.com/Yeicor/sdf-viewer-go to work.