Convert a JPEG image to STL file

Start the Inkscape (0.92)

Select [File > Open] menu

Choose a JPEG image file and click.

On the pop-up window, choose the following values:

Image Import Type: Embed

Image DPI: From file

Image Rendering Mode: None

After the image is loaded, choose [Path > Trace Bitmap] menu

On the pop-up window, set Threshold to 0.5. Then press OK.

It will create a black trace on top of the image.

Select the black trace and choose [File > Save as] menu.

Type the file name, choose OpenSCAD DXF Output in the drop-down list.

Copy the dxf file to an OpenSCAD’s working directory.

Create a SCAD file and use linear_extrude() to load the DXF file.

linear_extrude(height = 3, center = true, convexity = 10)
import(file = "cloud3-logo-test.dxf");

About janpenguin

Email: k2.mountain [at] gmail [dot] com Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in Reprap 3D Printer and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s