Commit Graph

601 Commits

Author SHA1 Message Date
e2e045df42 Merged-in missing tests from the original CQ version 2018-12-23 22:20:02 +01:00
1866d51330 Merged changes in close() 2018-12-23 22:18:47 +01:00
39bf4ed2bd Added missing functions to Workplane 2018-12-23 18:09:25 +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
2e0e77e80c Merge pull request #14 from justbuchanan/stl-export-precision
Pass exportShape()'s 'tolerance' param to exportStl()
2018-12-14 21:19:17 +01:00
b03e387b10 Merge pull request #1 from justbuchanan/vector-init
minor changes to Vector class constructor
2018-12-13 22:03:21 +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
5903e29d10 geom.py: Geom_ -> gp_ 2018-12-11 18:29:20 -08:00
b9685f4b6a Merge pull request #5 from justbuchanan/invalid-import-exception
raise exception if invalid import type is specified
2018-12-11 19:30:07 +01: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
959f7a5a3b import all shapes from a STEP file, not just the first one 2018-11-29 21:51:25 -08:00
94bed8f3eb Pass exportShape()'s 'tolerance' param to exportStl() 2018-11-25 16:03:51 -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
d07d399fe7 Merge pull request #11 from CadQuery/adam-urbanczyk-patch-1
Add codecov to appveyor
2018-11-25 16:02:23 +01:00
6416d363c0 Add codecov to appveyor 2018-11-24 22:43:11 +01:00
5e0458ab3e Merge pull request #10 from CadQuery/adam-urbanczyk-patch-2
Add codecov badge
2018-11-23 22:47:30 +01:00
62cda6dde0 Install codecov in travis and generate coverage 2018-11-23 22:20:00 +01:00
7a5b65b450 Add codecov badge 2018-11-22 18:28:14 +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
7ac64a7280 Merge pull request #3 from CadQuery/adam-urbanczyk-patch-1
Update CI badges
2018-11-21 21:15:56 +01:00
6c69c1411e Merge pull request #2 from justbuchanan/vector-equals
fix Vector.__eq__()
2018-11-21 21:14:53 +01:00
a49878e5c9 use !r format 2018-11-20 21:07:26 -08:00
8fb1e7ad2d check status code from STEPControl_Reader.ReadFile()
Otherwise subsequent calls may cause a segfault. See #4
2018-11-19 00:08:24 -08:00
d4cad3874a raise exception if invalid import type is specified 2018-11-18 21:17:47 -08:00
a94cbca113 add test case that loads an invalid STEP file 2018-11-18 21:04:11 -08:00
d387241bce minor edit 2018-11-18 15:40:43 -08:00
084db38d56 Use gp_Vec.IsEqual() and add a test for Vector.__eq__() 2018-11-18 13:02:21 -08:00
737ceb1c97 Update CI badges 2018-11-18 21:55:46 +01:00
21388385fa fix Vector.__eq__() 2018-11-18 00:07:39 -08:00
ccf10b137c pass tuple of types to isinstance() 2018-11-17 22:23:07 -08:00
8babbc8d15 minor changes to Vector class constructor 2018-11-17 22:08:32 -08:00
49e02bb214 Added lefthand option for makeHelix 2018-10-24 22:23:34 +02:00
5bebee21f3 Merge pull request #6 from adam-urbanczyk/CapableRobot-cq1_pythonocc
Initial support for cqparts in cadquery-occ
2018-10-22 06:37:11 +02:00
1e4aca312a Merge branch 'cq1_pythonocc' into CapableRobot-cq1_pythonocc 2018-10-20 22:47:29 +02:00
7636351917 Revert changes to README 2018-10-20 22:38:43 +02:00
fa85947f92 Fixed the transposed list function and did more cleaning 2018-10-20 22:26:46 +02:00
5e13b64534 Get rid of numpy 2018-10-19 23:40:58 +02:00
de7828c322 Merge pull request #4 from justbuchanan/shape-volume
add Volume method to Shape
2018-10-12 22:32:01 +02:00
b3c1c424c8 Merge pull request #3 from justbuchanan/matrix-invert
change Invert() -> Inverted() in Matrix.inverse()
2018-10-12 21:34:39 +02:00
43d62277af add Volume method to Shape 2018-10-11 22:04:14 -07:00
96c1599c67 change Invert() -> Inverted() in Matrix.inverse()
The first changes the matrix in place, while the second creates a new matrix
2018-10-11 20:18:20 -07:00
a593672a06 Pull from upstream 2018-10-03 14:17:20 -04:00
a0e1b0ac01 Update README 2018-08-28 21:59:25 +02:00
180e50c05d Fix deploy script 0.1.5 2018-08-28 21:39:18 +02:00
c8c65f1d5f Update pyparsing version 2018-08-28 21:36:46 +02:00
de14910340 Explicit conda build output folder on windows 2018-08-27 22:58:34 +02:00