Tue, 04/18/2006 - 21:19
Forums:
I'm about to dive into an OCC project, and I'm not tied to either language. I've done some work with JNI and also managed C++ wrappers, and don't find either convenient to work with. Which evil do you prefer and what have you had the best success with?
Thanks
Wed, 04/19/2006 - 14:08
I would suggest you use C++, this makes everything much more simple to access, even if you prefer C# or Java neither is a very good choice for working with OCC.
Mikael
Wed, 04/19/2006 - 20:51
That's probably a good call Mikael. I just hate using (dare I say it?) an outdated language simply because the libraries I need are in that language. Speed and low-level control are of no advantage to me for this project, so Java or C# (languages both actively being improved) would be the way to go if native communication wasn't such a hassle.
Wed, 04/19/2006 - 20:59
Hi Ryan,
Checkout the thread
http://www.opencascade.org/org/forum/thread_8033/
If you need more information, just let me know :)
Jonathan Hill
Wed, 04/19/2006 - 21:07
Thanks Jonathan. Which do you consider a better solution, yours or Gerhard's? Both look promising but I like that Gerhard's is automated. I really don't need much of OCC (point, bezier curve, and surface picking; lofting; curve projection onto a surface; and general scene interaction (zoom, pan, and rotate).
My windows machine took a dive a few weeks ago so I'm down to just my powerbook right now. Should have my new win machine up and running in a few weeks and then I can play around with both of your solutions.
Wed, 04/19/2006 - 21:15
Hi Ryan,
"Which do you consider a better solution", thats a difficult one to answer, as I've not seen the way in which Gerhard's has coded his solution, I couldn't realy compare them. I think you are right about the automated method of generating the code, and I am working towards that myself.
I will let you know how I get on, and if you have any queries or comments, then just let me know.
Jonathan Hill