root/cgm/README.CGM @ 1040

Revision 1040, 4.1 KB (checked in by tautges, 2 years ago)

Version 10.2 of cgm.

Line 
1=====================================
2The Common Geometry Module (CGM)
3Read Me
4
5Version 10.0
6=====================================
7
8The Common Geometry Module (CGM) is a code library which provides
9geometry functionality used for mesh generation and other
10applications.  This functionality includes that commonly found in
11solid modeling engines, like geometry creation, query and
12modification; CGM also includes capabilities not commonly found in
13solid modeling engines, like geometry decomposition tools and support
14for shared material interfaces.  CGM is built upon the ACIS solid
15modeling engine, but also includes geometry capability developed
16beside and on top of ACIS.  CGM can be used as-is to provide geometry
17functionality for codes needing this capability.  However, CGM can
18also be extended using derived classes in C++, allowing the geometric
19model to serve as the basis for other applications, for example mesh
20generation.  CGM is supported on Sun Solaris, SGI, HP, Linux
21and Windows NT platforms.  CGM also includes support for loading ACIS
22models on parallel computers, using MPI-based communication.  Future
23plans for CGM are to port it to different solid modeling engines,
24including Pro/Engineer or SolidWorks.  CGM is being released into the
25public domain under an LGPL license; the ACIS-based engine is
26available to ACIS licensees on request. 
27
28=====================================
29Dependencies
30=====================================
31
32CGM can be built using the CMake utility, which is "an extensible,
33open-source system that manages the build process in an operating
34system and compiler independent manner", or (on *NIX) using a
35configure-make system.  Cmake is available under an open source
36license, and can be downloaded in binary or source formats; see
37http://www.cmake.org for details.
38
39CGM can be built without using any external solid modeling engines; in
40this form, facet-based geometry can be constructed, queried and
41modified.  Specific engines relying on third-party, commercial
42modelers are also available, to those licensed to use those modelers.
43Contact the CUBIT team at cubit-dev_at_sandia.gov for details and to
44obtain source code for these engines.
45
46=====================================
47Compiling
48=====================================
49
501. Unpack the source code in some directory CGM_DIR, and change
51directory into CGM_DIR.
522a. Run cmake in that directory, using either the non-interactive
53("cmake .") or interactive ("ccmake .") version, OR
542b. Run "./configure" in that directory, optionally specifying where
55ACIS libraries are located and other options (run "./configure -h" for
56a list of options).
573. Make the CGM libraries by typing "make".
584. Install the CGM libraries by typing "make install" (this installs
59the libraries to the location specified by the --prefix option to
60configure, or to /usr/local by default).
615. Test the installation using "make test".
62
63=====================================
64Documentation, Testing, Example Applications
65=====================================
66
67Documentation for CGM is available from the CGM web page,
68http://cubit.sandia.gov/CGM.
69
70Example applications are included with the CGM distribution in the
71cgm_apps subdirectory.  Examples include importing and querying solid
72model-based geometry, and constructing facet-based geometry.  If you
73are interested in contributing examples to be included with CGM, we
74would welcome submissions; please send them to the email address
75below.
76
77The best example for how to build applications is to look in the
78cgm_apps/examples/facetdriver (without ACIS) and
79cgm_apps/examples/driverc++ (with ACIS) subdirectories.
80
81=====================================
82Bugs, Correspondence, Contributing
83=====================================
84
85CGM is LGPL code, and we encourage users to submit bug reports (and,
86if desired, fixes) to cubit-dev_at_sandia.gov.  Users are encouraged to check
87http://cubit.sandia.gov/CGM often for news and updates.
88
89=====================================
90Updates
91=====================================
92
9310.0 (4/05): Initial public CGM release
Note: See TracBrowser for help on using the browser.