scott-cooper / drawbot_image_to_gcode_v2 Goto Github PK
View Code? Open in Web Editor NEWCreates gcode for use on drawbots
Home Page: http://dullbits.com
License: GNU General Public License v3.0
Creates gcode for use on drawbots
Home Page: http://dullbits.com
License: GNU General Public License v3.0
Hi.
I am newbie iin drawbots.
I like the pictures, what are making with this program.
My problem is, I dont know hoe open, or export the image to this code. I downloaded processing, have created folder with all pde files. Opened processing... I dont know what next. Please, help to older man...
Hello, I really like the style of your generated graphics. Really great work! Now I would like to print it with a penplotter. Can you please provide a function to save the graphics as a svg or dxf, so one can do whatever one wants with the graphic, like plotting it with InkScape (HPGL extension in InkScape). I would try to implement it myself in a fork, but I've never programmed Processing before.
Thank you in advance!
Great piece of software!!!!
I have a couple of doubts on the use of pens. By default there is certain list of pens or pens combinations hardcoded in the software. The program just uses this pen combinations to make the final drawing.
Do the colors present in each combination try to represent the colors in the actual image?
Is there a way to setup a cmyk pen combination? Just the 4 colors, but so that each pen draws the correponding color in the original image? Like making the color separation of the image and drawing it in only the corresponding color.
Once again great software. Keep it up. Ive learned tons of Processing trying to interpret it.
Hi
Congratulations for this software is Great. Can you explain me how get the pen of each colors?, i.e, Hoy I can draw the different color with commercial pen?
Thanks your very much for your response
fixed
Hi, the Gcode generator used here, does it exist separately? I would like to be able to use it for svg created outside of d2s.
I use processing-3.3.4 to test and it seems like there is a hardcoded w/h ratio in the process. All images are centered and cropped with 4:3 ratio (or so, I don't know). Also all images I tried, even some of your included sample images in the pics folder, are rotated 90° CCW. It is easily fixed with the rotation feature you provided, but this only applied to the onscreen render. The generated pdf file is still has incrrect orientation. I don't know if the images from g-code would have correct orientation as I don't work with g-code. I don't have programms that render g-code to image.
Here is an image to show you the cropped result, left and right parts of the original image was cut off:
Thanks for your work :)
I am able to run "Drawbot_image_to_gcode_v2" and upload a .png file. I can see the image getting created on the display window. After pressing "g", multiple .txt , .svg and pdf files are created in the gcode folder. But, there is no .txt file that corresponds to the gcode of the complete image (that is uploded).
I want one gcode file which corresponds to the complete image.
I am using processing 3.5.4. Attached are the files for the reference.
Any help is appreciated
gcode_mickey_mouse_outline_pen0_100.pdf
gcode_mickey_mouse_outline_pen1_N10.pdf
gcode_mickey_mouse_outline_pen2_N8.pdf
gcode_mickey_mouse_outline_pen3_N6.pdf
gcode_mickey_mouse_outline_pen4_N4.pdf
gcode_mickey_mouse_outline_pen5_N2.pdf
When scrolling through the different pen sets, when going back to the first, if you press one more time, the program ends with a "ArrayIndexOutOfBoundsException:-1
Guess the culprit is the "render_with_copic" routine
Regards,
Hi, where the gcode file was saved?
i don't understand the procedure to save gcode!
Have a nice day Man!
Hi Scott!
I enjoy your fantastic code with my Polargraph machine. :)
This is the best conversion from jpeg to gcode, I have ever used!!!
My question is:
Do you know, how can I change the default decimal separator character in Processing 3?
My local character is "," instead of "." and it is a problem in GCODE.
Other question:
What is your suggestion, if I want to use 0.8mm pen? Which parameters should be changed?
Thx: Peter
keybind are incorrectly described in readme,
ctrl + number = Display drawing, pen number only
I had a problem to import gcode on polargraph controller, to solve i delete everything above the first z0 in gcode and everything below the last z0, perfect import .
How does it start in Processing? In what directory, what files should be placed?
All ok.....
Fantastically beautiful work! While I can not open the created files.
SVG 6Mb, but inkscape freezes. I will read and try. Thank you for the great and useful work.
First time trying to run this and I get this error:
Cannot find a class or type named “Limit”
Not sure what to do now?
If there is a step I'm missing I'd love to know.
I'm using a Mac with Catalina and running Processing app 3.5.4.
See https://blog.github.com/2017-01-31-introducing-topics/ and https://help.github.com/articles/about-topics/ for a description of topics
https://github.com/topics/cnc-machine and https://github.com/topics/cnc seems to be a good starting ones
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.