Click here to Skip to main content
12,759,704 members (31,838 online)
Click here to Skip to main content
Add your own
alternative version


202 bookmarked
Posted 12 Sep 2006

SolidGraph CAD System

, 12 Sep 2006
Rate this:
Please Sign up or sign in to vote.
A SolidGraph CAD system source code.

SolidGraph ScreenShort


SolidGraph is a full-featured system for 3D modeling of highly complex geometric objects. Sooner or later, everyone who works with computer graphics feels necessary to write his own editor. We want to show you one of the ways of writing a module application where the functions for creating new objects are distributed among plug-ins.

The project has been compiled only with the following compilers: Microsoft Visual C++ 7.1, and Microsoft Visual C++ 8.0.

Points of Interest

Who may be interested in this article:

  • Everyone who is beginning to work with OpenGL-based computer graphics.
  • Everyone who is interested in creating his own CAD system and geometric modeling software.
  • Software developers writing in MFC because this application contains a lot of ways to solve various problems related to MFC (for example, creating 32-bit toolbars, loading toolbars and strings from plug-ins, the TreeControl class, and much more).
  • Software developers who want to embed the LUA interpreter into their code.
  • Experienced software developers creating their own large systems.

In other words, it is for everyone :)

What can be interesting for you:

  • The GUI completely based on MFC and on some articles from CodeProject.
  • The way of creating a "MultiApp" application - an MDI application with several tabs, and a separate full-featured MDI application is behind each of them (the CAppTabManager class.
  • The method of distributing application features among plug-ins, loading these plug-ins, using dialog boxes, toolbars, and images from plug-ins.
  • Working with OpenGL - the gradient background class, the camera class, object linking, getting the object under the mouse pointer, work planes.
  • Working with LUA - initiating and creating your own classes for LUA.
  • A lot of new MFC control elements.
  • Creating an ActiveX control element using OpenGL (ArMax) with the help of MFC.
  • Creating an OpenGL material editor (MaterialsEditor).
  • You will also find the source code of plug-ins for creating 2D primitives, 3D primitives, Boolean operations, cinematic operations, and for creating surfaces and solids.
  • And a lot more :).

The SolidGraph system can be used as a full-featured editor for 3D models and for building photorealistic images. You can write your own plug-ins for it (taking existing plug-ins as examples).

The SolidGraph system is based on the sgCore library and is developed by the Geometros company as an example of a minimal CAD system that can be based on this library. Ask your questions at [].


We thank the authors of the libraries CxImage, LUA, CDiagramEditor, COptionTree.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

AnswerRe: any user forum? Pin
Geometros12-Oct-06 4:09
memberGeometros12-Oct-06 4:09 
GeneralVeryGood Job(^_^) Pin
China_Boy9-Oct-06 17:42
memberChina_Boy9-Oct-06 17:42 
Question[Message Deleted] Pin
alfa__2-Oct-06 3:47
memberalfa__2-Oct-06 3:47 
AnswerRe: Working with Visual C++ 6.0 Pin
Geometros2-Oct-06 3:53
memberGeometros2-Oct-06 3:53 
GeneralRe: Working with Visual C++ 6.0 Pin
Mike Anderton24-Sep-11 12:25
memberMike Anderton24-Sep-11 12:25 
GeneralNive look Pin
agnes9122-Sep-06 22:29
memberagnes9122-Sep-06 22:29 
GeneralRe: Nive look Pin
Geometros23-Sep-06 1:23
memberGeometros23-Sep-06 1:23 
GeneralImpressive!.. But please fix the Solidgraph.sln Pin
SAKryukov22-Sep-06 8:33
memberSAKryukov22-Sep-06 8:33 
GeneralRe: Impressive!.. But please fix the Solidgraph.sln Pin
Geometros23-Sep-06 1:24
memberGeometros23-Sep-06 1:24 
GeneralRe: Impressive!.. But please fix the Solidgraph.sln Pin
H Lew7-Mar-08 11:32
memberH Lew7-Mar-08 11:32 
QuestionWhy MFC? Pin
stephen_w_simpson18-Sep-06 20:48
memberstephen_w_simpson18-Sep-06 20:48 
AnswerRe: Why MFC? Pin
Geometros18-Sep-06 21:38
memberGeometros18-Sep-06 21:38 
GeneralRe: Why MFC? Pin
nuno8919-Sep-06 21:57
membernuno8919-Sep-06 21:57 
Questionit's a demo, only? Pin
Ian200718-Sep-06 12:25
memberIan200718-Sep-06 12:25 
AnswerRe: it's a demo, only? Pin
eisernWolf18-Sep-06 14:15
membereisernWolf18-Sep-06 14:15 
General[Message Deleted] Pin
Ian200718-Sep-06 15:27
memberIan200718-Sep-06 15:27 
GeneralRe: it's a demo, only? Pin
true6418-Sep-06 17:14
membertrue6418-Sep-06 17:14 
GeneralRe: it's a demo, only? Pin
Laubi18-Sep-06 20:53
memberLaubi18-Sep-06 20:53 
GeneralRe: it's a demo, only? Pin
drturbo19-Sep-06 5:00
memberdrturbo19-Sep-06 5:00 
GeneralRe: it's a demo, only? Pin
Steve_pqr19-Sep-06 8:37
memberSteve_pqr19-Sep-06 8:37 
GeneralRe: it's a demo, only? Pin
LaBarbus24-Jul-07 22:17
memberLaBarbus24-Jul-07 22:17 
QuestionIt is a really nice CAD project,right? Pin
BobbyChou14-Sep-06 0:07
memberBobbyChou14-Sep-06 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 12 Sep 2006
Article Copyright 2006 by Geometros
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid