Re: Mac / Perl / 3D

2006-07-29 Thread Peter N Lewis

Thanks for the various answers.

I have done the Perl - POV-RAY source before, as well as Perl - 
3DML text format before.


I guess I could also use any scriptable drawing package (see 
http://www.peter.com.au/programming/scripted-drawing.html ;-) and 
do my own 3D conversion as necessary.


None of this seems entirely satisfactory though...

Thanks for the ideas.
   Peter.

--
Check out Interarchy 8.1.1, just released, now with Amazon S3 support.
http://www.stairways.com/  http://download.stairways.com/


Re: Re: Mac / Perl / 3D @ 1154185070

2006-07-29 Thread Johan Meskens CS3 jmcs3


 Intrah onat Diria .. Sat, 29 Jul 2006 14:53:03 +0800
  , Peter N Lewis  wrote  Revera y: 


 Peter.
 Thanks for the ideas.
 
 None of this seems entirely satisfactory though...
 
 do my own 3D conversion as necessary.
 http://www.peter.com.au/programming/scripted-drawing.html ;-) and
 I guess I could also use any scriptable drawing package (see
 
 3DML text format before.
 I have done the Perl - POV-RAY source before, as well as Perl -
 
 Thanks for the various answers.




let me drop like a stone from the sky
 , at the risk of damage

but

try blender
 , it has python in its belly




dfn
jmcs3







the following could be unreadable @ 1154185235   ::: 
,
 , t8Auschend
 , |
 , 1143901862
 , 519535985582646204551472702889166404901591288793867796015745621
 , },
 , worldly
 , after
 , and
 , -product
 , -
 , |-|
 , 






Re: Mac / Perl / 3D

2006-07-26 Thread John Delacour

At 9:59 am +0800 26/7/06, Peter N Lewis wrote:

I'm interested in producing some drawings/diagrams/pictures based on 
3D data/objects generated from Perl.  Something that would allow me 
to write code that generates boxes, cylinders, spheres, etc with 
various colours and material styles and generate an image (or 
potentially an animation).


Any suggestions?  The best bet seems to be to use SDL_Perl, although 
a brief look seems to indicate I'll be installing packages for the 
next month.


After several attempts over the past 2 years to install all that's 
necessary to do this sort of thing with PerlDL (I can't remember if I 
looked at SDL_Perl) I ended up doing these things with Smile/SmileLab 
http://www.satimage.fr/software/en/presentation.html, some of the 
data being generated with Perl.  Smile creates vector PDF files and 
these can be converted to DXF using a programme called Cenon 
http://www.cenon.info/frame_gb.html for import to other programmes 
or for numerically controlled machinery.  Ghostscript and hpijs 
http://www.linuxprinting.org/macosx/hpijs/, both simply installed, 
are all that is needed besides.  Smile can also create movies from 
the drawings.  I have not done any 3D work but a licence for Smile 
allows this also.


Write me off-list if you'd like some examples.

JD


Re: Mac / Perl / 3D

2006-07-26 Thread Sherm Pendley

On Jul 25, 2006, at 9:59 PM, Peter N Lewis wrote:

I'm interested in producing some drawings/diagrams/pictures based  
on 3D data/objects generated from Perl.  Something that would allow  
me to write code that generates boxes, cylinders, spheres, etc with  
various colours and material styles and generate an image (or  
potentially an animation).


Any suggestions?  The best bet seems to be to use SDL_Perl,  
although a brief look seems to indicate I'll be installing packages  
for the next month.


Thanks for any hints or warnings,


POV-Ray uses text-based source files that are fairly easy to create  
with Perl:


http://povray.org

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Mac / Perl / 3D

2006-07-25 Thread Peter N Lewis
I'm interested in producing some drawings/diagrams/pictures based on 
3D data/objects generated from Perl.  Something that would allow me 
to write code that generates boxes, cylinders, spheres, etc with 
various colours and material styles and generate an image (or 
potentially an animation).


Any suggestions?  The best bet seems to be to use SDL_Perl, although 
a brief look seems to indicate I'll be installing packages for the 
next month.


Thanks for any hints or warnings,
   Peter.

--
Check out Interarchy 8.1.1, just released, now with Amazon S3 support.
http://www.stairways.com/  http://download.stairways.com/


Re: Mac / Perl / 3D

2006-07-25 Thread Doug McNutt
At 09:59 +0800 7/26/06, Peter N Lewis wrote:
I'm interested in producing some drawings/diagrams/pictures based on 3D 
data/objects generated from Perl.  Something that would allow me to write code 
that generates boxes, cylinders, spheres, etc with various colours and 
material styles and generate an image (or potentially an animation).

I have used perl on a Mac, starting with MacPerl, to generate Autodesk DXF 
formatted stuff. Not much in 3D but a couple of specialized projects that 2D 
folks were happy with.

If you start with an exported DXF file from the version of AutoCAD that's being 
used you can copy the boilerplate from front and back. I usually use 
Vectorworks to view my own work and it doesn't care much about the boilerplate. 
There is other software that reads and displays the format. The current 
specification for DXF is freely available at the AutoCAD web site in html 
format.

Ask if you'd like some samples.
-- 

-- Life begins at ovulation. Ladies should endeavor to get every young life 
fertilized. --