25edd87baa
Solids on the stack are not modified retroactively anymore
2018-06-02 14:47:20 +02:00
7f3c55fdcb
Fixed some CQGI tests
2018-02-03 23:22:46 +01:00
6bb4898371
Better py2/py3 compatibility
2018-02-02 16:34:37 +01:00
1e05a45f9c
First attempt at python2 and python3 support in single codebase
...
4 tests failing on python3 (CQGI, AMF export)
2017-09-17 00:57:12 +02:00
5c78f36885
Relax bounding box related tests
2017-09-02 17:12:44 +02:00
89f421caa0
Removed testToFreeCAD, added testToOCC, added toOCC function to cq
2017-09-02 15:01:48 +02:00
4086d923f5
Fix testToSVG (search string was too detailed and therefore OCC version specific)
2017-09-02 14:50:53 +02:00
db65cef814
Fix testSTL
...
On branch cq1_pythonocc
zmodyfikowany: cadquery/occ_impl/shapes.py
Untracked files:
cq.testbench.task
no changes added to commit (use "git add" and/or "git commit -a")
2017-09-02 11:05:52 +02:00
c35472a745
Fix testCylinderPlugin
2017-09-01 23:57:16 +02:00
3442e77798
Fixed testFrontReference
2017-09-01 23:27:11 +02:00
09118c9d89
Reworked testSphereCombine
2017-08-31 15:02:14 +02:00
ea619f6409
Reworked testWorkplaneFromFace
2017-08-31 14:58:14 +02:00
587569e8dc
Fix wrong expected value in testBoxPointList
2017-08-27 00:07:53 +02:00
145ecb9769
Remove FreeCAD related code and add suitable OCC code
2017-05-14 12:52:12 +02:00
ff53dadd67
Stop using FreeCAD in TestCadObjects
2017-05-14 12:35:20 +02:00
c2ce8feb4c
Adding testcases for the new implementation of DirectionNthSelector
2017-04-18 18:38:34 +02:00
cde17b541e
Increase the coverage of selector grammar testing
2017-04-11 20:30:59 +02:00
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
e5e42050c7
remove unneeded comment in testGrammar
2016-07-10 19:15:51 +02:00
d06f3e6153
"Except" did not match properly
...
Making the testGrammer test case strict showed that "except" was not
matched properly. Fixed by using onOf i.s.o. | operator
2016-07-10 19:14:06 +02:00
a42cad1c3e
Change logical ops names, add tests, general code cleanup
...
Changed the op names to
and
or
not
exc(ept)
Added more test-cases
Cleanup up the Selectors code
Code should be ready for merging now
2016-07-10 18:51:45 +02:00
f5a91a6980
Added simple test cases for string selector with logical ops
...
Also fixed found bug (missing return statement)
NB: the grammar is not finalized yet
2016-07-07 20:43:30 +02:00
f6d532328f
Extend testNthDistance to test DirectionNthSelector using the new string syntax too
2016-06-29 21:03:30 +02:00
76a2207a6e
Added simple test case for the string selector grammar
2016-06-21 20:30:53 +02:00
9df0e39133
Updated docstring for DirectionNthSelector and extended the related test-case
2016-06-05 21:26:26 +02:00
6678d3f546
Implemented test-case for DirectionNthSelector
2016-06-05 16:54:29 +02:00
58683d0eb0
Testcase for symmetric extrusion
...
Added a test case for symmetric extrusion operation.
2016-05-22 21:39:54 +02:00
822af6c7f5
Finished sweep operation and added tests.
2016-04-26 20:11:12 -04:00
b22409d88c
added describe_parameter
2016-04-05 21:04:09 -04:00
65480d4bf1
added debug function to cqgi
2016-04-03 21:01:36 -04:00
7225d84905
1. Add a mirroring example into doc/example.rst; 2. Add a tolerance parameter into BoundingBox function, and default it as 0.1, otherwise, it's very slow when compile the docs with sphinx-build, don't know why; 3. Add a testBoundingBox function into TestCadQuery.py file...
2016-01-20 16:56:48 +08:00
142a5c88d8
workable version of cqgi version
2015-12-09 21:01:14 -05:00
190980d4a1
got first directive workign
2015-12-08 22:36:19 -05:00
4e2168cad6
initial working version of cqgi
2015-12-08 21:35:01 -05:00
c12e663638
beginnings of cqgi
2015-12-07 16:35:10 -05:00
146ecd589b
Removed incorrectly used hash function from Vector and commented out a few non-critical test lines that break with FreeCAD daily.
2015-10-23 17:31:06 -04:00
4cd0afc29e
Changed polyline to work with a list of edges instead of a wire.
2015-10-13 11:30:17 -04:00
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
d6ec0ea6bd
Added a test to ensure that finding the center of a compound works correctly.
2015-09-17 19:13:05 -04:00
ff72ac8318
add tests for workplane gen. from multiple faces
2015-09-17 22:41:42 +03:00
6551218d55
add test for multiple object at min/max selection
2015-09-17 07:46:46 +03:00
562e44c01d
fail to prevent creating random workplanes
2015-09-17 07:41:52 +03:00
36c75f2c55
added tests for arithmetic selectors
2015-09-16 21:34:03 +03:00
8e89d901a7
Added a few more test cases for CQ.py.
2015-08-17 08:29:25 -04:00
935f6e1da9
added test for clean box
2015-08-06 22:39:25 +03:00
84f00a64c5
removed clean=True from tests for consistency
2015-08-03 23:07:48 +03:00
fd1e3076f8
add test for 'clean' cutThruAll()
2015-08-03 23:06:21 +03:00
2d1bdcad7b
added clean argument for hole method
2015-08-02 17:36:35 +03:00
c0444cb0fa
updated tests after 'simplify' renamed as 'clean'
2015-08-02 15:09:46 +03:00