Gaël Ecorchard
2ebae0461b
Use the xDir parameter in Plane.XY() and similar.
...
Add simple tests for named planes
Use isinstance instead of type in Vector because type caused the
problem that 'type(Vector) is FreeCAD.Base.Vector'.
2015-10-04 22:49:34 +02:00
Jeremy Mack Wright
d6ec0ea6bd
Added a test to ensure that finding the center of a compound works correctly.
2015-09-17 19:13:05 -04:00
Hasan Yavuz ÖZDERYA
ff72ac8318
add tests for workplane gen. from multiple faces
2015-09-17 22:41:42 +03:00
Hasan Yavuz ÖZDERYA
6551218d55
add test for multiple object at min/max selection
2015-09-17 07:46:46 +03:00
Hasan Yavuz ÖZDERYA
562e44c01d
fail to prevent creating random workplanes
2015-09-17 07:41:52 +03:00
Hasan Yavuz ÖZDERYA
36c75f2c55
added tests for arithmetic selectors
2015-09-16 21:34:03 +03:00
Jeremy Mack Wright
8e89d901a7
Added a few more test cases for CQ.py.
2015-08-17 08:29:25 -04:00
hyOzd
935f6e1da9
added test for clean box
2015-08-06 22:39:25 +03:00
hyOzd
84f00a64c5
removed clean=True
from tests for consistency
2015-08-03 23:07:48 +03:00
hyOzd
fd1e3076f8
add test for 'clean' cutThruAll()
2015-08-03 23:06:21 +03:00
hyOzd
2d1bdcad7b
added clean argument for hole
method
2015-08-02 17:36:35 +03:00
hyOzd
c0444cb0fa
updated tests after 'simplify' renamed as 'clean'
2015-08-02 15:09:46 +03:00
Hasan Yavuz ÖZDERYA
8c6b3890d3
added tests for simplify() method
2015-07-22 23:39:11 +03:00
hyOzd
fd40107041
added tests for chamfer api
2015-06-22 22:02:20 +03:00
Jeremy Wright
645e3cd6f7
Merge pull request #95 from hyOzd/add-boxselector
...
Added 3d box selector with an option to use the bounding box for selection.
2015-06-20 23:11:04 -04:00
Jeremy Wright
f8989928a8
Next phase of cleaning up CQ.py.
2015-06-16 17:03:36 -04:00
hyOzd
c97eb8aed6
test boundingbox option of the boxselector
2015-06-16 23:22:25 +03:00
hyOzd
b3352790d0
test multiple face selection with boxselector
2015-06-16 23:22:25 +03:00
hyOzd
67b1844798
test multiple edge selection with boxselector
2015-06-16 23:22:25 +03:00
hyOzd
7be4d5a90a
test multiple vertices selection with boxselector
2015-06-16 23:22:25 +03:00
hyOzd
c9a8d5d72d
added test for selecting faces with BoxSelector
2015-06-16 23:22:25 +03:00
hyOzd
f3fc050913
added tests for selecting edges with BoxSelector
2015-06-16 23:22:25 +03:00
hyOzd
d5b9b38c7f
test boxselector again by swapping box points
2015-06-16 23:22:24 +03:00
hyOzd
27948156b2
added tests for selecting vertices with BoxSelector
2015-06-16 23:22:24 +03:00
Jeremy Wright
7f0ef93868
Next small step in the CQ.py code cleanup.
2015-06-15 15:59:28 -04:00
Jeremy Wright
0c060925de
Merge pull request #94 from dcowden/cleanup
...
Cleanup
2015-06-15 12:26:56 -04:00
Jeremy Wright
5531d695fa
First round of clean up on CQ.py. Coverage still needs to be increased.
2015-06-15 12:24:38 -04:00
Hasan Yavuz ÖZDERYA
e39bf56cbe
fixed NearestToPointSelector failure with tuple as arguments
2015-06-14 23:09:58 +03:00
Jeremy Wright
7754cd5f5b
Fixed mirror when vertices weren't connected, which would cause the FreeCAD algorithm problems. Also just did some housekeeping and spelling corrections in the code.
2015-04-23 00:27:01 -04:00
Jeremy Wright
1961c22268
Got a mirror fix working for the T-slot use case, but it broke the OCC bottle example.
2015-04-13 16:47:18 -04:00
Jeremy Wright
2ce0041354
Fixed the Solid.makeSphere implementation and added CQ.sphere that mirrors the CQ.box high-level functionality.
2015-04-07 14:19:45 -04:00
Jeremy Wright
7dea259659
Added test of 2D drawing, including threePointArc and moveTo. This should be expanded later to include all 2D drawing constructs.
2015-02-23 08:30:35 -05:00
Jeremy Wright
9204b128e4
Added rotate function at the CQ object level and an associated test.
2014-12-19 07:40:34 -05:00
Jeremy Wright
19c84868a8
Removed an unneeded import and fixed tab-space mixing issues.
2014-12-11 20:42:41 -05:00
Jeremy Wright
4b98b04465
Fixed import errors inside one of the tests.
2014-12-08 21:19:27 -05:00
Jeremy Wright
40efd2599a
Removed unneeded version test for FreeCAD 0.13.
2014-12-01 21:53:31 -05:00
Jeremy Wright
087f0621a7
Initial attempt to fix import issues caused by verutil.py implementation.
2014-12-01 11:51:26 -05:00
Jeremy Wright
365652a68c
Added a cone test for the revolve feature, and bumped the version number to 0.1.7.
2014-10-20 22:47:15 -04:00
Jeremy Wright
3bf871b0ea
Added cylinder and donut tests for the revolve operation and started on the cone test.
2014-10-20 17:41:53 -04:00
Jeremy Wright
55b70c882c
Cleaned up a few of the assert statements and fixed the findall line in exporters.py based on a FutureWarning.
2014-08-19 08:10:46 -04:00
Jeremy Wright
952935f09d
Finished up the test for importers.py
...
.
2014-08-18 16:14:55 -04:00
Jeremy Wright
8994493b7b
importShape in importers.py was not returning anything.
2014-08-18 15:50:07 -04:00
Jeremy Wright
5ad9cd9b94
Removed placeholder raise statement.
2014-08-18 15:00:33 -04:00
Jeremy Wright
699636d699
Fixed copyright dates, added the STEP file importer, and added the supporting tests.
2014-08-18 14:45:02 -04:00
Derek Anderson
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
Dave Cowden
5c763c8f9e
make pip installer
2013-04-23 21:31:56 -04:00
Dave Cowden
59d2af7a6c
added export test cases
2013-04-21 17:45:29 -04:00
Dave Cowden
1848b1226a
added test cases
2013-04-20 20:33:35 -04:00
Dave Cowden
26cd0a443d
the test cases pass now at least
2013-04-16 22:29:06 -04:00
Dave Cowden
e6c2547329
initial try at the layout
2013-04-14 18:39:47 -04:00