Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcellteam/gamer-v1
Geometry-preserving Adaptive Mesh Generator
https://github.com/mcellteam/gamer-v1
blender-addon mesh
Last synced: about 2 months ago
JSON representation
Geometry-preserving Adaptive Mesh Generator
- Host: GitHub
- URL: https://github.com/mcellteam/gamer-v1
- Owner: mcellteam
- License: gpl-2.0
- Created: 2015-08-03T22:25:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-09T22:02:28.000Z (over 6 years ago)
- Last Synced: 2024-03-27T01:03:46.869Z (9 months ago)
- Topics: blender-addon, mesh
- Language: C++
- Homepage:
- Size: 12.6 MB
- Stars: 7
- Watchers: 13
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Release snapshot of GAMer
GAMer is a surface mesh improvement library,tetrahedral mesh generation library
and Blender addon, included in the FEtk software umbrella. It depends on Maloc
a Minimal Abstraction Layer for Object-oriented C, which all modules in FEtk
depends on. Maloc is provided in this snapshot.## Installation
These installation instructions should work on any UNIX based platform.
Requirements: Installation requires python-3.4 with NumPy, swig-2.0.7 or later, and Blender-2.76b or later.
Edit the top level makefile adjust the following lines depending on your UNIX
platform:On Linux or similar UNIX:
# On a Linux platform, uncomment these lines and adjust as needed:
export PYTHON := /opt/python3.4/bin/python3.4
export LD_LIBRARY_PATH := $(BUILD_DIR)/lib:$(LD_LIBRARY_PATH)
LDFLAGS := "-L/opt/python3.4/lib"
INSTALL_DIR := ~/.config/blender/2.76On MacOSX:
# On a MacOSX platform, uncomment these lines and adjust as needed:
export PYTHON := /opt/local/bin/python3.4
export DYLD_LIBRARY_PATH := $(BUILD_DIR)/lib:$(DYLD_LIBRARY_PATH)
LDFLAGS := -L/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib
INSTALL_DIR := ~/Library/Application\ Support/Blender/2.76After these changes you are ready to build and install GAMer:
make
make install### GAMer libraries and applications
The GAMer applications ImproveSurfMesh, MolecularMesh, and GenerateMesh are
built in the directory gamer_build_static/bin. These applications reference
the GAMer libraries in gamer_build_static/lib.## PyGAMer
PyGAMer is a Python wrapper of the core GAMer library. The gamer python module
is built in gamer_build_static/lib/python3.4/site-packages/gamerMake sure to set LD_LIBRARY_PATH or (DYLD_LIBRARY_PATH on Mac) and
PYTHONPATH before you run any programs or try using PyGAMerexport BUILD_DIR=your_path_to/gamer_build_static
export LD_LIBRARY_PATH=$BUILD_DIR/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$BUILD_DIR/lib/python2.6/site-packages:$PYTHONPATHOn Mac:
export BUILD_DIR=your_path_to/gamer_build_static
export DYLD_LIBRARY_PATH=$BUILD_DIR/lib:$DYLD_LIBRARY_PATH
export PYTHONPATH=$BUILD_DIR/lib/python3.4/site-packages:$PYTHONPATHTo test the main functionality you can run the test script in gamer/swig/test.
cd gamer/swig/test
python gamer_test.py## Blender addon
A Blender addon for GAMer is provided in the gamer_addon subdirectory.