czip

package
v0.0.0-...-a64a187 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package 'czip' handles ChiTuBox '.zip' printers (ie Kelant S400 and Phrozen Shuffle)

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
}

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 (czip *Print) Close()

func (*Print) LayerImage

func (czip *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