ibaned / gmodel

Gmsh model generation library
Other
13 stars 6 forks source link

Gmodel

Create your own Gmsh models !

Gmodel is a C++11 library that implements a minimal CAD kernel based on the .geo format used by the Gmsh mesh generation code, and is designed to make it easier for users to quickly construct CAD models for Gmsh.

Installing / Getting started

You just need CMake and a C++11 compiler.

git clone git@github.com:ibaned/gmodel.git
cd gmodel
cmake . -DCMAKE_INSTALL_PREFIX=/your/choice
make install

This should install Gmodel under the given prefix in a way you can access from your own CMake files using these CMake commands:

find_package(Gmodel 1.3.0)
target_link_libraries(myprogram gmodel)

Several example executables can be found in the tests/ directory.

Features

Gmodel provides at least the following:

Gmodel does not support the more powerful CAD operations such as boolean operations involving objects whose boundaries overlap; we do not currently have the resources to develop such features.

Contributing

Please open a Github issue to ask a question, report a bug, request features, etc. If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome.

Licensing

This library is released under the FreeBSD license.