zcodex

package
v1.2.13 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 zcodex 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 ResinMetadata

type ResinMetadata struct {
	Guid                       string
	Material                   string
	MaterialId                 int
	LayerThickness             float32
	PrintTime                  int
	LayerTime                  int
	BottomLayersTime           int
	AdditionalSupportLayerTime int
	BottomLayersNumber         int
	BlankingLayerTime          int
	TotalMaterialVolumeUsed    float32
	TotalMaterialWeightUsed    float32
	TotalLayersCount           int
	DisableSettingsChanges     bool
	Pauses                     []int
	Layers                     []ResinMetadataLayer
}

type ResinMetadataLayer

type ResinMetadataLayer struct {
	Layer              int
	UsedMaterialVolume float32
}

type UserSettingsData

type UserSettingsData struct {
	MaxLayer                         int
	PrintTime                        string
	MaterialVolume                   float32
	IsAdvanced                       int
	Printer                          string
	MaterialType                     string
	MaterialId                       string
	LayerThickness                   string
	RaftEnabled                      int
	RaftHeight                       float32
	RaftOffset                       float32
	ModelLiftEnabled                 int
	ModelLiftHeight                  float32
	CrossSupportEnabled              int
	LayerExposureTime                int
	LayerThicknessesDisplayTime      []string
	ExposureOffTime                  int
	BottomLayerExposureTime          int
	BottomLayersCount                int
	SupportAdditionalExposureEnabled int
	SupportAdditionalExposureTime    int
	ZLiftDistance                    float32
	ZLiftRetractRate                 float32
	ZLiftFeedRate                    float32
	AntiAliasing                     int
	XCorrection                      int
	YCorrection                      int
	HollowEnabled                    int
	HollowThickness                  float32
	InfillDensity                    float32
}

type Zcodex

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

func (*Zcodex) Close

func (zcodex *Zcodex) Close()

func (*Zcodex) LayerImage

func (zcodex *Zcodex) LayerImage(index int) (grayImage *image.Gray)

type ZcodexFormat

type ZcodexFormat struct {
	*pflag.FlagSet
}

func NewZcodexFormatter

func NewZcodexFormatter(suffix string) (sf *ZcodexFormat)

func (*ZcodexFormat) Decode

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

func (*ZcodexFormat) Encode

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

Jump to

Keyboard shortcuts

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