Commit Graph

845 Commits

Author SHA1 Message Date
6498ef9d31 Added readthedocs badge 2019-06-05 21:43:54 +02:00
5409170326 Merge pull request #140 from mgreminger/master
Increase HASH_CODE_MAX
2019-06-05 21:39:44 +02:00
287e60c220 Updated HASH_CODE_MAX comment
Updated comment to indicate that we're basing the max hash on a 32bit signed int.
2019-06-05 14:11:17 -05:00
9aae9866ab Update documentation link 2019-06-05 20:22:45 +02:00
6285fd9257 Merge pull request #99 from CadQuery/README-update
Update readme
2019-06-05 13:59:57 -04:00
b126e51b00 Another pass on README
* Changed some pictures
* Minor formatting and text changes
2019-06-05 19:34:14 +02:00
87c5ea9bd8 StringSyntaxSelector: make -X different from +X 2019-06-05 19:30:56 +02:00
3989643044 Increase HASH_CODE_MAX
Increase HASH_CODE_MAX to 2147483647 (C MAX_INT) to prevent hash collisions that result in occasional faces missing from face selector calls. Addresses issue #139.
2019-06-04 23:18:21 -05:00
86c521a82e Merge branch 'master' into feature_isinside 2019-06-04 15:00:39 -05:00
9aaf110c59 Merge pull request #132 from mgreminger/master
Added option to center workplane on projected origin.
2019-06-04 20:54:00 +02:00
112b7fe676 Cleaned up ProjectedOrigin code
Put all 'ProjectedOrigin' code together in workplane() method
2019-06-03 19:46:19 -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
d78a7876c6 isInside() cleanup
Cleaned up isInside() implmentation. Removed unecessary ternary operator and simplified Vector test for point parameter.
2019-06-03 11:29:54 -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
1d9a56edd4 Update cutThruAll to remove unused positive arugument
Removed positive argument and clarified doc string to indicuation that cut is in both directions normal to the workplane
2019-05-30 15:33:42 -05:00
37611308ff Delete settings.json 2019-05-27 14:55:00 -05:00
1d05eea6c0 projectToPlane returns self and added tests
The projectToPlane method of Vector returns self to allow for a fluent interface. There is now full test converge of projectToPlane method. Bug fixed in projectToPlane when plane is passed instead of base and normal.
2019-05-27 14:51:32 -05:00
6f6ee3f3be Initial draft of new readme. 2019-05-26 08:13:39 -04:00
cfd7c3295c Merge branch 'master' of github.com:CadQuery/cadquery into README-update 2019-05-25 07:47:47 -04:00
8baafc719b Moved point to plane projection code to geom.py
Implemented projectToPlane() method for Vector and moved point projection code out of cq.py. Still need test coverage when inputing Place object to projectToPlane()
2019-05-24 14:38:40 -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
10118e563a Merge pull request #128 from CadQuery/adam-urbanczyk-robust-make-face
Better makeFromWires and related changes
2019-05-20 21:55:22 +02:00
e71d054d3a Rework after review 2019-05-20 21:34:29 +02:00
4b433b3643 Imports cleanup 2019-05-20 21:27:28 +02:00
8be2c8f51d Merge pull request #129 from asukiaaa/patch-1
Apply 2 as version.
2019-05-19 12:52:29 +02:00
f833a26cef Add dev to version 2019-05-19 18:53:05 +09: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
bf1f1130ff Code cleanup 2019-05-19 09:51:44 +02:00
8dbed8fa3d refactored shape fixing, fixed makeShell and added makeSolid 2019-05-19 09:26:22 +02:00
b4336fe6ff Apply 2 as version. 2019-05-19 15:10:55 +09:00
768b33cef6 Added test for the new functionality 2019-05-17 23:02:22 +02:00
e15cd438b1 Simplify multisection sweep 2019-05-17 21:31:01 +02:00
9ca75834f9 Perform face fixes only if needed 2019-05-17 21:30:44 +02:00
bc66dacf99 Iniitial refactoring 2019-05-17 17:35:32 +02:00
54a0f4d438 Merge pull request #126 from CadQuery/adam-urbanczyk-ci-fix
Disable deploy on Appveyor
2019-05-08 08:21:48 +02:00
99d5e3edc7 Comment out all deploy-related lines 2019-05-08 07:09:06 +02:00
4defef2be2 Disable deploy on Appveyor 2019-05-08 06:58:55 +02:00
7fd4504a24 Merge pull request #121 from CadQuery/adam-urbanczyk-geom-lut-edge-face-fix
Fix face and edge geometry LUTs
2019-05-08 06:46:30 +02:00
0e6b8837a7 Do not return degenerated edges 2019-04-28 21:16:28 +02:00
44a5b6ec77 Restructure conda build call again 2019-04-24 22:49:21 +02:00
b9a732b69d Specify output folder at the end 2019-04-24 22:38:46 +02:00
5d4a7cfe98 Update channels in conda-build scripts 2019-04-24 21:43:47 +02:00
f6ebce8f77 Trigger CI 2019-04-24 18:47:04 +02:00
528c417ae6 Trigger CI 2019-04-24 14:02:17 +02:00
8038667187 Conda package spec update 2019-04-24 13:06:50 +02:00