Commit graph

61 commits

Author SHA1 Message Date
Jeff Epler
34e0cd7f26 Merge pull request #1 from KurtJacobson/master
point link to OSC home instead of pulls
2017-09-07 07:33:24 -05:00
Kurt Jacobson
246fbc1f67 point link to OSC home instead of pulls 2017-09-06 23:45:52 -04:00
Jeff Epler
81575315a4 fix docstring copypasta 2017-08-12 10:57:31 -05:00
Jeff Epler
db8fbdd771 docs: improve markup 2017-08-12 10:33:19 -05:00
Jeff Epler
f15e90abc7 update environment summary 2017-08-12 10:23:38 -05:00
Jeff Epler
df199e670a update example image 2017-08-12 10:13:51 -05:00
Jeff Epler
097a8f500b document pocimg 2017-08-12 10:13:46 -05:00
Jeff Epler
541cdf2220 fix pocimg so it actually works 2017-08-12 10:11:10 -05:00
Jeff Epler
a54a3f6c52 a script to create an image from a poc file 2017-08-12 09:57:33 -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
34be878d10 examples: these fudge factors can be removed
.. now that the fudge in pocview is also removed
2017-08-08 22:16:13 -05:00
Jeff Epler
acd1af41d7 pocview: this fudge can go now that spheres look better 2017-08-08 22:16:13 -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
759b71f756 get rid of leftover experimentation 2017-08-06 21:41:08 -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
691b787104 docs: document Text, now that I know why it's weird 2017-08-06 15:03:55 -05:00
Jeff Epler
68ae4023e7 docs: remind readers about multi-context-manager with statements 2017-08-06 15:03:55 -05:00
Jeff Epler
09a01a83e0 missed a python version mention in the docs 2017-08-06 15:03:55 -05:00
Jeff Epler
a979aa1bdf a script to run coverage test and report 2017-08-06 15:03:55 -05:00
Jeff Epler
d42974e008 A new example to show all the primitives 2017-08-06 15:03:55 -05:00
Jeff Epler
6259678555 poctools: Note the whitespace gotcha of Text() 2017-08-06 15:03:55 -05:00
Jeff Epler
dca3336378 poc: A usage message when invoked with no filename 2017-08-06 15:03:54 -05:00
Jeff Epler
48626db6e0 pocviewer: try to avoid updating preview with incompletely written file 2017-08-06 15:03:54 -05:00
Jeff Epler
1e1ac17934 pocviewer: use a smaller fudge factor 2017-08-06 15:03:54 -05:00
Jeff Epler
9ca06334f8 this hack improves the appearance of spheres in the preview 2017-08-06 15:03:54 -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
c78466a6cd pocview: prevent freeze after failure to load 2017-08-06 09:43:39 -05:00
Jeff Epler
0285e4ca39 move doc badge to the top 2017-08-06 09:43:14 -05:00
Jeff Epler
5f5b1fd0e5 remove stuff in docs from README, other doc changes 2017-08-06 08:54:06 -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
a489d18ef5 mock occmodule for doc build 2017-08-05 23:08:33 -05:00
Jeff Epler
82b35f183c docs 2017-08-05 22:59:56 -05:00
Jeff Epler
ffb10cee54 more docs 2017-08-05 22:58:51 -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
88ae51121d docs: some more explanation would be nice 2017-08-05 22:35:56 -05:00