Re: [PHP] CAD file decoding

2008-06-18 Thread Lester Caine

Iv Ray wrote:

Lester Caine wrote:
 > Has anybody seen any software that could be used with PHP to extract the
 > preview pictures from CAD files such as DXF and the like. I'm looking to
 > keep thumbnails of the drawings in much the same was as we generate
 > thumbnails of images. So I can display a list of previews before
 > downloading the whole file.

It seems DXF files can be accessed with JavaScript.

This sounds a bit peculiar to me, how big are these files?


Can be very big

http://medw.co.uk/fisheye/view.php?gallery_id=36 will give you the idea.

I'm dumping the images to jpg from Turbocad, so I have separate thumbnails to 
drawing files, but ideally if people are uploading drawing fiels we will need 
to automatically produce thumbnails for them. server end rather than client


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] CAD file decoding

2008-06-18 Thread Iv Ray

Lester Caine wrote:
> Has anybody seen any software that could be used with PHP to extract the
> preview pictures from CAD files such as DXF and the like. I'm looking to
> keep thumbnails of the drawings in much the same was as we generate
> thumbnails of images. So I can display a list of previews before
> downloading the whole file.

It seems DXF files can be accessed with JavaScript.

This sounds a bit peculiar to me, how big are these files?

Iv

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] CAD file decoding

2008-06-17 Thread Lester Caine
Has anybody seen any software that could be used with PHP to extract the 
preview pictures from CAD files such as DXF and the like. I'm looking to keep 
thumbnails of the drawings in much the same was as we generate thumbnails of 
images. So I can display a list of previews before downloading the whole file.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php