Commit Graph

76 Commits

Author SHA1 Message Date
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
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
0aba116505 added dummy clean() methods for Wire and Compound types 2015-09-01 21:56:22 +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
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
29ef1937ab renamed simplify to clean 2015-08-02 14:37:02 +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
hyOzd
807aa5d604 use 'length' for chamfer instead of 'radius' 2015-06-22 21:09:56 +03:00
hyOzd
46f6001a4a added chamfer api 2015-06-21 23:49:31 +03:00
Jeremy Wright
7f0ef93868 Next small step in the CQ.py code cleanup. 2015-06-15 15:59:28 -04:00
hyOzd
ff74557899 added ruled option for loft 2015-06-08 22:06:34 +03:00
Jeremy Wright
c585ddc050 Merge branch 'master' of https://github.com/dcowden/cadquery 2015-05-20 07:40:51 -04:00
Jeremy Wright
77e6c4bb5f Simple code cleanup. 2015-05-20 07:40:29 -04:00
moeb
a6a9bc6614 another improvement to https://github.com/dcowden/cadquery/pull/87 wich removes multiple calls to _fc_path 2015-05-15 13:26:34 +02:00
moeb
205a6ef01a a little improvement to https://github.com/dcowden/cadquery/pull/87 2015-05-15 13:12:40 +02:00
moeb
d36e5a10b7 fixes https://github.com/jmwright/cadquery-freecad-module/issues/53 and adds freecads library path for archlinux 2015-05-15 12:50:39 +02:00
Jeremy Wright
89efc14ec9 Updated copyright dates and fixed a few docstring errors. 2015-04-27 13:04:34 -04:00
Jeremy Wright
7754cd5f5b Fixed mirror when vertices weren't connected, which would cause the FreeCAD algorithm problems. Also just did some housekeeping and spelling corrections in the code. 2015-04-23 00:27:01 -04:00
Jeremy Wright
08c36a3947 Fixed the rotateAndCopy function by checking coincidence of vertices between wires. Still need to do some manual testing and add tests before merging. 2015-04-17 00:04:16 -04:00
Jeremy Wright
1961c22268 Got a mirror fix working for the T-slot use case, but it broke the OCC bottle example. 2015-04-13 16:47:18 -04:00
Jeremy Wright
2ce0041354 Fixed the Solid.makeSphere implementation and added CQ.sphere that mirrors the CQ.box high-level functionality. 2015-04-07 14:19:45 -04:00
xix xeaon
1a3ec5e4f3 Fixed usage of toWorldCoordinates in move and moveTo 2015-02-21 12:13:23 +01:00
Jeremy Wright
19c84868a8 Removed an unneeded import and fixed tab-space mixing issues. 2014-12-11 20:42:41 -05:00
Jeremy Wright
e51b54d6c4 Made the STEP import function more robust so that it could return a CQ.Workplane object. 2014-12-11 14:35:29 -05:00
Jeremy Wright
8794d63e06 Made major improvements to the Mac OS import setup code thanks to troubleshooting from @DrRob. 2014-12-06 22:54:45 -05:00
Jeremy Wright
326c02cd0f Added explicit support for Mac OS. 2014-12-05 23:42:25 -05:00
Jeremy Wright
de3d4ea8a7 Added an alternate path for Linux systems that install FreeCAD at /usr/bin instead of /usr/local. 2014-12-05 00:17:38 -05:00
Jeremy Wright
087f0621a7 Initial attempt to fix import issues caused by verutil.py implementation. 2014-12-01 11:51:26 -05:00
Jeremy Wright
1222a6e4d8 Fixed version numbers so that you can use == to grab test for a specific version. 2014-11-28 15:05:01 -05:00
Jeremy Wright
b9d59996d1 Added new FreeCAD versions to freecad_impl/verutil.py 2014-11-28 13:05:27 -05:00
Jeremy Wright
9fb0fad345 Fixed a minor documentation error with Plane.toWorldCoords. 2014-10-23 10:56:37 -04:00
Jeremy Wright
3bf871b0ea Added cylinder and donut tests for the revolve operation and started on the cone test. 2014-10-20 17:41:53 -04:00
Jeremy Wright
458c55b64b The revolve operation should be complete except for tests. 2014-10-19 22:23:26 -04:00
Jeremy Wright
af386836a6 Fixed comments on code that was changed. 2014-10-17 23:01:57 -04:00
Jeremy Wright
55d659fa9c Fixed the cases where the revolve didn't work as expected. 2014-10-17 14:06:55 -04:00
Jeremy Wright
43042f433d Accidentally left an duplicate line in the FreeCAD implementation. 2014-10-16 16:57:09 -04:00
Jeremy Wright
6549d561f5 Got revolution mostly working except for defaulting the axis of revolution end point if the user doesn't specify one. 2014-10-16 16:48:12 -04:00
Jeremy Wright
ebcc449f84 Started implementing the final form of the revolve operation. 2014-10-09 23:04:48 -04:00
Jeremy Wright
f20d52ebd9 Got the revolve operation working by preventing the wire(s) from being centered. 2014-10-08 11:32:41 -04:00
Jeremy Wright
2c3e34becc Added commented lines to the resolve function in shapes.py that shows that FreeCAD wires work properly. 2014-10-08 08:52:24 -04:00