Forum archiveIssue archiveOther usage issues

Archived discussion

input script system

Other usage issuesMon, 06/08/2009 - 02:105 replies

Browse this forum
QuestionAuthor

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!

Discussion

5 archived replies

Posts are displayed in their archived order.

01Commenter-1

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.

02Commenter-2

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

03Author

thanx for the info, i'll look into pythonOCC then!

04Commenter-3

Hi Author,

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/

Commenter-3

05Author

yeah, im familiar with .net platform more then with any other :) thanks for the link.