Commit Graph

8 Commits

Author SHA1 Message Date
86edb67106 Correct errors for the last commit, mainly for test function testEdgeWrapperMakeCircle and testFaceWrapperMakePlane. Now testEdgeWrapperMakeCircle passed, but there is still one problem prevent testFaceWrapperMakePlane from passing. 2016-11-28 23:54:23 +08:00
e2c866681a 1. Add 'testEdgeWrapperMakeCircle' and 'testFaceWrapperMakePlane' test functions in TestCadObjects.py file;
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.
2016-11-28 23:04:30 +08:00
d6ec0ea6bd Added a test to ensure that finding the center of a compound works correctly. 2015-09-17 19:13:05 -04:00
4b98b04465 Fixed import errors inside one of the tests. 2014-12-08 21:19:27 -05:00
087f0621a7 Initial attempt to fix import issues caused by verutil.py implementation. 2014-12-01 11:51:26 -05:00
c3290fca92 Updated to work with 0.13
- 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.
2013-04-27 23:49:41 -07:00
26cd0a443d the test cases pass now at least 2013-04-16 22:29:06 -04:00
e6c2547329 initial try at the layout 2013-04-14 18:39:47 -04:00