|
Hi Dharani,
Thank you for your response. I will contact you through mail.
Thank you.. Wishing you all the best..
With Regards,
Sangeetha.
|
|
|
|
|
dharani wrote: With MDI , you should be able to view the same CAD drawning in multiple views - no issues
no, having different views is different than having multiple layers in the model; in CAD models, layers show or hide different aspects of the model, for example, for an architectural CAD model, you can have a model with a structural layer, with an electrical layer, with a plumbing layer that are all part of the same "view".
|
|
|
|
|
this is a big project you have there.
I think you have a LOT of thinking and designing to do before even thinking about what exact API you will need to use.
one part of your design is to define the different data structures for your CAD project, how to define a line, define a polygon, ... how to be able to logically composite the different objects to draw the entire model, how layers are defined within your model. after that, start defining how you will be able to load and save your model ( NOT yet about how you are going to export to PDF ).
This the above steps, you could try building a dummy CAD application without graphics, just create objects, lines, polygon, layers, ... and load them and save them.
AT the same time, someone will have to work on the graphic engine, the layer above either OpenGL, DirectX or even GDI/GDI+, how to display the objects according to physical dimensions, with all the goodies, view scaling, view panning, view rotations, ...
|
|
|
|
|
Maximilien wrote: AT the same time, someone will have to work on the graphic engine, the layer above either OpenGL, DirectX or even GDI/GDI+, how to display the objects according to physical dimensions, with all the goodies, view scaling, view panning, view rotations, ...
Why do you talk about a "layer abive OpenGL or DirectX" when the project does not need any of them as it is concerned with only 2D drawing ?!
I agree she is on to a big project which should minimum consume 2 man years , nevertheless there is no need to worry about "view rotations" for the same reason that its only 2D
I have been part of a CAD product development and we have not used anything more than Device context , 6 hours a day with campus and protector and 2 hrs coding . A sound knowledge in trignometry will do things here
redindian
|
|
|
|
|
A good start would be the MyDraw application that comes with the MSDN lessons to figure out MS Visual C++. It does the basic shapes and storing classes. Learnt much from it myself many moon ago.
Cheers
Colin
Internet forums rock.
|
|
|
|
|
A reasonable start would be the MyDraw application that comes with the MSDN learn how to program Visual C++(its free). It has basic shapes, and polygons, and sets up the storing classes, serialization, Print Preview, and more. Learnt much from it myself many moons ago.
Cheers
Colin
|
|
|
|
|
Thank you all for your valuable response.. Am start with studying about device context and go through the MYDRAW example from MSDN
With Regards,
Sangeetha.
|
|
|
|
|
|
I gone through that site.. But i didnt find any related information, Whitesky. Please excuse me to say this..
With Regards,
Sangeetha.
|
|
|
|
|
Not problem I guess maybe It will helpful for you
|
|
|
|
|
Sorry Whitesky, as seeing your name, i thought its the reply for my another post "Regarding SQL execution using MFC", and so i replied like that.
Sorry..
With Regards,
Sangeetha.
|
|
|
|
|
I want to replace Third party controls Sheridan & Farpoit which I have used for Spreadshit and splittcontrol how it is possible?
My Application is in VB6.
pl. give me solution for this.
email: nileshjs@hcl.in
nilesh
nilesh
|
|
|
|
|
Nilesh J Suryavanshi wrote: My Application is in VB6.
Then why on earth are you asking in the C++ forum ?
Nilesh J Suryavanshi wrote: email: nileshjs@hcl.in
Posting your email address to a public forum will result in spam from third parties, no-one is going to mail you a solution, come back to the forum for your answer. In fact, if you registered with this address, any response will be mailed to you anyhow.
|
|
|
|
|
Nilesh J Suryavanshi wrote: Spreadshit
You may have to consider the soapbox. Not even that, I guess.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
to ues some individual jpeg pictures to make video,no matter the form of the video(avi,divx,xvid.....)
|
|
|
|
|
If they are jpegs, you want to make an mpeg, realistically. Did you try google ?
|
|
|
|
|
I would like to obtain data from an Excel sheet and write it out in a special XML format for another application to read. I need to do some processing on the Excel data.
I have been searching for examples of a simple Visual Studio 2003 or 2005 MFC example to get me started, but no luck so far.
All I have found is a C#, and have not done C#.
Any links would be useful.
Many thanks,
Andy.
|
|
|
|
|
try this
Otherwise search "Excel Automation" on google
|
|
|
|
|
Andy202 wrote: Any links would be useful.
Try here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Give me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
9ine
|
|
|
|
|
|
I thought codeproject was my friend
9ine
|
|
|
|
|
|
9ine wrote: e me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
you are lucky.. MSDN provided you example in CFileFind::FindNextFile()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
no MFC only native windows API please
9ine
|
|
|
|