Subject:
|
Spheroid Generator (Perl) makes DAT
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 15 Jul 2002 02:31:15 GMT
|
Viewed:
|
594 times
|
| |
| |
Hi all,
I've got a Perl program to generate spheres and other shapes in LDRAW
format, or as crude ASCII instruction steps. I wrote this to assist in
creating my 16x16 dome out of plates.
The program is free. You will need to have beginner Perl knowledge to use it.
Basically, edit the first line of the program to get the shape you want.
There are 6 built in, and you can edit the parameters to get others
including ellipsoids.
Has someone already done this that I don't know of?
Code at http://www.brickshelf.com/gallery/olsone/spheroids/spheroid.pl
(or see reply to this message where I'll post it for posterity)
Some samples at Brickshelf (wait for moderation)
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=21558
Enjoy!
-Erik
|
|
Message has 4 Replies: | | Re: Spheroid Generator (Perl) makes DAT
|
| #!perl5 # Spheroid.pl # This program generates 1/4 of a dome or other shape # Written by Erik Olson # You will need to edit this sample code to get what you want: $s = SpheroidSection::Sample(1); # Add your desired shapes to the Sample() function or (...) (22 years ago, 15-Jul-02, to lugnet.cad.dev)
| | | Instructions for 4x4x10 sphere section using plates
|
| Sample ASCII instructions for 4x4x10 sphere section using plates (must be viewed in a fixed width font!!!) # "O" marks the stud of a plate you add in this step # "*" marks a stud from the previous step, for guidance # "." is nothing Note: steps 1-4 (...) (22 years ago, 15-Jul-02, to lugnet.cad.dev)
| | | Spheroid Generator now on the web
|
| Spheroid Generator is now a web page. With just a web browser you can get instructions showing where to put plates to make a sphere, cone, or tent in any size, using plates. Kind of like Mosaic Maker. I'll be working on this more, so that it can (...) (22 years ago, 17-Jul-02, to lugnet.cad.dev, lugnet.announce) !!
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|