Commit Graph

115 Commits

Author SHA1 Message Date
60e09f6b92 Add tests for new spline functionality 2019-02-08 23:11:16 +01:00
9b029f54ba Merge pull request #71 from CadQuery/tapered-extrude
Initial implementation of tapered extrusion
2019-02-08 19:28:47 +01:00
c292a9f2db Implemented tapered cutBlind 2019-02-07 21:03:20 +01:00
ced285ac0e Expose tapered extrude to the users 2019-02-06 21:08:48 +01:00
b37d85615d Merge pull request #73 from fragmuffin/feature/matrix-err-messages
Matrix validation robustness
2019-01-05 17:02:58 -05:00
06ea0df15c added TestJupyter 2019-01-05 13:56:58 +11:00
27539f081b Matrix validation robuustness
+ tests
2019-01-04 00:29:48 +11:00
8786d93bcb Plane equality
+ tests
2019-01-03 23:37:58 +11:00
b59e277c83 Typo fix 2018-12-27 21:08:30 +01:00
9583160ad1 Refectored Vector and added more tests 2018-12-26 00:19:34 +01:00
56ad889f57 Increase coverage 2018-12-26 00:07:15 +01:00
4c4ec5eb98 Fixed failing tests 2018-12-25 23:39:41 +01:00
bcee21289f Update tests 2018-12-25 23:30:53 +01:00
e2e045df42 Merged-in missing tests from the original CQ version 2018-12-23 22:20:02 +01:00
a04dfe0afd Merge pull request #16 from justbuchanan/matrix-init-and-access
implement Matrix.__getitem__() and Matrix(list) constructor
2018-12-20 11:08:19 +01:00
e387d883a6 Merge pull request #15 from justbuchanan/import-all-shapes
import all shapes from a STEP file, not just the first one
2018-12-20 09:35:41 +01:00
f422a2cda4 Use nested lists instead of flat ones for Matrix initialization
Input looks like:
[[a, b],
 [c, d]]

instead of [a, b, c, d].
2018-12-12 00:24:05 -08:00
10ff164a8c Merge pull request #6 from justbuchanan/vector-operators
implement Vector operators __add__, __sub__, __mul__
2018-12-05 22:15:00 +01:00
f8d38caa90 implement Matrix.__getitem__() and Matrix(list) constructor 2018-11-30 18:38:43 -08:00
60e107a6a9 add test case for multi-shape STEP import 2018-11-30 18:08:03 -08:00
e8f531b51b Merge pull request #4 from justbuchanan/step-segfault
Add test case that loads an invalid STEP file
2018-11-25 19:45:45 +01:00
66ce2d9d7d implement Vector __abs__ and __neg__ operators 2018-11-21 19:05:56 -08:00
3c3837fef3 implement Vector operators __add__, __sub__, __mul__, __truediv__ 2018-11-21 17:26:59 -08:00
a94cbca113 add test case that loads an invalid STEP file 2018-11-18 21:04:11 -08:00
084db38d56 Use gp_Vec.IsEqual() and add a test for Vector.__eq__() 2018-11-18 13:02:21 -08:00
347da33673 Fixing importers for CI on windows 2018-07-15 15:04:06 +02:00
a284b1531e Trying to fix tests on windows 2018-07-15 14:51:11 +02:00
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