Low resolution on output--configurable resolution for extopenscad? #59

Closed
canadaduane opened this Issue Sep 10, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

canadaduane commented Sep 10, 2012

I'm seeing poor output on small parts, which I assume is due to low default resolution for extopenscad. For example, here is a 2x10mm rectangle extruded to a height of 65mm. The resulting output is of poor quality.

phone_width = 65.0;

linear_extrude(height=phone_width, center=true, translate(h)=[0, sin(h/(phone_width/4))*10]) {
  square([2.0, 10.0]);
}

Low Resolution

Is this configurable? Should it be?

Owner

colah commented Sep 11, 2012

It's configurable, though rendering time will get slower as resolution goes up. Try adding something like:

$res=2;

To the beginning. Smaller is higher quality.

Contributor

canadaduane commented Sep 11, 2012

Ah, ok. I didn't see this option, thanks.

BTW, is the jitteriness an expected property of the polygonization
algorithm? I would have expected a square, extruded with translation only,
to have a cleaner output.

Owner

colah commented Dec 19, 2012

A lot of progress has been made on this. :)

@colah colah closed this Dec 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment