Page 1 of 1

Drawing data required

Posted: Wed Aug 25, 2010 8:00 pm
by blueznl
Some may recall I've been working on something called g_spot, which has gotten a little out of hand :-)

To test part of that code I need drawing data, preferably some 2D CAD data, in some easily readable format. It doesn't matter too much how much data there is, as long as it is a lot :-)

Anything goes, detailed floorplans, a technical drawing, a vectorized face, as long as it is recognizable and I don't have to spend a lifetime understanding the format. My code currently only supports lines, dots, boxes and circles, but no partial circles, curves, and so on, so... simple stuff :-)

Anyone who has something that I can use for testing? (The advantage of using a real drawing is that the eye spots problems a bit easier.)

Re: Drawing data required

Posted: Wed Aug 25, 2010 9:24 pm
by Marco2007

Re: Drawing data required

Posted: Wed Aug 25, 2010 9:27 pm
by blueznl
Dunno how to read .dxf :-(

Re: Drawing data required

Posted: Wed Aug 25, 2010 9:40 pm
by Marco2007
Is there a fileformat you know? ...so I can check tomorrow at work, if I can save it as that one...

Re: Drawing data required

Posted: Thu Aug 26, 2010 5:55 am
by blueznl
Anything that's easy, I can use .PLT or .HPGL files, as they are simple and flat ascii :-)

(Perhaps I should install some simple free cad package and generate / convert some files... If anyone has a suggestion in that field feel free to mention it.)

Re: Drawing data required

Posted: Thu Aug 26, 2010 8:30 am
by Perkin
You might want to check if Google's sketchup can export models into formats you'll be able to import,
there's thousands of free models in the sketchup warehouse

Re: Drawing data required

Posted: Thu Aug 26, 2010 9:06 am
by Marco2007

Re: Drawing data required

Posted: Thu Aug 26, 2010 10:10 am
by Vera
Hi blueznl,

what an expencive request :mrgreen:
(didn't know software can be that extraordinary high priced)

still I found a small free & opensource converter that might be of help just to produce a lot of data :wink:
Ras2Vec (BMP/TIFF -> HPGL, DXF, EMF)

cheers ~ Vera

Re: Drawing data required

Posted: Mon Aug 30, 2010 9:16 pm
by akj
@blueznl:

The data from http://www-inst.eecs.berkeley.edu/~cs18 ... teapot.obj giving vertices and triangular faces for the Utah teapot may help. It is a plain text file. For 2D just ignore the third z-coordinate for each vertex.

Also the video at http://www.unfold.be/pages/projects/items/utanalog seems relevant to your problem.

Re: Drawing data required

Posted: Mon Aug 30, 2010 9:52 pm
by Marco2007
I can provide *.iges, *.step, *.dxf, *.plt... -> all standard file formats for 2D and 3D...