Draw a cuboid: Difference between revisions

From Rosetta Code
Content added Content deleted
(openscad)
 
m (im making this a draft. this probably isnt enough specification.)
Line 1: Line 1:
The task is to draw a cuboid with relative dimensions of 2x3x4.
{{Draft task}}The task is to draw a cuboid with relative dimensions of 2x3x4.


=={{header|Openscad}}==
=={{header|Openscad}}==
Line 9: Line 9:
cube([2,3,4])
cube([2,3,4])
</lang>
</lang>

{{task|3D}}
{{requires|Graphics}}
{{requires|Graphics}}

Revision as of 22:24, 13 December 2010

Draw a cuboid is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to draw a cuboid with relative dimensions of 2x3x4.

Openscad

Drawing a cuboid is easy in openscad :)

<lang openscad> // This will produce a simple cuboid cube([2,3,4]) </lang>