Commit Graph

16 Commits

Author SHA1 Message Date
kwikrick
e758e3c225 fixed invalid syntax (vector.vector[...]) in configuration
fixed bug in Connected(IncrementalSet)
2011-03-29 18:49:27 +00:00
kwikrick
fdf7300eef New 2D solver (clsolver2D.py), far from complete
Lots of changes to make clsolver.py more generic
New incremental 3D methods (clsolver3D.py) but still not complete
New 2D tests
2011-01-29 10:21:01 +00:00
kwikrick
5288253718 Added basis for incremental matching (incremental.py). Currently only used (as a test case) by MergePR.
Re-added decompositionView.py (missing from SWN tree (since revision 8)
2010-07-01 21:09:51 +00:00
kwikrick
2683d68d44 New test for creating and mating blocks 2009-11-21 12:43:54 +00:00
kwikrick
cc4e6f431a geometric.py
FixConstraint now works again in workbench
 GeometricCluster now called GeometricDecomposition
 added MateConstraint

intersections.py:
 fixed degenerate intersections in sss_int and cl_int
 fixed degenerate coordinate systems in make_hcs_3d

matfunc.py: 
 eye now returns a matrix with float values

__init__.py 
  import MateConstraint, LeftHandedConstraint, RightHandedConstraint

configuration.py
  changed how underconstrained situations are is determined

clsolver.py
   add fewer SelectionMethods and PrototypeMethods
   removed methods: rigids(), hedghogs(), balloon(), replaced by clusters()

clsolver3D.py
    added MergeGluable (for solving MateConstraint)

cluster.py
    add Gluable cluster (for solving MateConstraint)

and lots of other small fixes and changes...
2009-11-21 12:42:24 +00:00
kwikrick
673bf117bd Improved some class and function documentation
Cleaned up the code. Moved most code from ClusterSolver3D to ClusterSolver 
Added option to ClusterMethods for hand-coded mathing routines
Added CheckAR Method to fix detection of overconstrained situations
2009-11-18 08:22:33 +00:00
kwikrick
fac2609def Replaced references to depricated Set and ImmutableSet classes with set and frozenset types 2009-11-17 10:27:29 +00:00
kwikrick
74386c1710 Fixed solution-selection and root-transformation bugs. 2009-11-17 09:22:57 +00:00
kwikrick
38c71c882b Simplified output of GeometricSolver.get_cluster.
New decompositionView (replacing compositionView) in workbench
2009-11-16 20:01:47 +00:00
kwikrick
fd0438c86d added LeftHandedConstraint, RightHandedConstraint etc. Small bugfixes. 2009-11-15 12:40:57 +00:00
kwikrick
99b304c882 added support for SelectionConstraint 2009-11-15 12:05:44 +00:00
kwikrick
22e159a5ad Changes to GeometricSolver:
- 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
2009-10-09 12:23:02 +00:00
kwikrick
fe8d04497f Corrected FixConstraint bug: now just one or two fixed points
will also translate and/or rotatate the solution.
2009-10-06 16:33:16 +00:00
kwikrick
e361ef14d0 Bug Fix: Workbench added point-variables with Vec class for coordinates (from matfunc.py) instead of vector class (from vector.py).
Added a conversion to vector in GeometricProblem.add_paint & .set_point
2009-10-06 15:45:09 +00:00
kwikrick
4fe301a5e6 Bugfix: Fix-constraint now works.
Implemented a mechanism for setting the root cluster so that cluster-merging
takes place in the correct order. For each cluster, a root variable is 
created, which is used in cluster-merging methods to choose which 
cluster to transform, and which too keep fixed. The root-variable 
of the output cluster is related to root-variables of the input
clusters by adding a logical OR method (OrMethod) to the 
method graph.

Rick
2009-10-06 15:26:25 +00:00
kwikrick
9fd7fdb797 moved everything to trunk and deleted geomsolver.html 2009-09-04 15:42:14 +00:00