2010/2/21 Bryan Bishop <kanz...@gmail.com>

> On Sun, Feb 21, 2010 at 12:12 PM, Thomas Paviot wrote:
> > A few years ago, I developed a software aimed at providing rigid body
> > simulation features to Catia V5 or SolidWorks. This project, known as
> > "Decade dynamics", is not active anymore although many users are
> frequently
> > asking for new features or bugfixes (for your information, a website
> > dedicated to the project is available at  http://www.decade-dynamics.org
> ,
> > there also is a PDF document here:
> > http://download.gna.org/decade/decade_A4_recto_basse_def.pdf and
> > http://download.gna.org/decade/decade_A4_verso_basse_def.pdf - All this
> > material is in french, sorry).
> > The limitations I faced when working on that project are the root of my
> > motivation to start the pythonOCC project:
> > - the small 'free' API provided with Catia or SolidWorks (a VB API) is
> not
> > sufficient to access all internal classes/method,
>
> I wanted to mention something on this front, and it's not quite
> related to your latest rigid body simulations. A few weeks ago I was
> feeling bummed that the solidworks API is so inaccessible, even with
> their VisualBasic extensions via COM32. So I started on another option
> that may or may not be useful to someone else- accessing the
> solidworks API through python while running under wine (a mouthful, I
> know). Here's how far I got:
>
> http://heybryan.org/~bbishop/docs/solidworks.py
>
> Anyway, the remaining problem on that front is that I don't know the
> parameters to all the functions found in the DLL files, so without
> getting my hands on more documentation, that python-based solution
> isn't going to be of much use. Right now it's like random shots in the
> dark.. and some of the DLLs file just flat out crash, and have various
> dependency issues with each other, blah blah blah.
>
> - Bryan
> http://heybryan.org/
> 1 512 203 0507
>

Hi Bryan,

I also tried the ctypes solution. It's almost impossible to achieve in a
'blind' mode, i.e. without having the official documentation of the API
(impossible may be exaggerated, I mean I was not able to achieve it!). On
the other hand, this way to proceed is reverse engineering: if you ever
manage to be successful, the licence doesn't allow you to redistribute you
work, and you actually don't even have the right to do it.

Thomas
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to