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
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
fe4965a628
New findSolid implementation test
2019-07-12 08:20:39 +02:00
98db1e7d21
Merge pull request #156 from CadQuery/adam-urbanczyk-polyline
...
Change default polyline and spline behavior
2019-06-25 21:44:33 +02:00
d7fe2788ff
Added tests for includeCurrent
2019-06-25 07:08:54 +02:00
ba1061df7d
Update to include points on face
...
Now correctly returns True for points on boundary surface of solid. Updated tests to verify this. Remove check that isInside() is run on solid since it is now part of Mixin3D which implies that self is a solid. Improved doc string.
2019-06-24 13:56:13 -05:00
9b568aed84
Incorporated review changes
...
Moved method to Mixin3D class as a regular method. Removed fluent interface. Updated tests accordingly.
2019-06-24 10:43:04 -05:00
4fd04f37a1
Merge remote-tracking branch 'upstream/master' into feature_isinside
2019-06-24 10:14:22 -05:00
b77f59167b
Change default polyline and spline behavior
2019-06-20 19:40:34 +02:00
805f06c985
Merge pull request #143 from CadQuery/adam-urbanczyk-csg-combine-fix
...
Remove the combine arg for bool ops and get rid of side-effects
2019-06-10 22:03:29 +02:00
a4cb82d148
Use a different font for testing
...
This is a dummy PR to investigate build issues on azure
2019-06-10 20:35:23 +02:00
38288b8952
Removed side effects in loft and split
2019-06-09 16:41:27 +02:00
e4c84c99e0
Remove the combine arg for bool ops and get rid of side-effects
2019-06-08 17:21:23 +02:00
86c521a82e
Merge branch 'master' into feature_isinside
2019-06-04 15:00:39 -05:00
5b03a289de
Default origin for ProjectedOrigin is local origin
...
Origin now defaults to local origin if not provided. Origin can be passed as tuple or Vector. Tests have been updated accordingly
2019-06-03 18:20:25 -05:00
e9b9e90665
Fixed isInside() test name for solid isInside method
...
Accidentally overwrote existing testIsInside for bounding box isInside method. Renamed to isInsideSolid to fix this issue.
2019-06-03 11:36:57 -05:00
5487832722
Implemented isInside() method
...
Implemented isInside method for Solid and Compound shapes by exposing BRepClass3d_SolidClassifier functionality for determining whether or not an arbitrary point is inside or outside of a solid or compound. Added isInside method to CQ class as well. Added tests.
2019-06-03 10:37:03 -05:00
0179b674e0
ProjectedOrigin with origin point option
...
Removed ProjectedGlobalOrigin option for centerOption for the workplane cunstructor. Added origin keyword parameter that defaults to (0,0,0).
2019-06-02 16:16:27 -05:00
ae65dc3579
Differentiated projected plane origin and global origin for creating workplanes
...
Added ProjectedGlobalOrigin as centerOption for worplane constructor to differentiate between projecting the global origin and the current plane origin when creating new workplanes. Also updated projectToPlane method of Vector to only accept plane objects and it no longer does in inplace modification. Updated test converage for ProjectedOrigin and ProjectedGlobalOrigin options.
2019-06-01 18:54:56 -05:00
04bb8ff470
Added option to center workplane of projected origin.
...
Add 'ProjectedOrigin' option to centerOptions parameter of workplane method. Added test converge for all of the centerOption paramter choices.
2019-05-22 15:57:30 -05:00
e71d054d3a
Rework after review
2019-05-20 21:34:29 +02:00
e39f4b82ee
Added tests for makeShell and makeSolid
2019-05-19 11:31:06 +02:00
d6888d911d
Implemented text alignment
2019-05-19 11:12:53 +02:00
0237aa5c0c
Changed cq.sweep interface
2019-05-19 10:44:03 +02:00
768b33cef6
Added test for the new functionality
2019-05-17 23:02:22 +02:00
0e6b8837a7
Do not return degenerated edges
2019-04-28 21:16:28 +02:00
0764e2b65e
Extended cutThruAll coverage
2019-03-05 21:34:54 +01:00
449ce66d64
Additonal tests for sweep
2019-02-26 18:39:41 +01:00
89a3c2835f
Extend sweep test coverage
2019-02-26 17:04:48 +01:00
e0d84c40b0
Added tests for transition modes
2019-02-26 16:37:08 +01:00
bfbaa08233
Expose the transition argument in the CQ sweep API
2019-02-26 12:20:27 +01:00
31665947c3
parametricCurve tests
2019-02-24 20:20:32 +01:00
26a74c69bb
Test standalone text generation.
2019-02-22 07:01:43 +01:00
4a9bd81b89
Added number of top faces check in the text test case
2019-02-22 06:56:23 +01:00
e474c0ef6f
Added tests of the text feature
2019-02-21 21:17:54 +01:00
cfaa60338b
Merge branch 'master' into adam-urbanczyk-OCC-version-update
2019-02-13 20:59:28 +01:00
1c92a456b3
Typo fix
2019-02-09 23:58:04 +01:00
9e7ef243ca
Better testing of the new spline functionality
2019-02-09 23:31:51 +01:00
60e09f6b92
Add tests for new spline functionality
2019-02-08 23:11:16 +01:00
c292a9f2db
Implemented tapered cutBlind
2019-02-07 21:03:20 +01:00
ced285ac0e
Expose tapered extrude to the users
2019-02-06 21:08:48 +01:00
34a6d4bf05
Merge branch 'master' into adam-urbanczyk-OCC-version-update
2019-01-12 14:39:47 +01:00
b59e277c83
Typo fix
2018-12-27 21:08:30 +01:00
56ad889f57
Increase coverage
2018-12-26 00:07:15 +01:00
4c4ec5eb98
Fixed failing tests
2018-12-25 23:39:41 +01:00
bcee21289f
Update tests
2018-12-25 23:30:53 +01:00
e2e045df42
Merged-in missing tests from the original CQ version
2018-12-23 22:20:02 +01:00
42f7b69149
Use the new OCC submodule structure
2018-12-08 22:50:42 +01:00
a284b1531e
Trying to fix tests on windows
2018-07-15 14:51:11 +02:00
25edd87baa
Solids on the stack are not modified retroactively anymore
2018-06-02 14:47:20 +02:00