Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

beardicus/ronald-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ronald Tools

These are some tools I'm noodling with to make my plotting with Chiplotle tastier and more efficient. Currently, I'm focused on optimizing the drawing path to minimize seek times.

I'm learning python as I go, so do be gentle, but feel free to tell me all about how stupid I am.

pupd_to_paths(hpgl)

Slurp in PUs and PDs, and converts them to a chiplotle group of simple paths. This is probably very fragile, but its works on the simple output of pstoedit -f hpgl.

distance_between_coordinates(p1, p2)

Doi. Pass it two coordinate objects, recieve the distance between them in plotter units.

length_of_path(path)

Takes a path object, returns its ful length in plotter units.

length_of_paths(group)

Takes a chiplotle group of paths, returns the total length the pen was down.

length_of_seeks(group)

Takes a chiplotle group of paths, return the total length of seeks between paths.

efficiency_report(group):

In progress. Reports on drawing vs. seeking, possibly with comparisons between sorting routines.

About

Some noodley bits for plotting with chiplotle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages