Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WesleyAC/plotter-tools
/ functions
Functions
41 in github.com/WesleyAC/plotter-tools
⨍
Functions
41
◇
Types & classes
16
↓ 7 callers
Function
check_parse_command
(cmd: &str, expected: Option<Command>)
hpgl/src/lib.rs:154
↓ 7 callers
Function
parse_commands
(cmd_str: String)
hpgl/src/lib.rs:17
↓ 4 callers
Function
error
(msg: &str)
typewriter/src/main.rs:7
↓ 4 callers
Function
plot_points
(points: Vec<Point>, xscale: f64, yscale: f64)
hpgl2gcode/src/main.rs:28
↓ 3 callers
Function
canonicalize
Canonicalize a list of commands: PU and PD do not have coords associated All movements are absolute
hpgl/src/lib.rs:55
↓ 3 callers
Function
draw_line
(start: Point, end: Point, color: u8, orientation: Orientation, max_y: i32)
viz/src/main.rs:22
↓ 3 callers
Function
get_tags
(e: &minidom::Element)
osm2hpgl/src/main.rs:6
↓ 3 callers
Function
in_bounds
(p: &Node, b: &Bounds)
osm2hpgl/src/main.rs:139
↓ 2 callers
Function
parse_command
(cmd: String)
hpgl/src/lib.rs:113
↓ 2 callers
Function
print_progress
(percent: f64)
chunker/src/main.rs:46
↓ 1 callers
Function
canonical_commands_to_shapes
(cmds: Vec<CanonicalCommand>)
optimize/src/main.rs:64
↓ 1 callers
Function
countour_to_points
(contour: Contour)
typewriter/src/main.rs:52
↓ 1 callers
Function
distance
Euclidean
optimize/src/main.rs:101
↓ 1 callers
Function
find_closest
Given a Point finds the Shape whose starting point is nearest the given point.
optimize/src/main.rs:106
↓ 1 callers
Function
get_id
(e: &minidom::Element)
osm2hpgl/src/main.rs:23
↓ 1 callers
Function
optimize_all_colors
(color_to_shapes: HashMap<u8, Vec<Shape>>)
optimize/src/main.rs:32
↓ 1 callers
Function
order_shapes
Takes all shapes to draw with one pen color and figures out a better order to draw them in Starts with first shape After finishing drawing a shape fin
optimize/src/main.rs:129
↓ 1 callers
Function
parse_bounds
(e: &minidom::Element)
osm2hpgl/src/main.rs:61
↓ 1 callers
Function
parse_node
(e: &minidom::Element)
osm2hpgl/src/main.rs:27
↓ 1 callers
Function
parse_osm
(root: &minidom::Element)
osm2hpgl/src/main.rs:70
↓ 1 callers
Function
parse_relation
(e: &minidom::Element)
osm2hpgl/src/main.rs:35
↓ 1 callers
Function
parse_way
(e: &minidom::Element)
osm2hpgl/src/main.rs:48
↓ 1 callers
Function
print_way
(way: u64, map: &Map)
osm2hpgl/src/main.rs:153
↓ 1 callers
Function
remove_duplicate_pen_commands
(cmds: Vec<Command>)
optimize/src/main.rs:147
↓ 1 callers
Function
segment_to_points
(segment: Segment)
typewriter/src/main.rs:25
↓ 1 callers
Function
shapes_to_commands
(color_to_shapes: HashMap<u8, Vec<Shape>>)
optimize/src/main.rs:40
↓ 1 callers
Function
transform
(p: &Node, b: &Bounds)
osm2hpgl/src/main.rs:143
Function
canonical_commands_to_string
(cmds: Vec<CanonicalCommand>)
hpgl/src/lib.rs:99
Function
convert_point
(point: rusttype::Point<f32>)
typewriter/src/main.rs:18
Method
from_str
(model: &str)
viz/src/main.rs:52
Function
main
()
typewriter/src/main.rs:86
Function
main
()
hpgl2gcode/src/main.rs:47
Function
main
()
canonicalize/src/main.rs:1
Function
main
()
optimize/src/main.rs:21
Function
main
()
osm2hpgl/src/main.rs:184
Function
main
()
chunker/src/main.rs:56
Function
main
()
viz/src/main.rs:79
Function
test_canonicalize
()
hpgl/src/lib.rs:190
Function
test_duplicates
()
optimize/src/main.rs:172
Function
test_parse_multiple_commands
()
hpgl/src/lib.rs:163
Function
test_parser
()
hpgl/src/lib.rs:178