Sphere Create Ruby
-
This ruby fragment creates arbitrarily tessellated sphere geometry by projecting a subdivided cube to a sphere.
Usage:
Primitives::sphere(radius_you_want, amount_of_subdivision)
So
Primitives::sphere(100, 4)
will create a highly tessellated sphere of radius 100Enjoy
EDIT: Whoops. All fixed now.
-
This sounds great!
Though...
Primitives::sphere(100, 4) Error: #<NoMethodError: undefined method
subdiv' for Primitives:Module>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/sphere.rb:48
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/sphere.rb:47:ineach' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/sphere.rb:47:in
sphere'
(eval):0` -
All fixed. Download again.
-
cheers!
Advertisement