> For example:
> 
> OCC.BRep.BRep_Builder() -> OCC.BRep.Builder()
> OCC.BRepPrimAPI.BRepPrimAPI_MakeBox() -> OCC.BRepPrimAPI.MakeBox()
> OCC.Geom.Handle_Geom_Circle() -> OCC.Geom.Handle_Circle()
> OCC.Geom.Geom_Circle() -> OCC.Geom.Circle()
> OCC.gp.gp_Pnt() -> OCC.gp.Pnt()

That's what I understood :-)

> I don't regard this as a deviation of from the C++ API. Ultimately, it's
> a consistent translation from "_" (C++ API) to "." (python API). 

I think it's a minor deviation - one that is entirely acceptable.

As Jelle said:

 > Its *absolutely* an important issue that the SWIG wrappers ( Level1 )
 > feel like the C++ api, you're absolutely right.

This change is obvious and small enough that we'll still be 'true' to 
the original API.

> 
> It's because of the importance of API stability that I want to make this
> proposal now (maybe it's already too late. That's why I'm asking).
> 

It's fair to expect anything below 0.5 (or some other arbitrary low 
number) to be a little unstable. Thus far, I don't think any of us have 
managed to write anything big enough that this change would be a serious 
PITA (or maybe I'm wrong...).

> I'm grateful for the feedback on this. I don't want to spend time on a
> patch which will ultimately be unacceptable to the rest of the pythonOCC
> devs/users.

If you've got the time/knowledge, I'd like to see this change.

A

-- 

Arthur Magill, PhD
RF Engineer

Centre d'Imagerie BioMédicale (CIBM)
Laboratory for Functional and Metabolic Imaging (LIFMET)
Ecole Polytechnique Fédérale de Lausanne (EPFL)
Station 6, CH F1 532 (Bâtiment CH),
CH-1015 Lausanne,
Switzerland

   tel: +41 21 693 0569
   fax: +41 21 693 7960
email: arthur.mag...@epfl.ch

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

Reply via email to