Hey all,

I am still getting a lot of textpuke from STEPImporter in pythonOCC
(samples/Level2/DataExchange/import_step_single.py). This is kind of
annoying. I wouldn't mind being able to specify a flag or something to
get this sort of output, but honestly most of the time it's just in
the way. Anyone know how to turn it off? I tried changing sys.stdout
and sys.stderr to StringIO() but that didn't work. It seems that this
might be due to the way OCC works and not pythonOCC? Still, it would
be nice to hear of any ideas.

      ...    Step File Reading : aube_pleine.stp
      ...    STEP File   Read    ...
Elapsed time: 0 Hours   0 Minutes   0.020116 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
      ... Step File loaded  ...
Elapsed time: 0 Hours   0 Minutes   0.022101 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
   1835 records (entities,sub-lists,scopes), 5548 parameters

      ... Parameters prepared ... Elapsed time: 0 Hours   0 Minutes
0.02384 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
      ...   Objets analysed  ...
Elapsed time: 0 Hours   0 Minutes   0.029436 Seconds
CPU user time: 0.02 seconds
CPU system time: 0 seconds
  STEP Loading done : 954 Entities
1 root(s)
Number of shapes:0

- Bryan
http://heybryan.org/
1 512 203 0507

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

Reply via email to