Commit Graph

1549 Commits

Author SHA1 Message Date
bedd56ca79 Windows-specific handling of shell env variable 2021-07-09 14:10:27 -04:00
2d6c661a69 Still trying to fix conda init 2021-07-09 14:07:45 -04:00
7a937a2642 Trying to fix errors about conda init not being run 2021-07-09 13:41:26 -04:00
11f7ee224e Been missing conda on activate this whole time 2021-07-09 13:26:00 -04:00
79db63bcd3 Cleaned up yaml file and forced Windows image to use newer Miniconda 2021-07-09 13:25:01 -04:00
255aebe081 Simplification to only test using the latest stable version of Python from conda 2021-07-09 12:59:23 -04:00
e87cdc5eed Trying to get MacOS sed to work like GNU, and checking resulting environment file 2021-07-09 11:17:57 -04:00
ea697a22a8 Trying to get environment variable to work in Windows 2021-07-09 10:27:00 -04:00
243de43465 Trying to debug why the Windows substitution does not work 2021-07-09 10:22:55 -04:00
a8b8fffaed Trying to use cygwin to run sed command in Windows 2021-07-09 10:20:08 -04:00
760ee65ccd Back to the inefficient version of swapping the Python version after install 2021-07-09 10:01:23 -04:00
8bbc52b076 Trying to substitute the version number in the conda environment file 2021-07-09 09:49:05 -04:00
19ea4e4e9f Changes to rely on environment.yml file rather than fighting it 2021-07-09 09:18:55 -04:00
9f9326a9cd Removed unneeded CQ install and added on-the-fly mypy and black installs 2021-07-09 08:51:07 -04:00
9d9097120e Removed Travis CI yaml file 2021-07-07 08:50:17 -04:00
927945c953 Trying to install mypy via pip instead of conda 2021-07-07 07:03:05 -04:00
4b1d4f0249 Added install for codecov 2021-07-06 21:13:36 -04:00
a9e230828c Added install for docutils 2021-07-06 18:52:41 -04:00
574e3b198c Added path install 2021-07-06 17:44:26 -04:00
c84b14ac69 Install pytest Coverage plugin 2021-07-06 16:31:04 -04:00
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