scad

package
v0.0.0-...-dc2a311 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderImages

func RenderImages(scadFiles []*File, size uint, precision uint8, progressBar *uiprogress.Bar) ([]string, error)

Types

type File

type File struct {
	FullPath string
	Dir      string
	Filename string
}

type Files

type Files []*File

func GatherFiles

func GatherFiles(scanDir string) (files Files, err error)

func (Files) Filter

func (files Files) Filter(filterFn func(f *File) (bool, error)) (filtered Files, err error)

type ImgTemplateData

type ImgTemplateData struct {
	Filename  string
	ImgSize   uint
	Dir       string
	Precision uint8
}

Jump to

Keyboard shortcuts

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