Commit Graph

1343 Commits

Author SHA1 Message Date
ccc1983c86 Added empty solve test 2021-01-19 08:12:50 +01:00
033456ec53 Rework to raise an error 2021-01-19 08:10:05 +01:00
311f7a8fe4 fix unconstrained assembly.solve() 2021-01-18 15:41:26 +00:00
4c77c87eac Merge pull request #584 from RubenRubens/fix-example3
remove unused variable
2021-01-16 11:24:18 -05:00
1afae0a10e remove unused variable 2021-01-16 16:20:49 +01:00
3098c90080 Indicate additional breaking changes + docstring fixes (#573)
* Additional breaking changes

* Update Wire.combine docstring

* Added relevant PR #

* Removed FreeCAD refernces in the docstrings
2021-01-15 18:27:13 +01:00
75a4ad3fa7 Change readthedocs logo (#581)
* change readthedocs logo

* remove old logo
2021-01-14 17:35:31 +01:00
c381e49240 Merge pull request #574 from RubenRubens/docs
Fix split docs
2021-01-12 20:44:57 -05:00
51373fbc35 Fix split docs 2021-01-12 18:49:36 +01:00
ccf56e6455 Merge pull request #571 from RubenRubens/docs
Change CQContext docs indentation
2021-01-12 05:29:51 -05:00
b78fa2c145 Change CQContext docs indentation 2021-01-12 10:36:08 +01:00
f4b5e8210b Merge pull request #549 from marcus7070/NthSelector
Refactor selectors and add CenterNthSelector
2021-01-05 16:26:25 -05:00
2152068699 .workplane() docstring update (#563)
* .workplane docstring update

* Remove confusing line
2021-01-05 21:54:41 +01:00
1dc170ac00 doc corrections 2021-01-06 05:46:18 +10:30
bb3027742e Updated string selector docs
Warning changed to reflect the new >> string selector.

Changed note about some types of filters not applying to edges, since
now every selector works with edges.
2021-01-05 09:54:25 +10:30
7650436a48 Add omitted line functions to autosummary (#561) 2021-01-04 09:02:42 +01:00
428354c1ab More tests for the type selector 2021-01-04 08:48:11 +01:00
48d1ebbb5d Allow all supported geoms in the type selectors 2021-01-04 08:47:02 +01:00
bd5487353f Mention >> selector in the docs 2021-01-04 08:29:36 +01:00
a74536008d More tests for >> 2021-01-03 20:27:24 +01:00
b0a4dd0f4a Allow >> wihtout index 2021-01-03 20:24:31 +01:00
440e84dcb1 Merge branch 'master' into NthSelector 2021-01-03 15:48:02 +01:00
b5fb287a35 Tests for >> 2021-01-03 15:42:52 +01:00
2ca0e398b4 Fix broken CenterNthSelector tests 2021-01-03 15:26:35 +01:00
9ca11fc3db String syntax for the CenterNthSelector
+ refactored CenterNthSelector to match DirectionNthSelector
2021-01-03 15:16:28 +01:00
a3ebdb961d Merge pull request #557 from jmwright/master
Updated changelog and version numbers
2020-12-30 05:47:23 -05:00
84acb704e0 Merge pull request #555 from just-georgeb/parametricCurveFix
Expose makeWire to parametricCurve
2020-12-29 18:16:05 -05:00
be8551097e Updated changelog and version numbers 2020-12-29 10:53:14 -05:00
337b6129c9 Assy tutorial centerOption fix (#556) 2020-12-28 20:45:28 +01:00
e6feeb9916 Expose makeWire to parametricCurve 2020-12-27 22:20:18 +00:00
e19a05d023 ParallelDirSelector now filters for geomType() == "PLANE"
In certain circumstances this will be breaking, most commonly when using
DirectionNthSelector and there was previously a non-planar face in the
list. In this case eg. ">X[2]" will have to become ">X[1]".
2020-12-25 14:30:02 +10:30
3fa9753d0a Merge pull request #550 from jmwright/master
Added installation video links to readme
2020-12-21 12:11:27 -05:00
d87abb7951 Changed wording on video links in readme 2020-12-21 08:23:57 -05:00
54987cb0f2 Added installation video links to readme 2020-12-21 08:22:25 -05:00
88714975ff More tests for selectors 2020-12-19 15:41:04 +10:30
2d3fc607e6 Code formatting 2020-12-19 13:40:45 +10:30
5b90385539 Mypy fixes 2020-12-18 20:25:00 +01:00
adadea3780 Update README.md (#525)
In the current manual there is no clear explanation on how to quickly get started to play around with CadQuery through the CQ-editor (binaries). 

Proposed change: 
Under "Getting started" start out with the thing most people running into this project for the first time will probably want to try first: just fiddle around with CQ-editor. In the CQ-editor "installation" section I'll propose a change to add binary installation instructions (which is much easier/quicker to get started with than "the Conda way").
2.1RC1
2020-12-18 08:43:31 +01:00
82a043a0be Assembly hierarchy - 2nd take (#545)
* Reworked nested assy querying

* Support subclassing

* Added docstring
2020-12-18 08:40:24 +01:00
14e5838b9f Added new selector classes to docs 2020-12-18 15:38:22 +10:30
4486381145 Added CSS for line wrapping in tables 2020-12-18 15:17:39 +10:30
a242473be9 Updated string selector doc page
Correct title underlining means the sidebar no longer shows "Combining
Selectors" as a top level item, instead it's a sub item under "String
Selectors Reference". Updated some other parts and expanded some
explanations. Resolves #531.
2020-12-18 15:14:20 +10:30
344651d1b3 Added CenterNthSelector and tests
Resolves #530.
2020-12-18 15:14:08 +10:30
ad078c70f3 Code formatting 2020-12-18 14:46:00 +10:30
6d2f3ba7b9 Refactored selectors
Added NthSelector abstract class and refactored RadiusNthSelector,
DirectionMinMaxSelector and DirectionNthSelector. Closes #517.
2020-12-18 14:46:00 +10:30
f3751c25b2 additional checks in testParallelPlaneFaceFilter 2020-12-18 14:46:00 +10:30
a576f1d404 Fix github-linguist statistics (#547)
* Added .gitattributes

Tell git that the test/testdata/ files and Jupyter Notebooks are binary
files, ie. do not display diffs and do not touch line endings in those
files.

* Moved 'CQ examples.ipynb' to examples directory

Now github-linguist will classify it as documentation, and the massive
line count in that file will stop skewing the language statistics for
CadQuery on Github.
2020-12-15 18:40:18 +01:00
6a6e39f7a7 Merge pull request #541 from marcus7070/selector-tests
Expanded selector tests
2020-12-13 20:23:31 -05:00
ac585b4ff1 Add glue option to combine() (#535)
* Update cq.py

Add glue option to combine()

* Update test_cadquery.py

Add test of glue=True to combine()

* Update test_cadquery.py

update testcombine()

* Update cq.py

Reformat combine()

* Reformat Black

* Update test_cadquery.py

Added tol=None to testCombine()

* Update test_cadquery.py

Correct testCombine()

* Update test_cadquery.py

* Update test_cadquery.py

* Update test_cadquery.py

Black formatting

* Update test_cadquery.py
2020-12-11 08:56:06 +01:00
de2cef9580 Expanded selector tests 2020-12-11 10:28:49 +10:30