Comments (16)
Please share the SVG
from juicy-gcode.
I sent it to your email
from juicy-gcode.
Ok, it was in the spam folder, I have it now
from juicy-gcode.
The two files are quite different actually. These are the first lines from both:
<polygon id="_x30_:1:0.7492647058823529_2_" points="399.5,305.2 399.5,305.2 399.5,305.2 "/>
<polygon id="_x30_:1:0.7492647058823529_2_" points="399.5,305.2 399.5,305.2 399.5,305.2 399.5,305.2 "/>
In one SVG the polygons have one more coordinate pair. I think the generated gcode is in par with this.
With the default settings:
G17
G90
G0 Z10
G0 X0 Y0
M3
G4 P2000.000000
G00 Z10
G00 X140.9347 Y102.3408
G01 Z0 F10.00
G01 X140.9347 Y102.3408
G01 X140.9347 Y102.3408
G01 X140.9347 Y102.3408
G00 Z10
and the other
G17
G90
G0 Z10
G0 X0 Y0
M3
G4 P2000.000000
G00 Z10
G00 X140.9347 Y102.3408
G01 Z0 F10.00
G01 X140.9347 Y102.3408
G01 X140.9347 Y102.3408
G01 X140.9347 Y102.3408
G01 X140.9347 Y102.3408
G00 Z10
this also looks good to me.
These are really strange polygons though :) I'm not sure that these gcodes are usuable
from juicy-gcode.
I don't know where additional coordinate pair came from
Some of the repeating coordinates are the former circle. I do this before exporting to get the "point".
from juicy-gcode.
If you look at the screenshot above, you can see that there are still four coordinates, but there is an offset.
from juicy-gcode.
What do you mean by offset?
from juicy-gcode.
it's the same file but only with one modification rectangle with size bigger than other graphics
from juicy-gcode.
in the gcode files you sent me, the coordinates are the same. and if I generate the gcode from the two SVGs, the coordinates are also the same (only there is one more line because of the extra coordinate pair). So, I can't really reproduce he discrapency you show me on the picture
from juicy-gcode.
It's strange, but I cant to reproduce it by myself now.
This was a stable result on two files. Now I will try to repeat all the steps from the very beginning to achieve the same result.
I attach svg files for future experiments: render.zip, lenna.zip
from juicy-gcode.
And, there it is: issue.zip
from juicy-gcode.
The SVGs are different. The first polygons are:
lenna_alpha_export.svg
<polygon id="_x30_:1:1.4141612200435727" points="266.7,275.5 266.7,275.5 266.7,275.5 266.7,275.5 "/>
lenna_alpha_rect_export.svg
<polygon id="_x30_:1:1.4141612200435727" points="390,275.5 390,275.5 390,275.5 390,275.5 "/>
That's why the gcode is different
from juicy-gcode.
Is it a bug in Adobe Illustrator svg exporter?
from juicy-gcode.
I can't say that. Looks like the whole image is shifted horizontally. It is either a bug in the exporter, or you make a mistake :)
from juicy-gcode.
Thank you!
from juicy-gcode.
from juicy-gcode.
Related Issues (20)
- Generates INaN JNaN IInfinity JInfinity HOT 8
- Tag <line> is not parsed properly HOT 2
- Some files cause a freeze HOT 14
- Can't open program on Windows 10 64bit HOT 5
- Quadratic spline HOT 6
- "NaN" issue with arcs HOT 7
- Series of Points instead of arcs (Feature Request) HOT 23
- Release files of 0.2.0.1 version are empty HOT 2
- Compiled binaries for rpi (armv6hf) HOT 2
- Pretty sure it should say 'y0 == y'. HOT 1
- Control feedrate with object colour (Feature Request) HOT 11
- Is it possible to remove the transformations? HOT 3
- Inputting SVG containing text
- Output mirrored in Y axis? HOT 12
- How to support metric drawings? HOT 14
- Getting NaN values in arc commands HOT 10
- Support G5 command HOT 9
- Floating point dpi values HOT 18
- Some NaN values generated HOT 3
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 juicy-gcode.