Commit Graph

1629 Commits

Author SHA1 Message Date
821886f08a Add Mac OS exception to Mixin1D.radius 2020-11-18 20:32:10 +10:30
255b464509 Added RadiusNthSelector 2020-11-18 19:39:20 +10:30
3136ede020 Added radius method to Mixin1D 2020-11-18 19:39:17 +10:30
5eebcd5b45 Use OCP 7.4 for now 2020-11-18 17:22:21 +10:30
28d6089527 Expose mode for sweep operations. (#496)
* Expose mode for sweep operations

* Additional sweep functionality

* Fix sweep in cq

* Expose the new sweep args in Workplane

* fixed aux spine handling

* sweep test with a fixed normal

* Test aux spine sweep

* Added more tests

* Reformat sweep docs
2020-11-10 16:51:11 +01:00
65f9608f54 Implement locations() for Wires (#475)
* Implement locations() for Wires

* Fix errors

* Test for locations on a wire

* Refactored Mixin1D

* Mypy fixes and more refactoring

* black fix

* Moved _geomAdaptor to concrete classes

* Add positionAt

* Added positions()

* positions() and positionAt() test

* Better tests

* Extended tangentAt and added docstrings

* Test for tangentAt

* Fixed defects

* Doc fix attempt

* Use autoclass on Mixins

* specify full name in sphinx
2020-10-30 22:31:51 +01:00
5b5d8e0572 More consistent handling of BoundaryBox tolerance (#490) 2020-10-24 15:31:29 +02:00
23b2a10399 Merge pull request #488 from jmwright/master
Added alternative conda installation instructions to readme
2020-10-22 13:16:38 -04:00
469ca41b6d Added alternative conda installation instructions to readme 2020-10-20 08:00:56 -04:00
ddca79b615 Merge pull request #485 from jmwright/master
Change install instructions in readme to focus on master conda install
2020-10-15 16:20:58 -04:00
8d4f42cada Change install instructions in readme to focus on master conda install 2020-10-15 15:22:47 -04:00
cac5cf92f1 Create a child workplane on a vertex (#480)
* add parent face detection to workplane()

* Update cq.py

* add nonetype check and tests

* fixed test formatting

* mypy fix attempt

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-10-15 21:10:49 +02:00
de2da03a97 Merge pull request #484 from jmwright/master
Added a Mention of the Discord Channel to the Readme
2020-10-14 15:03:35 -04:00
ffcb69efd4 Changed the wording of the Discord section. 2020-10-14 14:26:43 -04:00
29d2f28faa Added Discord link to readme 2020-10-14 14:24:45 -04:00
f4ca83315a Go back to the older format 2020-10-14 19:19:39 +02:00
d43ed8f665 Added test 2020-10-14 19:07:47 +02:00
36ce899dfe Simple shape vrml export 2020-10-14 19:01:01 +02:00
6f8aca8299 Added mesh method 2020-10-14 19:00:47 +02:00
5b5fa71620 Switch to XCAF format 2020-10-14 18:51:30 +02:00
3a50edd27d Merge pull request #453 from cactrot/fontPath
Font path
2020-10-14 11:42:33 -04:00
7f26c3b3c6 exclude tests from the installing packages (#478)
fixes https://github.com/CadQuery/cadquery/issues/181
2020-10-13 18:28:25 +02:00
c3e9ef5485 Fixed parametricCurve() to use correct stop point (#477) 2020-10-13 08:43:47 +02:00
a947d0b4be Formatting fix 2020-10-11 16:09:53 +02:00
cea5bf6c6c Rework makeText
Use name based on the path for registering
2020-10-11 14:40:48 +02:00
7fd45e00ce Remove note about CQ-editor py3.7 requirement (#474) 2020-10-10 15:54:59 +02:00
292a0d8d0a Merge pull request #440 from CadQuery/assembly
Assembly support
2020-10-01 06:48:06 -04:00
21f7f48161 Mention assemblies in the README 2020-10-01 08:52:03 +02:00
8f62fc54dd Review fixes 2020-10-01 08:33:03 +02:00
f6bf019277 Nth selector rounding (#461)
* Update shapes.py

Add the option to specify a path to the font.

* Revert "Update shapes.py"

* Update selectors.py

Change rounding calculation to produce 4 digits for self.TOLERANCE = 0.0001 rather than 10000.
2020-09-30 21:41:15 +02:00
ba7830d405 Do not touch the original parent 2020-09-30 18:31:48 +02:00
a170cb0df6 ftol --> gtol 2020-09-30 18:25:21 +02:00
43e8377eb3 Docs update 2020-09-30 18:18:40 +02:00
90091aa9db Merge pull request #462 from CadQuery/doc-update
Documentation fixes for #450 #459 #457 and part of #456
2020-09-29 15:24:05 -04:00
012b1d6cce Parameter handling 2020-09-29 18:24:21 +02:00
2661101d05 Made adjustments based on feedback from @adam-urbanczyk 2020-09-28 16:03:41 -04:00
f341625e7a Documentation fixes for #450 #459 #457 and part of #456 2020-09-28 12:10:06 -04:00
32f25f7164 rarray: bound spacings to greater than 0 (#454)
* rarray: bound spacings to greater than 0
This addresses Issue 451

* Fix a typo. (#452)

* Fix a typo.

* Pin black version in travis

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>

* rarray: bound spacings to greater than 0
This addresses Issue 451

* Added test for rarray error handling

Co-authored-by: Kevin Menard <kevin@nirvdrum.com>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-09-27 17:05:04 +02:00
c819dfca48 Fix dxf arc export for some partial circles (#455)
* Fix dxf arc export for some partial circles

* Fix dxf export formatting, add test

* Black related update

Co-authored-by: Scott Nagy <i@sna.gy>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-09-27 15:33:59 +02:00
2625e21a19 Tighter tolerances on the solve 2020-09-26 20:45:22 +02:00
90ce94e214 Changed the cost to use Angle nad added LSQ cost for experiments 2020-09-26 20:44:09 +02:00
e135215ce1 Update shapes.py
Inverted logic
2020-09-26 09:03:03 -04:00
080004a33e Update shapes.py
Code from PyOCC expected non-implemented function.
2020-09-26 08:59:55 -04:00
569f5b9938 Update shapes.py
Fix type mismatch.
2020-09-26 08:26:49 -04:00
a1bb80741c Update test_cadquery.py
Check for non-existent file instead of trying to use it and possibly segfaulting.
2020-09-26 07:26:38 -04:00
6b8d486860 Update shapes.py
Check for non-existent file instead of trying to use it and possibly segfaulting.
2020-09-26 07:26:34 -04:00
a24d6bf502 Relaxed test criteria 2020-09-25 18:43:05 +02:00
b6484959ed Better assy.solve() test 2020-09-25 08:57:24 +02:00
e3cb80cbcd Tighter ftol 2020-09-25 08:57:05 +02:00
f4150b62d3 Major rework of the solver
* numerical jacobian by hand taking into account the sparsity pattern
* better code structure
* scaling of the dir constraint
2020-09-24 22:27:47 +02:00