jesus, the code does nothing, its poorly explained maybe unless your an expert in lisp and autocad and so far I didnt see anyone else manage to make another ball from it.
Registered forum members do not see this ad.
I mean, sheeeeeit LSR uda man. Ya can't get a better tutorial that that. Nuff said, nice football...................
jesus, the code does nothing, its poorly explained maybe unless your an expert in lisp and autocad and so far I didnt see anyone else manage to make another ball from it.
so just because someone posts a tutorial means everyone should try it out? lolOriginally Posted by lasershows
![]()
Tannar Z. Frampton ™ | Frampton & Associates, Inc.
I can't run the Lisp file u supposed.
I don't know what it happened. when i load this lisp file into my obj,
it sign me unknown command.![]()
![]()
Gothic
Since there seems to be interest in this soccer ball lisp, so I simplified the routine to include the coordinates in the routine. It draws points, not surfaces.
Code:(defun c:soccer () (setq ptlist '( (0.00000000 1.00000000 4.85410197) (0.00000000 -1.00000000 -4.85410197) (0.00000000 1.00000000 -4.85410197) (0.00000000 -1.00000000 4.85410197) (1.00000000 4.85410197 0.00000000) (1.00000000 -4.85410197 0.00000000) (-1.00000000 4.85410197 0.00000000) (-1.00000000 -4.85410197 0.00000000) (4.85410197 0.00000000 1.00000000) (4.85410197 0.00000000 -1.00000000) (-4.85410197 0.00000000 1.00000000) (-4.85410197 0.00000000 -1.00000000) (2.00000000 4.23606798 1.61803399) (-2.00000000 4.23606798 1.61803399) (2.00000000 4.23606798 -1.61803399) (-2.00000000 4.23606798 -1.61803399) (2.00000000 -4.23606798 1.61803399) (-2.00000000 -4.23606798 1.61803399) (2.00000000 -4.23606798 -1.61803399) (-2.00000000 -4.23606798 -1.61803399) (4.23606798 1.61803399 2.00000000) (-4.23606798 1.61803399 2.00000000) (4.23606798 1.61803399 -2.00000000) (-4.23606798 1.61803399 -2.00000000) (4.23606798 -1.61803399 2.00000000) (-4.23606798 -1.61803399 2.00000000) (4.23606798 -1.61803399 -2.00000000) (-4.23606798 -1.61803399 -2.00000000) (1.61803399 2.00000000 4.23606798) (-1.61803399 2.00000000 4.23606798) (1.61803399 2.00000000 -4.23606798) (-1.61803399 2.00000000 -4.23606798) (1.61803399 -2.00000000 4.23606798) (-1.61803399 -2.00000000 4.23606798) (1.61803399 -2.00000000 -4.23606798) (-1.61803399 -2.00000000 -4.23606798) (1.00000000 3.61803399 3.23606798) (-1.00000000 3.61803399 3.23606798) (1.00000000 3.61803399 -3.23606798) (-1.00000000 3.61803399 -3.23606798) (1.00000000 -3.61803399 3.23606798) (-1.00000000 -3.61803399 3.23606798) (1.00000000 -3.61803399 -3.23606798) (-1.00000000 -3.61803399 -3.23606798) (3.61803399 3.23606798 1.00000000) (-3.61803399 3.23606798 1.00000000) (3.61803399 3.23606798 -1.00000000) (-3.61803399 3.23606798 -1.00000000) (3.61803399 -3.23606798 1.00000000) (-3.61803399 -3.23606798 1.00000000) (3.61803399 -3.23606798 -1.00000000) (-3.61803399 -3.23606798 -1.00000000) (3.23606798 1.00000000 3.61803399) (-3.23606798 1.00000000 3.61803399) (3.23606798 1.00000000 -3.61803399) (-3.23606798 1.00000000 -3.61803399) (3.23606798 -1.00000000 3.61803399) (-3.23606798 -1.00000000 3.61803399) (3.23606798 -1.00000000 -3.61803399) (-3.23606798 -1.00000000 -3.61803399) ) ) (foreach x ptlist (command "._point" x) ) (princ) )
Gothic and Lasershows:
If you guys had followed or read the thread sequence you would notice that I posted
the wrong code (typo error) the first time, the two previous guys made the same mistake as you guys.
I corrected the code since then, the correct one is somewhere in the middle of the thread.
"X" made a glass like ball.
CarlB:
Simpler code. An excellent one, I like it. Yes, it only draws points not surfaces.
These points represent the vertices of the icosahedron which you create the surfaces.
ball.jpg
I've caught it, N' I love it very much that.........
![]()
Thank you
Gothic
- A manual worker works with hands.
-A technician works with hands and brain.
-An artist works with hands, brain and heart.
how can i get a DWG of your soccerball to make a SAT out of?
thanks
Registered forum members do not see this ad.
Now, i also got one....!
Bookmarks