Hi John, It seems to me you might be doing too level stuff. For instance, if you want a line, just do:
from OCC.Utils.Construct import * li = make_edge(gp_Pnt(), gp_Pnt(10,0,0)) What is it your aiming for? -jelle On May 26, 2010, at 9:47 PM, John Griessen wrote: > Package OCC :: Module Adaptor2d :: Class Adaptor2d_Line2d > > Class Adaptor2d_Line2d > > object --+ > | > Adaptor2d_Curve2d --+ > | > Adaptor2d_Line2d > > This seems like it will be useful as I get to understanding things. > > I don't understand things yet... > > > Is Adaptor2d_Line2d a subset of all that is in Adaptor2d, and is Adaptor2d > what corresponds to a OCC module in C++? > > > What does > __repr__(self) > repr(x) > > do? > > Googling Representation operator give hits for MDP a python neural net > training > and modeling toolkit...sounds good to look into later! > > And > __init__(self) > (Constructor) > ? > > Are these things used to wrap C++ objects, or is it some object oriented > terminology in python? > > John > > _______________________________________________ > 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