Draw a sphere: Difference between revisions

Content added Content deleted
m (comments and fix)
(openscad)
Line 9: Line 9:
in ball.s sph 0 0 0 3 # Create a sphere of radius 3 cm named ball.s with its centre at 0,0,0 </lang>
in ball.s sph 0 0 0 3 # Create a sphere of radius 3 cm named ball.s with its centre at 0,0,0 </lang>


=={{header|Openscad}}==
Drawing a sphere is easy in openscad:

<lang openscad>// This will produce a sphere of radius 5
sphere(5);</lang>


[[Category:Geometric Primitives]]
[[Category:Geometric Primitives]]