Commit Graph

845 Commits

Author SHA1 Message Date
c96f8cd250 Incremental fixes to make more tests pass 2017-04-30 00:17:47 +02:00
e399e2ed7d Minor fixes to make tests OK 2017-04-30 00:17:14 +02:00
43c04c41af Implemented extrude with rotation - no testing yet 2017-04-29 16:24:10 +02:00
5222ed6975 Significan portion of Solid implemented
Missing methods are:

* extrude with rotation
* tesselate
* clean
2017-04-29 00:38:37 +02:00
b864a9704d Fixed fuse,cut,intersect,copy and makePolygon 2017-04-27 17:03:13 +02:00
f30804ecd1 Correct implementation of center for Edge and Face 2017-04-27 16:20:14 +02:00
8b2e7e62dd Implemented Face api 2017-04-27 15:51:05 +02:00
93035f8227 Implemeted all Edge methods 2017-04-27 14:04:52 +02:00
95dc3d8917 Additinal constructor for Vector form gp_Pnt
Also added comments on the future of BndBox precision
2017-04-27 13:50:55 +02:00
c92cafa73d Fixed shape transforms 2017-04-27 01:00:04 +02:00
3e016228fa Additional fixes of Vector 2017-04-27 00:59:15 +02:00
578c50fcbf Implemented rotate, translate, scale 2017-04-27 00:28:12 +02:00
6c2b2b0e74 Working on shapes - 7 tests pass 2017-04-27 00:01:30 +02:00
840e5dbf44 Implemented BoundBox - untested 2017-04-26 21:50:48 +02:00
706a50b8e9 Started working on shapes 2017-04-23 17:51:16 +02:00
813584f16a 11/11 tests pass on Geom (Planes)
Needed to transform gp_Pnt i.s.o. gp_Vec -- still do not understand what
is the difference
2017-04-23 01:49:49 +02:00
4b79396a2d Fixing Geom, 7/11 tests pass so far 2017-04-23 01:27:30 +02:00
ceecbf6905 Initial commit of OCC based implementation for CQ1 2017-04-23 00:17:32 +02:00
a1a533b02d Update api and class reference 2017-04-22 00:40:24 +02:00
042d9f3413 Remove finished items from the roadmap 2017-04-22 00:40:12 +02:00
6dc0f45365 Add graphical examples to the selectors section 2017-04-22 00:39:57 +02:00
4460e39af2 Updating documentation regarding extended selector syntax 2017-04-18 20:28:28 +02:00
152da20077 Merge pull request #180 from adam-urbanczyk/master
Fixing DirectionNthSelector
2017-04-18 13:22:50 -04:00
c2ce8feb4c Adding testcases for the new implementation of DirectionNthSelector 2017-04-18 18:38:34 +02:00
64156a792a Fixing DirectionNthSelector
Many corner cases were missed in the initial implementation. Especially
handling of multiple faces with same/similar distance was NOK
2017-04-18 18:37:59 +02:00
8bf31d0e6b Removed mention of the PPA for the FreeCAD module since it is not being kept up-to-date 2017-04-17 10:40:25 -04:00
9c24f8b703 Add projects using cadquery 2017-04-15 18:13:14 -04:00
731efe57e7 Updated everything for version 1.0.0 v1.0.0 2017-04-12 21:33:38 -04:00
ea966045b9 Merge pull request #178 from adam-urbanczyk/master
Increase the coverage of selector grammar testing
2017-04-11 14:59:22 -04:00
cde17b541e Increase the coverage of selector grammar testing 2017-04-11 20:30:59 +02:00
57d566e80b Merge pull request #176 from Peque/master
Make pyparsing an actual cadquery requirement
2017-02-11 13:08:32 -05:00
55b3991cfa Make pyparsing an actual cadquery requirement 2017-02-11 16:45:21 +01:00
26261c6ff5 Update readme to use master build status not latest 2016-12-28 15:01:38 -05:00
e6831d22a5 fixed formatting 2016-12-11 17:09:41 -05:00
6a485ae8c3 Update readme for CQ 2.0 roadmap 2016-12-11 17:08:50 -05:00
4aa7a8e9ac Added pyparsing to requirements list 2016-12-04 14:49:56 -05:00
4806cad2a0 Merge pull request #157 from Peque/freecadinit
Freecadinit updates for PEP8 and Python 3.
2016-11-28 20:23:14 -05:00
d0185c951a Merge pull request #159 from huskier/master
Fix "NameError: global name 'Face' is not defined"
2016-11-28 20:20:01 -05:00
c312ebcdf7 Fix "NameError: global name 'Face' is not defined", It appears that 'Face' class is missing from __all__ list in the __init__.py. 2016-11-29 09:02:38 +08:00
32c39a60ca Merge pull request #158 from huskier/master
Correct errors for the last pull request [Fix the "'toVector' is not defined" bug]
2016-11-28 16:34:32 -05:00
86edb67106 Correct errors for the last commit, mainly for test function testEdgeWrapperMakeCircle and testFaceWrapperMakePlane. Now testEdgeWrapperMakeCircle passed, but there is still one problem prevent testFaceWrapperMakePlane from passing. 2016-11-28 23:54:23 +08:00
63dcf459f8 Merge pull request #156 from huskier/master
Fix the "'toVector' is not defined" bug
2016-11-28 10:13:08 -05:00
e2c866681a 1. Add 'testEdgeWrapperMakeCircle' and 'testFaceWrapperMakePlane' test functions in TestCadObjects.py file;
2. Add self.wrapped.tessellate(tolerance) statement in CenterOfBoundBox and CombinedCenterOfBoundBox function in class Shape, and make the tolerance default value 0.1. This will make the result more accurate.
3. Add empty test functions 'testCenterOfBoundBox' and 'testCombinedCenterOfBoundBox', and will add detailed code in the near future.
2016-11-28 23:04:30 +08:00
e3723b8b7c @dcowden's original fix is correct ,and it appears all my fault, for I use a very old version of geom.py file, in which the Vector type is not processed properly, so all the weird things. 2016-11-28 15:04:15 +08:00
3123f8c9a1 Fix if/elif statements in FreeCAD's __init__ file 2016-11-27 23:33:00 +01:00
bfad5f93f8 Add another possible FreeCAD library path
In Fedora, FreeCAD library can be located under `lib64` instead
of `lib`.
2016-11-27 21:45:11 +01:00
adc941ccab Refactor FreeCAD's __init__.py file
Remove and refactor some code to make it a bit cleaner and
PEP8-compliant.
2016-11-27 21:42:15 +01:00
525998239a 1. Fix the "'toVector' is not defined" bug. Since the type of center.wrapped with center = Vector(pnt) is not Base.Vector, I have to use center = FreeCAD.Base.Vector(pnt.x, pnt.y, pnt.z) to make the variable center a Base.Vector type. The fix worked, but I do not think it is elegant.
2. At present I do not know how to fix the 'toVector' issue in makePlane method in the Face class, for both the basePnt and dir are 'None'.
2016-11-25 15:28:57 +08:00
791741e162 Merge pull request #1 from dcowden/master
Merge original author's work
2016-11-25 15:04:52 +08:00
669bc3c69c Merge pull request #153 from baoboa/patch-1
Update README.md
2016-10-12 09:16:01 -04:00