sl1

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 15 Imported by: 1

Documentation

Overview

Package sl1 handles input and output of Prusa SL1 DLP/LCD printables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrConfigInvalid

type ErrConfigInvalid string

func (ErrConfigInvalid) Error

func (e ErrConfigInvalid) Error() string

type ErrConfigMissing

type ErrConfigMissing string

func (ErrConfigMissing) Error

func (e ErrConfigMissing) Error() string

type Format added in v1.0.0

type Format struct {
	*pflag.FlagSet

	MaterialName string
}

func NewFormatter added in v1.0.0

func NewFormatter(suffix string) (sf *Format)

func (*Format) Decode added in v1.0.0

func (sf *Format) Decode(reader uv3dp.Reader, filesize int64) (printable uv3dp.Printable, err error)

func (*Format) Encode added in v1.0.0

func (sf *Format) Encode(writer uv3dp.Writer, printable uv3dp.Printable) (err error)

type Print added in v1.0.0

type Print struct {
	uv3dp.Print
	// contains filtered or unexported fields
}

func (*Print) Close added in v1.0.0

func (sl1 *Print) Close()

func (*Print) LayerImage added in v1.0.0

func (sl1 *Print) LayerImage(index int) (imageGray *image.Gray)

type ReadSeekCloser

type ReadSeekCloser interface {
	io.Reader
	io.Seeker
	io.Closer
}

Jump to

Keyboard shortcuts

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