Commit Graph

128 Commits

Author SHA1 Message Date
Gaël Ecorchard
c2bd3b45a8 Fix bug 2015-10-12 23:03:49 +02:00
Gaël Ecorchard
4f043c0875 Improve unicode support 2015-10-12 22:48:17 +02:00
Gaël Ecorchard
37890d132b Clean up geom.py
Remove Plane.setOrigin3d() and replace with Plane.origin = ...
2015-10-08 22:40:59 +02:00
Gaël Ecorchard
cc82031e51 Add the cadquery.Vector() constructor 2015-10-06 10:00:43 +02:00
Gaël Ecorchard
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
Gaël Ecorchard
b42375b3d6 Add the named planes ZX YX ZY 2015-10-02 21:41:36 +02:00
Jeremy Mack Wright
d6ec0ea6bd Added a test to ensure that finding the center of a compound works correctly. 2015-09-17 19:13:05 -04:00
Jeremy Mack Wright
23f1a0ea68 Fixed Center function to handle multiple solids correctly. 2015-09-17 18:17:22 -04:00
Hasan Yavuz ÖZDERYA
94f26399ef updated documentation of workplane() method 2015-09-17 23:14:47 +03:00
Hasan Yavuz ÖZDERYA
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
Hasan Yavuz ÖZDERYA
ea4ba70b06 improve workplane() method to create workplanes from multiple co-planar face selection 2015-09-17 22:40:22 +03:00
Hasan Yavuz ÖZDERYA
8763d42505 fix Vector.sub returning wrapped object instead of cadquery's Vector 2015-09-17 22:09:09 +03:00
Hasan Yavuz ÖZDERYA
562e44c01d fail to prevent creating random workplanes 2015-09-17 07:41:52 +03:00
Hasan Yavuz ÖZDERYA
89b109b956 min/max selector will return all objects within a tolerance 2015-09-16 23:41:32 +03:00
Hasan Yavuz ÖZDERYA
cb21c0db4a added AndSelector, SumSelector, SubtractSelector, InverseSelector 2015-09-13 12:56:23 +03:00
Hasan Yavuz ÖZDERYA
0aba116505 added dummy clean() methods for Wire and Compound types 2015-09-01 21:56:22 +03:00
Hasan Yavuz ÖZDERYA
9da3ea3c9f refactor clean() to support objects other than Solid 2015-09-01 21:34:20 +03:00
hyOzd
247762f6a3 updated the docstring of clean() method and added clean parameter to each related docstring 2015-08-06 23:19:28 +03:00
hyOzd
d7d1e5ee7b added clean parameter to sphere() API, although it's not supported by FreeCAD implementation 2015-08-06 23:00:43 +03:00
hyOzd
605eabf243 cast to actual shape type after calling removeSplitter() 2015-08-06 22:33:38 +03:00
hyOzd
299ecf5cf5 Merge remote-tracking branch 'refs/remotes/upstream/master' into add-simplify 2015-08-06 22:06:23 +03:00
Jeremy Wright
07acfba4b9 Made Shape.Center() more intelligent to handle switch-ups between Shape and Solid. 2015-08-06 00:13:19 -04:00
hyOzd
43f29e63f6 added clean parameter to box() method 2015-08-03 23:12:28 +03:00
hyOzd
a159a71cce added clean parameter to cskHole and cutThruAll 2015-08-03 23:03:30 +03:00
hyOzd
c11cff1d2c Merge remote-tracking branch 'refs/remotes/upstream/master' into add-simplify 2015-08-03 22:16:45 +03:00
Jeremy Wright
4a7a7963ed Removed some unneeded commented code. 2015-08-03 12:23:59 -04:00
Jeremy Wright
6e70ad5e97 Fixed the Center call for Shape objects on rotateAboutCenter, and changed CenterOfMass usage so that it won't fail silently. 2015-08-03 12:06:59 -04:00
hyOzd
2d1bdcad7b added clean argument for hole method 2015-08-02 17:36:35 +03:00
hyOzd
d13b0bc58b fix small type in revolve method related to clean 2015-08-02 15:08:06 +03:00
hyOzd
2101161af1 clean should be called in case of combine=False 2015-08-02 14:53:41 +03:00
hyOzd
29ef1937ab renamed simplify to clean 2015-08-02 14:37:02 +03:00
hyOzd
8c719067c7 removed auto-simplify, added clean parameter 2015-08-02 14:31:23 +03:00
Hasan Yavuz ÖZDERYA
268d919d1e added documentation for simplify() method 2015-07-22 23:50:03 +03:00
hyOzd
acf46f4c62 enabled auto simplify for combine() 2015-07-19 17:24:16 +03:00
hyOzd
506358db42 enabled autoSimplify for cut and cutblind 2015-07-19 17:11:51 +03:00
hyOzd
88c0195ba4 enable autoSimplify for _combineWithBase 2015-07-19 15:57:43 +03:00
hyOzd
e1e8e038ed added autoSimplify() and enabled it for union() method 2015-07-19 15:44:22 +03:00
hyOzd
ea26397b83 added simplify API that calls freecad's removeSplitter() function to
clean faces from unwanted edges
2015-07-19 13:00:46 +03:00
Jeremy Wright
14262e744d Hopefully final try at fixing the centered option for each axis. 2015-07-17 17:30:16 -04:00
Jeremy Wright
f42a63c7d1 Trying to get the sphere non-centering work as expected. 2015-07-16 21:54:57 -04:00
Jeremy Wright
6822944091 Fixed the centering of a sphere object. 2015-07-13 10:22:26 -04:00
Jeremy Wright
dd789ccfa1 Merge branch 'master' of https://github.com/dcowden/cadquery 2015-06-23 15:26:38 -04:00
Jeremy Wright
9e2c5ba9b6 Moved cheatsheet out of Sphinx documentation directory. 2015-06-23 15:26:19 -04:00
hyOzd
807aa5d604 use 'length' for chamfer instead of 'radius' 2015-06-22 21:09:56 +03:00
hyOzd
dc2f74cfd7 chamfer example; there is no need to call edges(), faces() selector
works fine
2015-06-22 00:03:47 +03:00
hyOzd
46f6001a4a added chamfer api 2015-06-21 23:49:31 +03:00
Jeremy Wright
645e3cd6f7 Merge pull request #95 from hyOzd/add-boxselector
Added 3d box selector with an option to use the bounding box for selection.
2015-06-20 23:11:04 -04:00
Jeremy Wright
abce43b274 Fixed CQ.rotate docstring with same error as translate docstring. 2015-06-20 22:53:02 -04:00
Jeremy Wright
292a9935d7 Fixed the documentation on the translate function which said it was modifying the underlying objects. 2015-06-20 22:37:12 -04:00
Jeremy Wright
f8989928a8 Next phase of cleaning up CQ.py. 2015-06-16 17:03:36 -04:00