Sameer Puri
7d28c3c80e
remove move to origin for beginning of path
4 years ago
Sameer Puri
e9b23c16f1
use flattening on ellipses after nical/lyon#662
4 years ago
Sameer Puri
2d913c2877
add some more docs
4 years ago
Sameer Puri
3f74d81620
remove requirement of an absolute move to 0,0 at the end of a path
4 years ago
Sameer Puri
c421a607f5
fix inverted DPI scaling
4 years ago
Sameer Puri
6d2fe6308a
remove warning about skewx + skewy, they are correct as far as euclid
...
goes
4 years ago
Sameer Puri
c1e19741fc
rewrite elliptical arc draw, fixes #10
4 years ago
Sameer Puri
f551e51847
add debug log statement for the path piece being drawn
4 years ago
Sameer Puri
0d6711cc01
fix long running transform bug (does not affect scaling)
...
The transforms need to be built in reverse. Intuition here is that you
have a point in its own coordinate system, and it must go through a series
of transforms to get to the overall SVG's coordinate system. That goes
from its last transform to the first transform of the svg.
4 years ago
Sameer Puri
e6fa930efc
only postprocess on G commands
4 years ago
Sameer Puri
c8962dfe85
enforce absolute coords for program begin
4 years ago
Sameer Puri
d5b8cd200e
remove unnecessary feedrate command
4 years ago
Sameer Puri
84aabf9543
add note about origin's effect on input gcode sequences
4 years ago
Sameer Puri
178448be7b
reduce string allocations to minimum possible w/ g-code v0.1.1
4 years ago
Sameer Puri
126217a21f
upgrade to gcode v0.1.0
4 years ago
Sameer Puri
a72ab62961
use tool off action on tool off, fixes #9
...
Will be adding tests for this behavior sometime this week
4 years ago
Sameer Puri
d6e5f208ab
fix structopt picking o as the short alias for multiple opts
4 years ago
Sameer Puri
7c6c790378
move gcode parse/emit to sameer/g-code, use structopt
4 years ago
Sameer Puri
08762f432c
update dependencies
4 years ago
Sameer Puri
0816314a90
return fmt error for write!(w, " ")
5 years ago
Sameer Puri
0aad717f03
update some docstrings
5 years ago
Sameer Puri
490e7100eb
add another test-case, start relying on Default::default
5 years ago
Sameer Puri
06c6484b2c
add actual gcode content
5 years ago
Sameer Puri
883e07a720
add tests and swap to github actions
5 years ago
Sameer Puri
a2aa138f6e
update to latest dependencies and resolve breaking api changes
5 years ago
Sameer Puri
869358aa2b
fix non-macro clippy warnings
5 years ago
Sameer Puri
a9fe4f57ea
migrate to roxmltree + svgtypes, closes #6
5 years ago
Sameer Puri
bd5d9d9eee
Correct origin for non-zero bounding-box
5 years ago
Sameer Puri
5b0a96a1b1
implement origin control ( #7 ), fix bad final G0
5 years ago
Sameer Puri
90b83459e3
cleaning up shop: move large method out of main
5 years ago
Sameer Puri
0e46c40f65
rename code -> gcode
5 years ago
Sameer Puri
f768c4f450
more variable name expansion
5 years ago
Sameer Puri
13c1f32d1f
don't surround comment strings in quotes
5 years ago
Sameer Puri
4b00b17a02
replace shorthand variable names with full names
5 years ago
Sameer Puri
b74291c6b0
support latest macro syntax
5 years ago
Sameer Puri
84656dfcbd
add origin argument
5 years ago
Sameer Puri
5842b2df0b
Continue documentation efforts & cleanup
5 years ago
Sameer Puri
f7e037cfdd
Finish pass of macro conversion, continue docs
5 years ago
Sameer Puri
b89849555f
Begin translation to macro-based GCode impl (does not compile)
5 years ago
Loren Rogers
d861152929
Adds basic placeholder failing tests
5 years ago
Loren Rogers
b88f7614e7
Adds placeholders for documentation
5 years ago
Loren Rogers
d5cb2e0306
Adds basic documentation to some functions
5 years ago
Sameer Puri
58dc1f2f66
Exclude paths inside clipPath element
6 years ago
Sameer Puri
ec6b7ad88e
Update codebase to support euclid ^0.20
6 years ago
Sameer Puri
5d0399b87b
Update dependencies, follow clippy guidance to remove sweep: sweep
6 years ago
Sameer Puri
153b88a3cd
Improve comments by only adding when a path starts & including the group(s) it belongs to
6 years ago
Sameer Puri
c04ba6b625
Support custom tool on/off gcode, use uom for unit conversions, rename Named=>Comment after reviewing NIST spec, update dependencies
6 years ago
Sameer Puri
2de4ec05de
Fix incorrect smooth curve ctrl point reflection, update README.md with demo, add compensation for same closepath point, add demo in README
6 years ago
Sameer Puri
c383a3f2e1
Use EPSILON for feedrate comparison, simplify program appending w/ impl AddAssign, don't turn on tool after path (for laser / others sake)
6 years ago
Sameer Puri
d82eb8f22b
Reset initpos after reset(), adjust default settings for my pen plotter, output feedrate only when changed
6 years ago