Solved

convert to .dwg/.dxf format from a drawing made of gdi drawing functions

Posted on 2000-04-06
6
292 Views
Last Modified: 2010-04-10
I'm writing a program which is essentially a simplified CAD program.  It uses a series of the gdi drawing functions (like line/rect/polygon/textout/draw(bitmaps)/etc.) to produce an overall drawing.  So when these files are saved to a file, they are in their own format to describe the item to draw (written as a structure with binary data to the file).

I'm looking to be able to convert this drawing into the .dxf and .dwg formats.

How do I do this?  I'd like to just use a program which I can give a description of my structures to or somehow inform on how to read/write with my format, and then do the rest for me.  But if this isn't possible how else can I do this?

Thanks!
-Josh
0
Comment
Question by:jbirk
  • 3
  • 3
6 Comments
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 200 total points
Comment Utility
have you looked at the toolkit available at http://www.opendwg.org/

0
 
LVL 8

Author Comment

by:jbirk
Comment Utility
Thanks for the reference.  Looks a good site!  A little expensive for commercial distribution, but it looks like it might do what I need.  I'll get back to you after I have a chance to try and use their libraries.

-Josh
0
 
LVL 9

Expert Comment

by:ShaunWilde
Comment Utility
also how about http://www.dcs.ed.ac.uk/home/mxr/gfx/3d-hi.html

sorry these are coming in slowly - I looked up this info for a friend who uses autocad a few weeks back - so I am just waking my history between compiles :)
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 8

Author Comment

by:jbirk
Comment Utility
I've looked at it more in depth with my company, and it looks like opendwg is what we'll go with.  I'm probably going to try and get something working with it tomorrow.  I'll get back to you on how it goes, and if it'll work out for sure.

-Josh
0
 
LVL 8

Author Comment

by:jbirk
Comment Utility
Well, the project was put on hold, but I'm confident that the opendwg is what I was looking for, so here's your points.  Sorry for the delay in rewarding them.

-Josh
0
 
LVL 9

Expert Comment

by:ShaunWilde
Comment Utility
you may also find this useful

Take a look at Kadmos' DXFReader control at

http://www.kadmos.com/activex/

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now