Comments (5)
No, it doesn't support these.
from gcodeplot.
Would you be willing to add them? G02 and G03 are just circular arcs, so they should be fairly easy to implement. The difference in print quality just from Arc Welder is pretty spectacular, and that is just from approximating the original curves.
from gcodeplot.
Would you be willing to add them? G02 and G03 are just circular arcs, so they should be fairly easy to implement. The difference in print quality just from Arc Welder is pretty spectacular, and that is just from approximating the original curves.
Honestly I can't really see segments in the lines. Why would you want G02 and G03 if the results from this script are already nice and sharp? Also, I think it's more work than you may think.
from gcodeplot.
Would you be willing to add them? G02 and G03 are just circular arcs, so they should be fairly easy to implement. The difference in print quality just from Arc Welder is pretty spectacular, and that is just from approximating the original curves.
Honestly I can't really see segments in the lines. Why would you want G02 and G03 if the results from this script are already nice and sharp? Also, I think it's more work than you may think.
Here are a few reasons:
- File size. Each single-command curve can substitute for dozens or even hundreds of line segments, thus drastically reducing the size of large, complicated models.
- Accuracy. Breaking a curve into line segments results in an approximation of the curve, which can cause problems with fitting later, ESPECIALLY if describing a hole; the line ends are on the curve, which means that the hole will always be smaller than specified.
- Smoothness. While it is entirely possible to define a curve with enough segments that they aren't visible, that only really works well on small objects; a 1cm circle made of 30 segments looks fine, while a 1m circle... doesn't. Using G02/G03 will result in the same resolution no matter how large the curve. (Yes, it is possible to define the maximum segment length, but to make a 1m curve look smooth could require thousands of segments.)
- Hardware-independent resolution. Just like the resolution abstraction offered by PostScript/PDL/etc., using G02/G03 will mean that the controller itself will determine how to best draw the curve, based on its physical limits, rather than setting an arbitrary value.
- Speed. It takes time for the controller to interpret each command; fewer commands mean more time spent working and less spent 'reading'.
and, finally and most importantly,
- Standardization and best practices. Hardware like CNC machines expects to be given defined curves rather than line segments. They know how to deal with them to provide the very best output.
Does that make sense?
from gcodeplot.
I expect that not all 3D printers support these gcodes. Moreover, a lot of the time what comes out of Inkscape or other svg drawing programs will be splines, not actual arcs, so I think the utility will be limited to cases where the user took care to ensure there are arcs.
But most importantly, I think this is just begging for bugs. Getting these gcodes right is finicky, and there are multiple cases to get right, and I think it's safer to just deal with lines. You can get whatever precision you want by upping the precision in the generator. Granted, it will make the files bigger.
from gcodeplot.
Related Issues (20)
- "Drawing out of range" with negative coordinates HOT 7
- can we get laser control added? HOT 1
- "Drawing out of range" - floating-point issues HOT 3
- Update command-line help
- Demoulding plate
- update needed for Inkscape version 1.0
- ModuleNotFoundError: No module named 'svgpath' HOT 6
- SyntaxWarning: "is not" with a literal. Did you mean "!="? HOT 8
- [Bug] KeyError: 'd' HOT 3
- Multiple pens in Inkscape
- "No points" error with simple grid to be cut HOT 1
- --safe-delta-z flag is undocumented
- Avoid turning loops? HOT 7
- Error when using greek characters HOT 2
- Does not work on inkscape 1.1 - No points HOT 4
- Upload new zip to Inkscape site
- The called script passed additional data to Inkscape... HOT 5
- Drawing gcode looks okay, but cutting gcode is bad HOT 9
- Hidden paths HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcodeplot.