Anyone have any experience do this? If so I would be interested in some basic ideas on how to start just doing some basic lines; BUT I am interested also in how the CAD software engineers would do it just to get some insight.
Printable View
Anyone have any experience do this? If so I would be interested in some basic ideas on how to start just doing some basic lines; BUT I am interested also in how the CAD software engineers would do it just to get some insight.
There is a huge jump between drawing some lines and CAD software. That's like comparing some kid playing chopsticks on a piano to a virtuoso playing a Listz piano concerto.
Seriously, CAD software requires not just programming. Mathematics, algorithmic analysis, etc. It isn't just about drawing a line or a bunch of circles.Quote:
BUT I am interested also in how the CAD software engineers would do it just to get some insight.
Regards,
Paul McKenzie
so you don't know?
Don't know what exactly? How to write CAD software? How to draw lines?
You need to hone your questions down to more realistic levels. Asking "how to write CAD software" cannot be answered by a simple post. If you want to know how to draw a line, then there is GDI and GDI+ functions for Windows. But even real CAD software uses highly optimized graphics algorithms to draw lines, curves, etc. and don't go the GDI route. If you want to know how, then read up on drawing algorithms.
Regards,
Paul McKenzie
My post was clear and to the point "Design considerations for a basic 2D CAD program"
Your question is not "clear" as again, it cannot be answered in a single post or on a forum. CAD software is not trivial, and how to design such a system is non-trivial. You may think that designing such a system can be explained in a sentence or two, but that is not the case.
http://www.codeproject.com/Articles/...AD-application
Regards,
Paul McKenzie
Paul, you made 3 good points and I am just shaking my head why this had to be so difficult for you?
am I on camera?