Freepascal???

Hello,

Is there any way to use Opencascade with Freepascal?
If yes are there some examples, tutorials?

Thanks

ciplogic's picture

>> Is there any way to use Opencascade with Freepascal?
Yes, as FreePascal is as compatible with OCC environment as any C runtime.
You can wrap OCC using SWIG. Also if you have an OCC application you may use FreePascal as an external Dll/Lib, but most likely the host will be a C++ application.
You may consider using it as a host COM implementation or the more sane way: start with other toolkit:
http://stackoverflow.com/questions/1839931/interface-for-open-cascade-in...
>> If yes are there some examples, tutorials?
Unlikely. FPC/Delphi are really a too small portion of today development environments to matter. I think you can get paid wrappers if you will need them from OpenCascade team, but having something that big made for free is not there, so have fun searching.

carlolsen's picture

I don't know that I can help you much, other than say I am looking for essentially the same thing, (in my case for Delphi)

If you do find anything be sure to report back here, and I'll do the same.

I presently use glScene for Delphi, which is quite good for many purposes, but really not the same as OCC.