> >>> from OCC import gp
> >>> P1 = gp.Pnt(0.,0.,0.)
> >>> P2 = gp.Pnt(1.,1.,1.)
> >>> P1
> <OCC.gp.Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x00DFE8E0> >
> >>> P2
> <OCC.gp.Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x00DFEAE0> >
> >>> V1 = gp.Vec(P1,P2)
> >>> V1
> <OCC.gp.Vec; proxy of <Swig Object of type 'gp_Vec *' at 0x00E023C0> >
> >>> V1.Magnitude()
> 1.7320508075688772
> 
> 
> Is this something that fits your expectations (I mean Bryan, Frank, Arthur 
> ?). 

Yes, this is great. Thank-you Thomas! 

Once this is in SVN, I'll start on converting the sample-scripts.

Bryan C



> 

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

Reply via email to