Welcome! Log In Create A New Profile

Advanced

Linux bahs script

Posted by emiemi 
Linux bahs script
April 30, 2016 03:46PM
Hello!

Does anybody have a script that transforms a photo in gcode?

Thank you!
Re: Linux bahs script
May 03, 2016 08:20AM
You mean to make a lithophane? See here: [www.instructables.com]

Dave
Re: Linux bahs script
May 03, 2016 08:25AM
Well, we are trying to make a 3D printer so we need to take photos to gcode and then we send that code to the printer. I think it will be only black and white, so probably we will use pictures like: [www.google.ro].
Re: Linux bahs script
May 03, 2016 10:13AM
You can't do that with a photo. You need a CAD model, which you can develop from a 3D scan or a thorough set of measurements.

Edited 1 time(s). Last edit at 05/03/2016 10:13AM by IMBoring25.
Re: Linux bahs script
May 04, 2016 07:57AM
The problem is that photos are 2D and made up of pixels, while G-code is a vector format, and a 3D printer requires slicing a file that is in a 3D format.

It is not easy to convert from a pixel based image to a vector image, though if the image is a black-and-white line drawing like the ones you referenced, there do exist applications that can convert them to a vector format such as DXF (e.g. [www.scan2cad.com]), which can then be extruded (e.g. using OpenScad) to turn it into a 3D STL, and from there sliced to a G-code file using an application such as Slic3r.

Dave
Sorry, only registered users may post in this forum.

Click here to login