Commit Graph

620 Commits

Author SHA1 Message Date
27539f081b Matrix validation robuustness
+ tests
2019-01-04 00:29:48 +11:00
a92690d7da Merge pull request #68 from jmwright/master
Reworked the core examples to exclude contributed examples.
2019-01-01 15:47:07 -05:00
06d68f14fc Merge pull request #67 from CadQuery/adam-urbanczyk-importers-cleanup
Remove import STEP form URL
2018-12-30 12:38:51 +01:00
5d67451477 Added the lego example back into this core repo. 2018-12-29 21:03:08 -05:00
f1cf831701 Reworked the core examples to exclude contributed examples. 2018-12-29 18:44:08 -05:00
786c1a2c0d Remove import STEP form URL
This code is not compatible with py3 and not covered by any tests. Any thoughts?
2018-12-29 23:14:17 +01:00
5fb7fa8354 Merge pull request #65 from CadQuery/missing-functionality
Added missing functions to Workplane
2018-12-29 01:03:53 +01: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
7c3359689e Use sweep_multi for sweep with sweepAlongWires option 2018-12-25 20:44:39 +01:00
10be1be577 Additional refactoring of sweep_multi 2018-12-25 20:44:03 +01:00
2adf22cb65 Restored some changes on OCC branch 2018-12-25 20:12:30 +01:00
e24d83ab3a Refactored sweep methods 2018-12-25 20:10:11 +01:00
3bd51dc12e Fixed bounding box 2018-12-25 19:51:12 +01:00
4c797e7e1b Merge changes regarding sweep along path 2018-12-23 22:49:26 +01:00
a099caf25e Amended Vector implementation to make it compatibile with original CQ 2018-12-23 22:21:22 +01:00
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