For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Is there an example programmed with tcltk ?

Anonymous's picture
Forums: 

I'd like to find a complete example of a very simple (or less simple, if a small one does not exist) of an application using OC classes, but programmed with tcltk.

First i'll try to build a simple shape (sphere or cube...well I guess sphere is easier) and try to display it.

I've got a few weeks to find how hard it is to program using opencascade, and what we can do with it, then create a very simple tutorial in French telling "how to" build simply a little program using opencascade.

If you've got any information about something that could help me in particular, just tell me...i've read a bit through helps and tutorials available but I found nothing for such a OC newbie I am.

Math's picture

Didn't you use the Test Harness called Draw or AISViewer ?

Draw uses tcl/tk and the definition of the menus are in the file caled "DrawTK.tcl" in /src/drawressources.

You should try it !

In the directory ..../doc, you can find thug31.pdf, it means Test Harness User's Guide (for OpenCASCADE 3.1).

Everything in explained in it ...

Good luck !

keith frost's picture

There was/is a gui builder for tk/tcl call vtcl/visual-tcl. i've played with it and had intended to try what you are suggesting. but like so many times before i have very limited time and an even shorter attention span. i originally found it on a link from http://browsex.com/ , but the current home seems to be: http://vtcl.sourceforge.net/.

hope that helps

phrostie

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.