Changes between Version 55 and Version 56 of PythonOcc


Ignore:
Timestamp:
Nov 9, 2015, 11:27:15 AM (5 years ago)
Author:
dpenko
Comment:

Zbrisal dupliciran tekst pri bottle.py primeru.

Legend:

Unmodified
Added
Removed
Modified
  • PythonOcc

    v55 v56  
    534534    draw_bottle() #kličemo podprogram za izris bottle
    535535    start_display()
    536 
    537 
    538 def draw_bottle(event=None):
    539     # Definiranje razdalj: širina, dolžina, višina
    540     myWidth = 50.0
    541     myThickness = 30.0
    542     myHeight = 70.0
    543     # Define Points
    544     define_points(myWidth, myThickness, myHeight)
    545    
    546 if __name__ == '__main__':
    547     # OCC.Display.SimpleGui.init_display() returns multiple
    548     # values which are assigned here
    549     display, start_display, add_menu, add_function_to_menu = \
    550     init_display()
    551     draw_bottle() #kličemo podprogram za izris bottle
    552     start_display()
    553536}}}
    554537