Function names in OpenSCAD

Function name starts with under bar or number work.

module __function_name()
{
cylinder(h=10, r=3, center=true);
}

module 1function_name()
{
translate([15, 0, 0]) sphere(r=4, center=true);
}

__function_name();
1function_name();

function_name_test

About janpenguin

Email: janpenguin [at] riseup [dot] net Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in Reprap 3D Printer and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s