stl

package
v0.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

Decoder can decode a stl. It supports automatic detection of binary or ascii stl encoding.

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

NewDecoder creates a new decoder.

func (*Decoder) Decode

func (d *Decoder) Decode(m *go3mf.Model) error

Decode creates a mesh from a read stream.

func (*Decoder) DecodeContext

func (d *Decoder) DecodeContext(ctx context.Context, m *go3mf.Model) error

DecodeContext creates a mesh from a read stream.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL