sl1

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 15 Imported by: 0

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

type Format struct {
	*pflag.FlagSet

	MaterialName string
}

func NewFormatter

func NewFormatter(suffix string) (sf *Format)

func (*Format) Decode

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

func (*Format) Encode

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

type Print

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

func (*Print) Close

func (sl1 *Print) Close()

func (*Print) LayerImage

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