Commit Graph

360 Commits

Author SHA1 Message Date
10209482b7 Add a new function importStepFromURL(url) to import STEP file from the web... 2015-11-30 23:00:21 +00:00
b99a99d1c1 dont error on warnings 2015-11-28 21:43:28 -05:00
a30d631e4a fixed build error 2015-11-28 21:37:19 -05:00
8aabc4b116 added travis_sphinx 2015-11-28 21:32:29 -05:00
a967e1f0b9 Tried to get documentation Into Shape 2015-11-28 21:05:20 -05: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
4c1a91b5f4 Merge pull request #125 from dcowden/v3updates
Made changes in preparation for the release of v0.3.0.
2015-11-25 16:24:52 -05:00
8f198eddad Made changes in preparation for the release of v0.3.0. v0.3.0 2015-11-25 16:20:52 -05:00
9ce84fb5d6 Merge pull request #124 from dcowden/implupdates
Implupdates
2015-11-24 15:52:48 -05:00
007725a28c Added a label instance attribute to each of the shapes so that they can be identified separately. 2015-11-24 15:45:12 -05:00
b1a6187d3e Made the normalize to normalized change to make CadQuery match the PythonOCC/OCC symantics. 2015-11-23 21:44:36 -05:00
066855c2fd Update changes.md 2015-11-21 23:03:00 -05:00
c2e7b0011e Merge pull request #122 from huskier/master
Add another parameter centerOption='CenterOfMass'  to CQ.workplane([offset, invert])
2015-11-21 23:00:46 -05: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