
- Added RigidConstraint. - Depricated some methods (get_result, get_constrainedness) and added some new methods (get_solution, get_cluster, get_status). Removed old SelectionConstraint and renamed FunctionConstraint to SelectionConstraint Depricated ClusterSolver2D Small bugfixes in cluster ClusterSolver3D Renamed solvergui directory to workbench Renamed solvertest directory to test
16 lines
508 B
Python
16 lines
508 B
Python
""" Cluster objects partially based on the existing prototype objects for visualisation
|
|
in the sketcher. """
|
|
|
|
from includes import *
|
|
#import prototypeObjects
|
|
|
|
try:
|
|
from OpenGL.GL import *
|
|
from OpenGL.GLU import *
|
|
except ImportError:
|
|
app = QtGui.QApplication( sys.argv )
|
|
QtGui.QMessageBox.critical( None, "OpenGL grabber", "PyOpenGL must be installed to run this example.",
|
|
QtGui.QMessageBox.Ok | QtGui.QMessageBox.Default, QtGui.QMessageBox.NoButton )
|
|
sys.exit( 1 )
|
|
|