if you are on a recent [ 0.5 / SVN ] version of pyocc:

from OCC.Utils.Construct import make_closed_polygon, gp_Pnt
rect = make_closed_polygon(p1,p2,p3,p3)

than add rect to your display

-jelle

On Thu, Jul 28, 2011 at 4:36 PM, Naide <m...@ece.fr> wrote:

> Hi everyone,
>
> I want to know if there is a PythocOCC function that can draw/add a
> rectangle on
> a 3D CAD just like the one that can draw/add a sphere.
>
> Thank you in advance for your help and answer.
>
>
>
>
> _______________________________________________
> 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