
Mon, 06/08/2009 - 02:10
Forums:
hi!
i'm very new to open cascade, only reading first tutorials at the moment. i just wanted to know is there any functionality in OOC to make script input at runtime, i.e. i enter some command, it is interpreted and executed. it will be a nessesary for me in the future. i'd very glad if someone will point me in the right direction, because the library is just huge!
Mon, 06/08/2009 - 09:40
There is a scripted program already provided by OCC using Tcl. It is called the Test Harness, and its executable name is DRAWEXE. I am not aware of how easy it would be to use it in another program, but it can be considered a starting point. You may also want to check pythonOCC. No idea about ease of integration either.
Mon, 06/08/2009 - 13:15
Thanks Paul ;')
The cool thing about pythonOCC is that you can write interpreted code, but the objects & method calls you use are very similar to the C++ api.
The reason for that this way the documentation & this forum directly translates to pythonOCC.
Right now we're working on a high level API ( condensing the OCC API in a buch of useful classes ), which will become a pythonic API.
Cheers,
-jelle
Mon, 06/08/2009 - 16:21
thanx for the info, i'll look into pythonOCC then!
Wed, 06/10/2009 - 12:46
Hi devast,
if you're familiar with C#/VB.NET you could also have a look at Total Engineer:
http://www.opencascade.org/org/forum/thread_16239/
Pawel
Wed, 06/10/2009 - 18:32
yeah, im familiar with .net platform more then with any other :) thanks for the link.