Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

OpenSCAD User Manual/Special Modules/Render

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Render Operator Causes meshes to be generated for surfaces in preview mode. This improves the rendered images when the normal preview renderer produces artifacts or misses parts of the image around complex bits of geometry. An issue on GitHub discusses some of these issues, and an FAQ covers more: OpenSCAD User Manual/FAQ#Why are some parts (e.g. holes) of the model not rendered correctly? function definition render( convexity = 1 ) convexity an indication to the preview renderer that objects in view are not simple. See the section on the Convexity Parameter thumb|example in preview thumb|render() effects show edges Usage examples: render( convexity = 2 ) difference() { // stretch a cube vertically cube([20, 20, 150], center = true); // make a notch in one corner translate([-10, -10, 0]) cylinder(h = 80, r = 10, center = true); translate([-10, -10, +40]) sphere(r = 10); translate([-10, -10, -40]) sphere(r = 10); }