Changes between Version 100 and Version 101 of python


Ignore:
Timestamp:
Nov 10, 2015, 6:39:48 PM (9 years ago)
Author:
dpenko
Comment:

Posodobil definicijo naloge vaja126

Legend:

Unmodified
Added
Removed
Modified
  • python

    v100 v101  
    16311631#!python
    16321632#Izdelava STEP datoteke
    1633 kocka_valj_step = STEPExporter("valj-kocka.stp")
    1634 kocka_valj_step.add_shape(myBody)
    1635 kocka_valj_step.write_file()
     1633from OCC.STEPControl import *
     1634step_writer = STEPControl_Writer()
     1635step_writer.Transfer(myBody, STEPControl_AsIs)
     1636status = step_writer.Write("valj-kocka.stp")
    16361637}}}
    16371638ter model prikažite na zaslonu.