Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/h/e/heekspython-HEAD/examples/facegear.py   heekspython(Download)
def cut_it(obj1,obj2):
    cad.cut(obj1,obj2)
    newobj = cad.getlastobj()
    cad.remove(obj1)
    cad.changed()
    cad.remove(newobj)
    cad.rotate(form,0,0,0,1,0,0,(tilt*pi)/180)
    cad.changed()
    cad.remove(sketch)
    return form        
 
        cad.cut(obj,t1)
        obj2 = cad.getlastobj()
        cad.remove(obj)
        obj = obj2
 
        angle = angle + pitch_angle
        cad.changed() 
        count = count +1
 
    cad.remove(obj)         

src/h/e/heekspython-HEAD/examples/cut_example.py   heekspython(Download)
def cut_it(obj1,obj2):
    cad.cut(obj1,obj2)
    newobj = cad.getlastobj()
    cad.remove(obj1)
    cad.changed()
    cad.remove(newobj)