>Hi Thomas,

Hi Jelle,

>The gp module is interesting, since there is a OCC.gp.gp module.
>Right now we can call: from OCC.gp import gp; gp.DX()

You have to instanciate the gp class before calling the DX method: gp().DX()

>This will become from OCC import gp; gp.DX() ?

It would be better, no? The 'gp' class has the same name as the 'gp' module and 
it's very confusing. This renaming requires a few more work since the 
instanciation of the gp() class has to be hidden to the user.

> I start to really like this renaming effort ;')

pythonocc based scripts will be much more readable actually.

> A+
>
> -jelle

Thomas


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

Reply via email to