Home > PublicationsBooks > OpenCAD

Title: OpenCAD - A Step by Step Guide to Developing a Professional CAD Application

Author: Deelip Menezes - Founder & CEO of SYCODE

The book is written as a short story describing the evolution of a CAD application called OpenCAD. The reader starts with an empty Visual C++ project. In each chapter, the reader adds features to OpenCAD, first making it a DWG reader, then a viewer and finally an editor. Finally the reader ends up with a professional CAD application complete with an AutoCAD-like command prompt and plug-in architecture, thereby giving it the ability to be extended by means of DRX plug-ins.

The book is divided into two sections. Section 1 deals with creating the basic OpenCAD application, wiring it up with ODA libraries and adding features to make it a full blown professional 3D DWG viewer. Section 2 deals with adding a command prompt, plug-in architecture and developing a DRX plug-in that converts it into a DWG editor. The book can also be used as a primer for developing DRX plug-ins since the plug-ins developed for OpenCAD also work with any DWGdirect hosted application such as Bricscad V9.

Book Highlights:

  • Start with an empty MFC Document View MDI workspace and create a professional CAD application using the DWGdirect SDK

  • Read and write DWG and DXF files

  • Add 3D navigation features - 3D orbit, pan, zoom and zoom window

  • Add plug-in architecture

  • Develop DRX plug-ins using the free DRX SDK that load and run in any DWGdirect hosted application

  • Design and implement an AutoCAD-like command prompt

  • Complete C++ source code with comments and organized by chapter

  • Step by step explanation of program logic, class variables and methods

  • Detailed figures showing each and every step


"I purchased the electronic version of your OpenCAD step-by-step guide. What a blast!!! Using VS 9.0 (2008). I had to do some trivial adjustments, but otherwise everything worked right out of the box. For sure the best 50 bucks I’ve ever spent. Now, I’m ready to move on with my actual project (meshing for CFD). Without your guide, it would have taken me ages to figure things out. Next step is to embed a python interpreter to allow scripting.”

Søren Hjort, Ph.D.
Siemens Wind Power

: $99 (paperback book), $49 (PDF eBook)

Table of Contents PDF (70 KB)
Paperback ($99)
eBook ($49)



Front Cover

Front Cover

Back Cover

Back Cover


Source Code

The book comes with complete C++ source code. Click the button below to download the source code.

Note: You will need to purchase a copy of the the book before downloading the source code.

(7 MB)