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() |