Commit Graph

879 Commits

Author SHA1 Message Date
b19b8ff541 Update shapes.py 2019-12-15 09:38:56 +01:00
23f2ba679f Update shapes.py 2019-12-15 09:26:59 +01:00
46c2375819 Update shapes.py 2019-12-15 09:12:06 +01:00
3b210fe294 Merge pull request #1 from bragostin/bragostin-assembledEdges
Update assembledEdges in shapes.py
2019-12-13 08:29:06 +01:00
883db3cdf2 Update shapes.py
BRepBuilderAPI_MakeWire::Add(const TopTools_ListOfShape & L) offers the option to accept a list of shapes directly as argument:
"Adds the edges of <L> to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. If some of them are not connected the Status give DisconnectedWire but the "Maker" is Done() and you can get the partial result. (ie connected to the first edgeof the list <L>)"
Following this I modified the assembledEdges in shapes.py to be able to provide a list of unordered edges to BRepBuilderAPI_MakeWire. This way, when the list of edges is generated by another function, there is not need to make them consecutive.
2019-12-13 08:22:59 +01:00
acf363d721 Merge pull request #234 from jmwright/master
Corrected an error in the Workplane.center docstring example.
2019-12-11 14:01:38 -05:00
2732acf6b8 Corrected an error in the Workplane.center docstring example. 2019-12-11 13:49:16 -05:00
f9d9ae0640 Merge pull request #228 from jmwright/master
Fixed Wedge Primtive
2019-12-05 15:18:03 -05:00
03c45c72b2 Simple docstring addition to note acceptance of vector or tuple. 2019-12-02 05:55:37 -05:00
6beb5d5914 Fixed makeWedge function and made wedge primitive handling consistent. 2019-12-01 15:26:17 -05:00
3d91153575 Merge branch 'master' of github.com:CadQuery/cadquery 2019-12-01 08:57:55 -05:00
d4b66a6c5f Merge pull request #227 from jmwright/master
Fixed line continuations in examples per #221
2019-12-01 11:28:34 +01:00
62d58f9a53 Merge branch 'master' of github.com:CadQuery/cadquery 2019-11-30 15:03:11 -05:00
653549dd90 Fixed line continuations in examples per #221 2019-11-30 14:57:29 -05:00
a68ba1db3b Merge pull request #225 from CadQuery/adam-urbanczyk-scaling
Fixing Matrix and Shape to correctly support anisotropic scaling
2019-11-30 17:46:10 +01:00
0d5f092476 Fixing Matrix and Shape to correctly support anisotropic scaling 2019-11-30 17:09:36 +01:00
3d40fd1f31 Merge pull request #215 from Renha/master
Documentation corrections, fixed #213
2019-11-21 07:21:20 -05:00
30d6d0b9b3 Documentation corrections, fixed #213 2019-11-21 14:15:45 +03:00
964b20750a Go back to old recipe 2.0RC1 2019-11-03 00:15:38 +01:00
f3a10cb1fe Conda recipe fix 2019-11-02 23:55:10 +01:00
c973c3b487 Add python 3.7 build to the azure pipeline 2019-11-02 22:44:16 +01:00
8521dfeceb Merge pull request #185 from CadQuery/adam-urbanczyk-py3.6+
Allow python versions newer than 3.6
2019-11-02 22:41:41 +01:00
835347b4b6 Use conda build 3.18 in the windows azure job 2019-11-02 14:28:41 +01:00
7a994ee064 Do not install lldb using conda 2019-11-01 22:40:09 +01:00
0e419239ec Get rid of old anaconda channels in travis conf 2019-11-01 22:30:09 +01:00
64bf3121e1 Add py3.7 to appveyor 2019-10-21 21:27:34 +02:00
d9dae69524 Test with py3.7 on travis 2019-10-21 21:23:28 +02:00
66d36b7474 Merge pull request #200 from CadQuery/adam-urbanczyk-spline-doc-fix
Spline example fix
2019-10-16 18:09:49 +02:00
0267833a38 Spline example fix 2019-10-15 19:46:07 +02:00
1d5a587617 Merge pull request #190 from CadQuery/adam-urbanczyk-doc-fix
Update polyline example
2019-09-19 22:16:30 +02:00
bb707347ea Merge pull request #186 from bweissinger/slot-feature
Add rounded slot feature
2019-09-17 06:12:10 +02:00
c378d496ba Rename slot() to slot2D() 2019-09-14 00:18:50 -05:00
8cb3893dab Update polyline example 2019-09-13 20:19:57 +02:00
b80ab618a1 slot(): Set angle default to zero 2019-09-09 00:44:50 -05:00
fd3a61972c Ensure all tests in testSlot() use decimal_places 2019-09-06 15:19:55 -05:00
faedc942d5 Add test cases for cutBlind() and cutThruAll() 2019-09-06 15:16:53 -05:00
fe01b0f580 remove cast of pnt to world coords 2019-09-06 15:16:20 -05:00
1ef22b7798 Use + operator for vector addition in slot() 2019-09-06 14:57:40 -05:00
c22cdd1c0b Add test for slot function. 2019-09-04 01:11:07 -05:00
48cd1a78f2 Add rounded slot function 2019-09-01 18:40:09 -05:00
8a41c8097e Allow python versions newer than 3.6 2019-09-01 17:15:06 +02:00
b0b9959917 Merge pull request #171 from Hatatister/feature_loft_checking
loft with a single wire crashes #161
2019-08-14 08:15:48 -04:00
04721c5b8a changed way of checking exception message in loft wire checking unit test to increase code coverage 2019-08-11 20:42:36 +02:00
c00a01b3c7 solid.loft: added checking for at least 2 wires to prevent segmentation fault. see issue #161. now a ValueError is raised 2019-08-08 23:26:24 +02:00
5c82cccdca Merge pull request #167 from mgreminger/fix-boundingbox-tol
Fixed bug where tolerance parameter of BoundingBox had no effect
2019-07-31 18:32:21 -04:00
bcf7141197 Fixed bug where telerance parameter of BoundingBox had of effect
The tolerance parameter of the BoundingBox method of shape had no effect. Fixed this by passing the tolerance to the _fromTopoDS call. Changed the tolerance default value from 0.1 to None so that the global TOL is used by default.  This allows the user to set the global TOL value as outlined in #74.  The CenterofBoundbox method incorrectly passed a shape to the BoundingBox method, which is the position for the tolerance paramter. This has been fixed.  The _fromTopoDS method hard coded the global variable TOL in it's call to BRepMesh_IncrementalMesh. This has been updated to use the user supplied tolerance if one has been provided. Added test coverage for the tolerance parameter of the BoundingBox method.
2019-07-29 10:20:55 -05:00
a17c217803 Merge pull request #163 from CadQuery/adam-urbanczyk-findSolid-fix
Fix findSolid if multiple solids present on the stack
2019-07-12 07:29:02 -04:00
fe4965a628 New findSolid implementation test 2019-07-12 08:20:39 +02:00
9503db34e0 Merge pull request #162 from westurner/patch-2
DOC: primer.rst: syntax, wording
2019-07-10 14:30:05 -04:00
d3ebdfd0a3 DOC: primer.rst: syntax, wording 2019-07-08 22:50:13 -04:00