Commit Graph

1629 Commits

Author SHA1 Message Date
4c45eb20e3 Merge pull request #837 from luzpaz/typos
Typo fixes
2021-08-07 16:19:43 -07:00
AU
9b657093c3 Move to OCP 7.5.2 (#818) 2021-08-04 18:00:15 +02:00
f8179394b9 doc/primer.rst: introspective example additional note 2021-08-03 11:46:36 +09:30
a7f62f2faa revert commit per feedback 2021-07-30 20:01:59 -04:00
9e481b41a1 Typo fixes
Found via `codespell -q 3 -S *.js -L ba`
2021-07-30 13:48:22 -04:00
AGD
e87279d493 Merge branch 'CadQuery:master' into master 2021-07-29 14:38:09 +08:00
7afbb37f6e Mixin3D.shell: allow faceList=None 2021-07-29 14:34:23 +09:30
47519f6e08 Mixin3D.shell: removed deprecated OCCT method
Will close #649
2021-07-29 14:34:23 +09:30
AGD
2fbb68f4c3 Added '*' operator support for cq.Vector where cq.Vector is the right operand 2021-07-26 10:02:09 +08:00
AGD
1688a82b6b Added unit test for cq.Vector.projectToLine() 2021-07-25 16:14:02 +08:00
AGD
e81228db67 Added cq.Vector.projectToLine() for projecting a Vector to a line represented by another Vector 2021-07-25 16:13:17 +08:00
8fccc0c864 doc/primer: added introspective example (#821) 2021-07-23 14:43:24 +09:30
8dc1a5c126 text() docstring update (#813)
* docstring update text()

    * Remove following line from docstring (appears to be copy/paste error from extrude())

       extrude always *adds* material to a part.

    * Swap order of :param distance: and :param fontsize: to match argument order

    * Mention fontsize is in model units (fix #463)

    * distance: mention distance is for both extrude/cut

    * Update kind default in docstring as "regular" not "Normal"

    * Add missing fontPath arg description

    * Add examples of usage

      - Using an installed system font

      - Using a font at provided path (when font not installed on system)

        I tested with the free fonts from http://www.gust.org.pl/projects/e-foundry/tex-gyre

      - Cut text into solid

    * Change docstring to fix autodoc-typehints issue where the Parameters section is duplicated (see screenshot)

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

* Update cadquery/cq.py

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>
2021-07-19 17:52:02 +02:00
ab876acc84 VTK.js camera default position (#822)
* cq_directive: VTK.js camera default position

Co-authored-by: AU <adam-urbanczyk@users.noreply.github.com>
2021-07-16 08:38:02 +09:30
b649e52540 Merge pull request #824 from jmwright/master
Badge Fix in Readme
2021-07-15 06:16:03 -04:00
611252ec32 Removed Travis badge from readme and fixed AppVeyor badge 2021-07-14 07:01:22 -04:00
4e97924bed Merge branch 'master' of github.com:CadQuery/cadquery 2021-07-14 06:55:08 -04:00
5434d45929 Added MacOS and Linux to Appveyor test matrix (#816)
* Added MacOS and Linux to Appveyor test matrix

* Fixed a trailing semicolon that was messing Windows up

* Still learning how to handle multiple OSes in Appveyor

* Trying to switch from wget to curl

* Fixed mistake in conda install line

* Figured out the the image and matrix sections cause dupes

* Fixed env variable ref, added additional checks, Miniconda with Py 3.9 not available

* Added conda install lines for black and mypy

* Install OCP stubs for Windows too

* Ignore missing nlopt imports

* Install pytest

* Install pytest Coverage plugin

* Added path install

* Added install for docutils

* Added install for codecov

* Trying to install mypy via pip instead of conda

* Removed Travis CI yaml file

* Removed unneeded CQ install and added on-the-fly mypy and black installs

* Changes to rely on environment.yml file rather than fighting it

* Trying to substitute the version number in the conda environment file

* Back to the inefficient version of swapping the Python version after install

* Trying to use cygwin to run sed command in Windows

* Trying to debug why the Windows substitution does not work

* Trying to get environment variable to work in Windows

* Trying to get MacOS sed to work like GNU, and checking resulting environment file

* Simplification to only test using the latest stable version of Python from conda

* Cleaned up yaml file and forced Windows image to use newer Miniconda

* Been missing conda on activate this whole time

* Trying to fix errors about conda init not being run

* Still trying to fix conda init

* Windows-specific handling of shell env variable

* Trying different variations for passing the shell to init

* Trying to use bash specifically for Linux and MacOS

* Trying to simulate a shell restart to pick up conda changes

* Trying to work around conda activate altogether

* Use separate activate lines for *nix and Windows

* Moved activate statements

* Still fighting conda differences between OSes

* Still working on conda init to work on *nix

* Cannot get conda activate to work on *nix

* Updated activate line for *nix

* New conda activate line

* Hopefully the last cleanup
2021-07-11 14:57:14 +02:00
9a71f18c72 Hopefully the last cleanup 2021-07-09 20:56:18 -04:00
9099507cf4 New conda activate line 2021-07-09 20:19:16 -04:00
23226e8324 Updated activate line for *nix 2021-07-09 19:46:14 -04:00
38316d322d Cannot get conda activate to work on *nix 2021-07-09 19:25:29 -04:00
db900c8f91 Still working on conda init to work on *nix 2021-07-09 19:10:49 -04:00
2d4cdad169 Still fighting conda differences between OSes 2021-07-09 17:34:50 -04:00
6fb9de3aa5 Moved activate statements 2021-07-09 16:44:03 -04:00
934dc2d61e Use separate activate lines for *nix and Windows 2021-07-09 16:19:31 -04:00
8d97932ecc Trying to work around conda activate altogether 2021-07-09 15:54:03 -04:00
254a77ce5a Trying to simulate a shell restart to pick up conda changes 2021-07-09 15:06:15 -04:00
0f67e08016 Trying to use bash specifically for Linux and MacOS 2021-07-09 14:39:41 -04:00
e14cb20e78 Trying different variations for passing the shell to init 2021-07-09 14:27:06 -04:00
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