Not sure if I follow. Are you saying that you expected the constructor of
the ObjProcessor class to immediately do all of the parsing work? If so,
then the answer is that it is not supposed to do anything. A class
constructor shouldn't implicitly have a bunch of side effects or start
doing a bunch of work. The usage would be to instantiate the ObjProcessor
with a filename, and then call process() on the instance to start the work.


On Wed, Sep 24, 2014 at 3:36 PM, likage <[email protected]> wrote:

> ok... by the way, correct me if I am wrong, in your code, when I tried it,
> it does not run pass the __init__ function?
> Cause it just seems to stop there and not proceeding to print out the
> verts information. Am I missing a line somewhere?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/8e121381-5f80-4a5a-9f56-36dd5e2570b0%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/8e121381-5f80-4a5a-9f56-36dd5e2570b0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3KyVyjhkJPaAjS_L7WUHe86qg0JfQ87nN%3D3u3962_33Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to