OpenSCAD User Manual/STL Import

From Wikibooks, open books for an open world
< OpenSCAD User Manual
Jump to: navigation, search


The text in its current form is incomplete.


[edit] import_stl

Imports an STL file for use in the current OpenSCAD model

Parameters

"<file name>" 
A string containing the path to the STL file to include. Double-quotes are required.
convexity
Integer. The convexity parameter specifies the maximum number of front sides (back sides) a ray intersecting the object might penetrate. This parameter is only needed for correctly displaying the object in OpenCSG preview mode and has no effect on the polyhedron rendering.

Usage examples:

import_stl("example012.stl", convexity = 5);
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export