SURFACE Problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SURFACE Problem

blumer_c
This post was updated on .
Hello everyone,

I'm trying to use the command SURFACE, but the result is this below.
What's it wrong?

editor:
surface(file="image.png");

console:
Saved backup file: /Users/carlo/Documents/OpenSCAD/backups/unsaved-backup-xJL14888.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
WARNING: PolySet has degenerate polygons
Geometries in cache: 2
Geometry cache size in bytes: 304
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized CSG tree has 1 elements
Compile and preview finished.
Total rendering time: 0 hours, 0 minutes, 0 seconds


P.s. I use this image
Reply | Threaded
Open this post in threaded view
|

Re: SURFACE Problem

fred_dot_u
I right clicked on your image, saved it as a png file, which is how it defaulted, and used the same code you did.

This is my result:



Perhaps your original image is at fault and the saved-from-here image will work?