Added ProjectedGlobalOrigin as centerOption for worplane constructor to differentiate between projecting the global origin and the current plane origin when creating new workplanes. Also updated projectToPlane method of Vector to only accept plane objects and it no longer does in inplace modification. Updated test converage for ProjectedOrigin and ProjectedGlobalOrigin options.
The projectToPlane method of Vector returns self to allow for a fluent interface. There is now full test converge of projectToPlane method. Bug fixed in projectToPlane when plane is passed instead of base and normal.
2. Add self.wrapped.tessellate(tolerance) statement in CenterOfBoundBox and CombinedCenterOfBoundBox function in class Shape, and make the tolerance default value 0.1. This will make the result more accurate.
3. Add empty test functions 'testCenterOfBoundBox' and 'testCombinedCenterOfBoundBox', and will add detailed code in the near future.
- This is _totally_ experimental, and I haven't done exhaustive
tests
- 88 unit tests do pass though, and I added a new import test.
- 0.12 and 0.13 seem to structure stuff a bit differently,
probably due to changes in the FreeCAD lib wrappers.
- Not tested on windows (but should work) or 0.12. Need some
help there.