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 methodsubdiv' 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:insphere'
(eval):0` -
All fixed. Download again.
-
cheers!

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement