Commit graph

28 commits

Author SHA1 Message Date
Jeff Epler
81575315a4 fix docstring copypasta 2017-08-12 10:57:31 -05:00
Jeff Epler
541cdf2220 fix pocimg so it actually works 2017-08-12 10:11:10 -05:00
Jeff Epler
9f884ac079 doc improvements 2017-08-12 08:22:11 -05:00
Jeff Epler
db5b15bfc4 Major rewrite: switch from occmodel to pythonocc-core + vtk
.. this requires reverting to python2 due to lack of python3
vtk packages in debian stretch.

pythonocc-core is much more verbose, but it exposes the whole
oce API to Python, which means that I'm not stuck when I want
to expose something not in occmodel.  I hope that it's a better
way forward.
2017-08-11 21:35:32 -05:00
Jeff Epler
67ee26d6ce poctools: This sphere has better quality in pocview
.. it's not clear to me why the other one (which internally is the
official OpenCASCADE "create a sphere" routine!) doesn't look at all
good in previews.
2017-08-08 22:15:31 -05:00
Jeff Epler
517c8141c3 Intoduce 'Pipe' 2017-08-06 17:35:00 -05:00
Jeff Epler
064161f15f add CenterOfMass 2017-08-06 15:50:56 -05:00
Jeff Epler
2d6f16a137 add Chamfer, Chamfered 2017-08-06 15:47:48 -05:00
Jeff Epler
468317a4ca typo in docstring 2017-08-06 15:46:36 -05:00
Jeff Epler
8b708d361f Add extrude, revolve, loft
.. at least Loft should be 'with Loft' but this'll do for now
2017-08-06 15:26:27 -05:00
Jeff Epler
2ebb620740 more docstrings 2017-08-06 15:04:25 -05:00
Jeff Epler
bc6146ef0e compiler flags are no longer needed
.. python3 is the future, after all
2017-08-06 15:04:25 -05:00
Jeff Epler
770256507b _poctools is no longer needed 2017-08-06 15:04:25 -05:00
Jeff Epler
7a9ceb624e poc environment: geotools.Transform aliased as Xform 2017-08-06 15:04:25 -05:00
Jeff Epler
6259678555 poctools: Note the whitespace gotcha of Text() 2017-08-06 15:03:55 -05:00
Jeff Epler
ca7ee4777f fix 'Op()'
.. it was intersecting the objects, not unioning htem
2017-08-06 15:03:54 -05:00
Jeff Epler
7cac98a157 fix 'Transformed'
.. wrong parameter name
2017-08-06 15:03:54 -05:00
Jeff Epler
e73f1a17ec poctools: add more functions 2017-08-06 09:43:59 -05:00
Jeff Epler
9ae973c6e1 let there be python3 2017-08-06 08:53:19 -05:00
Jeff Epler
e1d3e5e997 poctools: more use of six.exec_ 2017-08-06 08:24:10 -05:00
Jeff Epler
e211bba2a3 poctools: get accurate source information for tracebacks 2017-08-06 08:22:08 -05:00
Jeff Epler
df599ae70b more docs 2017-08-05 22:49:23 -05:00
Jeff Epler
0414841476 poctools: add predicate to Fillet 2017-08-05 22:37:51 -05:00
Jeff Epler
93c823fba2 poctools: fix how finalop= works
.. this makes Op() and Filleted() actually work
2017-08-05 22:36:18 -05:00
Jeff Epler
5319599cc9 write some docs 2017-08-05 22:13:04 -05:00
Jeff Epler
4f06067e45 implement inquirires 2017-08-05 21:25:14 -05:00
Jeff Epler
0e022daf8e factor more of poc into poctools 2017-08-05 21:25:14 -05:00
Jeff Epler
41203f0bd0 Initial commit 2017-08-05 21:25:14 -05:00