I have been working to make some ornaments for my family.

I have been working to make some ornaments for my family. I like lithophanes, but i don’t want mine to be flat. i wrote the webpage to help me make them faster. I will write some documentation later, but for now it is functional. This page will covert a selected image to surface and generate a openSCAD file to wrap this surface around a cylinder. some quick tips.

browse for you own image using the choose file command

The dots on the right image is the sample points.

down sampling will adjust the spacing between the dots

Download surface, will download a standard surface file for working with in openSCAD

cylinder-exterior will download a openSCAD script and several surface files that are sections to increase rendering speed and decrease ram usage. the openSCAD script will place the image on the exterior of the generated cylinder.

cylinder-interior will download a openSCAD script and several surface files that are sections to increase rendering speed and decrease ram usage. the openSCAD script will place the image on the interior of the generated cylinder.

I have tested this minimally. so there may be bugs. but have fun.all of the prints i have done are surprises for family so i am not posting images yet.

http://camerinhahn.com/image_to_surface.html

Note: the default settings will work, but are aimed at moderate quality, and moderate render times.

Very cool. Got to find a simple picture to try it.
What’s the Number of Files (10) part for?

So if i kept the surface as 1 piece i would run out of memory and the program would crash. To avoid this, i broke the surface up into sub surfaces. It will make (10) surface files. each one is the part of the surface that would be touching the cylinder.

It save allot of ram and allot of processing power doing it that way.

Don’t worry, the page spits out the scad script that handles makes the cylinder

More files will make a more smooth curve, less files will decrease processing time.

Try it soon :slight_smile: thanks

great add sphere :slight_smile: for this period is really good :smiley: thx
ps error in scad file =str( "_x currently write
10_x