Hi all, I'm new to PythonOCC and I bit overwhelmed by the API. What I would like to do is this:
(1) Read a STL file.
(2) Determine for a specific x,y coordinate where on the z axis are object
borders for that specific coordinate (which points on the z axis are
"inside" and which are "outside" objects for that coordinate).
Samples for (2):
>>> checkCoordinate(1,2)
[(500,1000),(1250,1600)]
# there are two objects at the specified coordinate, one extending from
# z=500 to =z1000, the other from z=1250 to z=1600
>>> checkCoordinate(500,-25)
[]
# No objects at this coordinate
Can anybody give me some hints whether PythonOCC is the right tool for the
job (I would presume so) and what I have to do?
Thanks
Christian
--
|------- Dr. Christian Siefkes ------- [email protected] -------
| Homepage: http://www.siefkes.net/ | Blog: http://www.keimform.de/
| Peer Production Everywhere: http://peerconomy.org/wiki/
|---------------------------------- OpenPGP Key ID: 0x346452D8 --
Freedom is being able to make decisions that affect mainly you. Power is
being able to make decisions that affect others more than you. If we
confuse power with freedom, we will fail to uphold real freedom.
-- Bradley M. Kuhn and Richard M. Stallman, Freedom Or Power?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pythonocc-users mailing list [email protected] https://mail.gna.org/listinfo/pythonocc-users
