Drawing data required

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Drawing data required

Post 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.)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Re: Drawing data required

Post by Marco2007 »

PureBasic for Windows
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Drawing data required

Post by blueznl »

Dunno how to read .dxf :-(
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Re: Drawing data required

Post by Marco2007 »

Is there a fileformat you know? ...so I can check tomorrow at work, if I can save it as that one...
PureBasic for Windows
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Drawing data required

Post 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.)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Drawing data required

Post 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
%101010 = $2A = 42
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Re: Drawing data required

Post by Marco2007 »

PureBasic for Windows
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Drawing data required

Post 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
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Re: Drawing data required

Post 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.
Anthony Jordan
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Re: Drawing data required

Post by Marco2007 »

I can provide *.iges, *.step, *.dxf, *.plt... -> all standard file formats for 2D and 3D...
PureBasic for Windows
Post Reply