Commit Graph

301 Commits

Author SHA1 Message Date
51a8d35645 Small fixes for importStepFromURL(url) function... 2015-12-01 08:50:33 +08:00
e0832ec3eb Delete IsURL(url) function... 2015-11-30 23:17:03 +00:00
10209482b7 Add a new function importStepFromURL(url) to import STEP file from the web... 2015-11-30 23:00:21 +00:00
f7fcf9bd58 Add URL file import into importStep function, but FreeCAD has a bug for urllib.open() function......, not work properly.... 2015-11-27 17:08:13 +08:00
f7738dd857 1. Add CenterOfBoundBox() and CombinedCenterOfBoundBox() functions into Shape class; 2. Add another parameter centerOption into CQ.workplane([offset, invert]), and default the parameter to CenterOfMass which is the current behavior. 2015-11-21 15:00:55 +00:00
146ecd589b Removed incorrectly used hash function from Vector and commented out a few non-critical test lines that break with FreeCAD daily. 2015-10-23 17:31:06 -04:00
b0f5264fcd Update changes.md 2015-10-14 07:56:39 -04:00
76b6ce10a5 Forgot to push the changes made from comments on PR #121. 2015-10-14 07:54:40 -04:00
5bda0e8fbc Merge pull request #121 from dcowden/polyline
Changed polyline to work with a list of edges instead of a wire.
2015-10-14 06:48:38 -05:00
4cd0afc29e Changed polyline to work with a list of edges instead of a wire. 2015-10-13 11:30:17 -04:00
e2ac623acc Merge pull request #120 from galou/unicode
Fix bug
2015-10-12 17:06:36 -04:00
c2bd3b45a8 Fix bug 2015-10-12 23:03:49 +02:00
bdf2be9807 Merge pull request #119 from galou/unicode
Improve unicode support
2015-10-12 16:57:04 -04:00
4f043c0875 Improve unicode support 2015-10-12 22:48:17 +02:00
459c708017 Update changes.md 2015-10-12 14:08:01 -04:00
74b4f0057d Fixed findSolid() so that it handles compounds properly. 2015-10-12 14:04:03 -04:00
afd186e23a Fixed a bug with polygon where forConstruction couldn't be passed, which caused constructions problems. 2015-10-12 12:17:35 -04:00
552cc313ae Update changes.md 2015-10-12 08:42:13 -04:00
3e462655fd Merge branch 'master' of https://github.com/dcowden/cadquery 2015-10-12 08:40:22 -04:00
1f9788b3ef Fixed a case where the close function was not resetting the first point. 2015-10-12 08:39:38 -04:00
be0a0dd24f Update changes.md 2015-10-09 15:44:39 -04:00
c42d1e3e5b Merge pull request #118 from galou/cleanup
Cleanup geom.py
2015-10-09 09:33:04 -04:00
37890d132b Clean up geom.py
Remove Plane.setOrigin3d() and replace with Plane.origin = ...
2015-10-08 22:40:59 +02:00
9511375c36 Update changes.md 2015-10-06 10:50:18 -04:00
9dd8db7147 Merge pull request #115 from galou/more_planes
Add the named planes ZX YX ZY
2015-10-06 10:46:37 -04:00
cc82031e51 Add the cadquery.Vector() constructor 2015-10-06 10:00:43 +02:00
2ebae0461b Use the xDir parameter in Plane.XY() and similar.
Add simple tests for named planes
Use isinstance instead of type in Vector because type caused the
problem that 'type(Vector) is FreeCAD.Base.Vector'.
2015-10-04 22:49:34 +02:00
b42375b3d6 Add the named planes ZX YX ZY 2015-10-02 21:41:36 +02:00
5d9217cf7a Update changes.md 2015-09-18 08:13:09 -04:00
34d2e26369 Merge pull request #114 from dcowden/fix-center
Fix center
2015-09-18 08:11:04 -04:00
d6ec0ea6bd Added a test to ensure that finding the center of a compound works correctly. 2015-09-17 19:13:05 -04:00
23f1a0ea68 Fixed Center function to handle multiple solids correctly. 2015-09-17 18:17:22 -04:00
50ed91b71c Update changes.md 2015-09-17 16:34:44 -04:00
4edd1a23c9 Merge pull request #113 from hyOzd/multiface-workplane
create workplane from multiple co-planar faces
2015-09-17 16:33:06 -04:00
94f26399ef updated documentation of workplane() method 2015-09-17 23:14:47 +03:00
51327a822d normals should be the same, 1 of the faces may have its center on another face but may be none co-planar 2015-09-17 23:07:54 +03:00
ff72ac8318 add tests for workplane gen. from multiple faces 2015-09-17 22:41:42 +03:00
ea4ba70b06 improve workplane() method to create workplanes from multiple co-planar face selection 2015-09-17 22:40:22 +03:00
8763d42505 fix Vector.sub returning wrapped object instead of cadquery's Vector 2015-09-17 22:09:09 +03:00
eccef9cc8d Update changes.md 2015-09-17 10:20:18 -04:00
3503f7bfaf Merge pull request #111 from hyOzd/fix-minmaxselector
Fix min/max selector random behaviour
2015-09-17 10:13:53 -04:00
6551218d55 add test for multiple object at min/max selection 2015-09-17 07:46:46 +03:00
562e44c01d fail to prevent creating random workplanes 2015-09-17 07:41:52 +03:00
b23eb56394 Update changes.md 2015-09-16 23:38:54 -04:00
89b109b956 min/max selector will return all objects within a tolerance 2015-09-16 23:41:32 +03:00
1b10b06992 Merge pull request #110 from hyOzd/boolean-selectors
adding boolean/arithmetic selectors
2015-09-16 15:29:14 -04:00
36c75f2c55 added tests for arithmetic selectors 2015-09-16 21:34:03 +03:00
cb21c0db4a added AndSelector, SumSelector, SubtractSelector, InverseSelector 2015-09-13 12:56:23 +03:00
c20a6afbfc Update changes.md 2015-09-01 15:40:17 -04:00
9aba526c5f Cleaned up some of the egg info. 2015-09-01 15:32:32 -04:00