Hi Jelle,

I only get partly through plot.py before getting errors.  They are 
probably related to how printing/plotting is not set up on this computer 
(I have no printer).  Here is the terminal output:

d...@dan-desktop:~/CAM/pythonOCC2/samples/Level1/Plot$ python plot.py
Display3d class initialization starting ...
Graphic device created.
Xw_Window created.
Viewer created.
Interactive context created.
Display3d class successfully initialized.
ext .stp
      ...    Step File Reading : ../../../data/_3dmodels/aube_pleine.stp
      ...    STEP File   Read    ...
Elapsed time: 0 Hours   0 Minutes   0.005191 Seconds
CPU user time: 0 seconds
CPU system time: 0 seconds
      ... Step File loaded  ...
Elapsed time: 0 Hours   0 Minutes   0.008852 Seconds
CPU user time: 0 seconds
CPU system time: 0 seconds
   1835 records (entities,sub-lists,scopes), 5548 parameters

      ... Parameters prepared ... Elapsed time: 0 Hours   0 Minutes   
0.012174 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
      ...   Objets analysed  ...
Elapsed time: 0 Hours   0 Minutes   0.018799 Seconds
CPU user time: 0.01 seconds
CPU system time: 0 seconds
  STEP Loading done : 954 Entities
Traceback (most recent call last):
  File "plot.py", line 37, in <module>
    printer_available = tmp[0].ToCString()
IndexError: list index out of range
d...@dan-desktop:~/CAM/pythonOCC2/samples/Level1/Plot$



Jelle Feringa wrote:
>> I got this demo working. This is great! Keep the examples coming.
>
> Thanks Dan!
>
> Hey, I still really love your idea on the automation production drawings.
> Have you seen the samples/Level1/Plot/plot.py sample I've made?
> Its not much yet, but could be the basis of such a working drawings 
> program.
>
> Cheers & thanks again for the compliment, that's really stimulating to 
> go fwd.
>
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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