Commit Graph

1629 Commits

Author SHA1 Message Date
bb8a821f4c Install pytest 2021-07-06 14:00:59 -04:00
ea97342196 Ignore missing nlopt imports 2021-07-06 12:21:01 -04:00
8287e8c0b6 Install OCP stubs for Windows too 2021-07-06 11:51:22 -04:00
f099fed9e4 Added conda install lines for black and mypy 2021-07-06 11:20:05 -04:00
de31b4889b Fixed env variable ref, added additional checks, Miniconda with Py 3.9 not available 2021-07-06 11:06:10 -04:00
0d7d66a6ec Figured out the the image and matrix sections cause dupes 2021-07-06 10:43:24 -04:00
29b3761474 Fixed mistake in conda install line 2021-07-06 10:12:48 -04:00
87dd00a57c Trying to switch from wget to curl 2021-07-06 10:05:01 -04:00
be8aadce53 Still learning how to handle multiple OSes in Appveyor 2021-07-06 09:54:41 -04:00
be26bf5bdb Fixed a trailing semicolon that was messing Windows up 2021-07-06 09:49:16 -04:00
eb80839b95 Added MacOS and Linux to Appveyor test matrix 2021-07-06 09:38:57 -04:00
6a440b63af Handle constraints from infinite faces (#797)
* Face.toPln method added

* solver: set xtol_abs

* Constraint: handle infinite faces

Infinite faces have their center at 1e99, which was causing overflows in
the solver and also was not what the user intended when creating the
Shape. They are now converted to the expected values.
2021-07-06 16:47:36 +09:30
AU
3cb72378b8 Assy solver fix (#806)
* Use nlopt in place of scipy.optimize 

* report the results of optimization

* Deps update and OCP 7.5 -> 7.5.1

* Rewrite cost and gradient

* Check solve results
2021-07-03 13:29:10 +09:30
f422dfef1f doc/importexport: fix heading underlines 2021-06-28 20:27:15 +09:30
267d22593f Bind events on enter 2021-06-27 12:37:59 +09:30
4c5816dd70 Fixed OCP Dependency bug (#790) (#792)
Having `ocp=7.5` was causing errors -- as can be seen in #790 -- because the latest OCP version seemed to be problematic with CADQuery. OCP `v7.5.1` is the latest OCP version supported right now.
2021-06-24 13:15:10 +02:00
e00ac83f98 Implement importBrep and vtkPolyData export (#735)
* Implement importBrep

* Implement rw to/from stream

* Implement toVtkPolyData

* Implemented VTP export

* Added normals calculation

* use VTK for rendering in jupyter

* Added orientation marker

* Assy rendering in notebooks

* Implement export to vtkjs

* Store the env in the cqgi result

* VTK-based cq directive

* Support show_object and assy

* assy vrml export via vtk

* Use vtk in the docs

* Add slot dxf file

* Add vtk.js to the static files

* Use single renderer

* Ignore cq_directive code coverage

* Ignore missing docutils stubs

* Implement select

* Disable interaction dynamically

* Mention VTP in the docs

* Add path to the test reqs
2021-06-22 17:36:50 +09:30
7b1a99ca8a Workplane.rect: test and document negative lengths (#774) 2021-06-01 18:36:57 +02:00
ea270062ce Update some examples (#775)
* Update some examples for workplane centerOption default ProjectedOrigin

* Typo in doc/examples.rst

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
2021-06-01 08:57:12 +02:00
05e42a75e1 Merge pull request #768 from CadQuery/face-speed
Faster makeFromWires
2021-05-16 06:10:56 -05:00
6f847e255f 2nd mypy fix 2021-05-15 20:07:07 +02:00
e6af0d589d mypy fixes 2021-05-15 19:36:51 +02:00
f408d96b3a Apply additional fixes for the outer wire 2021-05-15 19:02:35 +02:00
81cc34d258 Support inverse orientation of wires 2021-05-14 23:50:03 +02:00
25fa220545 Faster makeFromWires 2021-05-14 18:45:02 +02:00
7493e6129b Convert int text sizes to floats (#764)
Avoids a segfault when using integer text sizes. Also adds a test for
integer text size.
2021-05-13 20:57:30 +02:00
85663cb903 Added Docker section to readme and fixed two small doc errors 2021-05-08 16:01:04 +09:30
7f9cde3614 Switched back to the Zenodo badge image
There was a lack of communication from the Zenodo team, but [this issue](https://github.com/zenodo/zenodo/issues/2165) was closed and the problem seems to be fixed.
2021-05-04 10:13:38 -04:00
2b7f39b234 Set a temporary image location for the DOI badge
Temporary work-around for #743
2021-04-28 09:05:17 -04:00
d60440fd06 Merge pull request #749 from CadQuery/docs-update
Fixed DOI badge
2021-04-28 05:59:44 -05:00
b41924f624 Fixed DOI badge 2021-04-28 06:54:00 -04:00
ed7c8f6d12 Merge pull request #748 from CadQuery/docs-update
Fixed copy-paste error in docs
2021-04-28 05:48:53 -05:00
052c53a7a2 Fixed copy-paste error in docs 2021-04-28 06:22:46 -04:00
c6c1956429 Merge pull request #737 from RubenRubens/fix_boolean_docs
Improve docs of boolean operations
2021-04-21 06:23:38 -04:00
25c3009ddd Merge pull request #727 from andreubernadserra/master
Minor Comment on Documentation
2021-04-21 06:19:56 -04:00
e22b2e2599 Change version from 2.0 to 2 in docs 2021-04-21 07:30:02 +09:30
db998e44d5 Improve docs of boolean operations 2021-04-20 18:17:08 +02:00
0f249dfec8 Assembly toCompound (#726)
* Added Assembly.toCompound

* spelling

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>

* Add annotation + minor updates

* Better annotations for locate and move

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2021-04-19 19:50:31 +02:00
cf820d5bdf Merge pull request #733 from RubenRubens/delete_pypy
Remove not used file about Pypy
2021-04-19 09:12:28 -04:00
12fa5cf94a Merge pull request #734 from RubenRubens/rm_authors_file
Remove authors file
2021-04-18 15:35:04 -04:00
4370395e9a Remove AUTHORS.md file 2021-04-18 18:39:14 +02:00
3d8d7f4ffe Remove not used file about Pypy 2021-04-18 17:57:29 +02:00
ff490d9e28 Expected cutout. Gathered from "Final Result". 2021-04-16 10:38:39 +02:00
b9167e3c0b Merge pull request #723 from RubenRubens/tuple_on_location
raise TypeError when Location param is a tuple
2021-04-14 09:23:58 -04:00
d5cb4c6043 raise TypeError when Location param is a tuple 2021-04-13 20:06:46 +02:00
b0a8cb247b PointInPlane constraint (#712)
* Allow Plane init with no specific x dir and add Plane.toPln

* PointInPlane constraint
2021-04-13 17:12:14 +09:30
a71a93ea27 Update cqgi.rst with a helpful example (#711)
* Update cqgi.rst
2021-04-06 17:33:37 +09:30
39e60f6e48 Check if wires are coplanar 2021-04-03 13:54:31 +10:30
7546866159 Merge pull request #694 from CadQuery/splineApprox
Implement makeSplineApprox for edges and faces
2021-03-31 15:06:41 -04:00
7a259bed61 Typos 2021-03-31 19:21:47 +02:00