Basketball script

Next
 From:  bemfarmer
4725.1 
Attached is a basketball script, used to generate the "seam lines", (should be grooves), for a basketball.
Used the corrected formula from <http://www.3d-meier.de/tut9/Seite14.html> , which is the intersection
of a sphere and a hyperbolic paraboloid. (formerly done in C4D ?)

(Modified from Michaels ToroidalHelix script, MoI program)
From wikipedia: "The standard size of a basketball in the NBA is 29.5 to 29.875 inches (75 to 75.88 cm) in circumference."
The standard size of a basketball in the NBA is 29.5 to 29.875 inches (75 to 75.88 cm) in circumference
Radius = circumference / (2 * pi) (75.5 / 2pi = 12 centimeters +/-.
MoI set to centimeters.
The script creates sparse points in some areas, so numpoints was increased to a highcount 2000, then used
Rebuild at .01 cm to reduce 2000 numpoints to lower value.
Create sphere and rotate so joint occurs at two added circles.
Note: aValue is approximate, would need to adjust aValue to match regulation ball pattern.
Would need to change lines to actual groove in ball.
The aValue used is considerably different, (higher,) than the value used in the German web site. Why ?

Sphere of radius 12 was created, and rotated so seam matches two other added circles.

To adjust script groove, a person can load the basketball.3dm file, and erase seam, and re-run script.
Or else practice MoI, making the ball from scratch.
Texturing and grooves not done...



EDITED: 2 Apr 2015 by BEMFARMER

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
4725.2 

EDITED: 2 Apr 2015 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
4725.3 
Olympic!
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
4725.4 In reply to 4725.1 
Hi Brian, this is really cool that you've been able to use that ToroidalHelix script as a template for making such a variety of different function curve plug-ins!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All