Hello Goran ,

On Sun, Mar 6, 2011 at 7:30 PM, Goran Lukic <goranl...@gmail.com> wrote:

> Hello everyone,
>
> can somebody tell me where i find VolumeSection in pythonOCC?
> VolumeSection(TopoDS_Shape S , Standard_Real Precision). i can't find it..
>

Are you sure you need the functionality of VolumeSection ? (The volume
section tool calculates the flotation waterline plane of a solid object.) If
finally you need this functionality then you must interface it through GEOMImpl
package specifically GEOMImpl_ILocalOperations::MakeArchimede function. For
using it under python i think Thomas or Jelle could give you some hint.


> hier the link:
>
> http://code.google.com/p/pythonocc/source/browse/tags/0.5/src/contrib/geom-5.1.2.7/src/Archimede/Archimede_VolumeSection.cpp
>
>
> ..and i think i know what is "Handle_GEOM_Object" :), but what is
> "Handle_GEOM_Function"?? in GEOMImpl
>

The GEOM_Function object is OCAF specific and is the base class for all the
GEOMImpl geometry drivers. Read the OCAF whitepaper-manual included in OCC
package in order to gain some understanding of its usage and the function
mechanism.


>
> Thanks for any tip
>
> --
> Goran Lukic
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to