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

All Samples(4)  |  Call(4)  |  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()
        t1 = tooth_form(tilt,.5)
        cad.rotate(t1,0,0,0,0,1,0,angle)
        cad.cut(obj,t1)
        obj2 = cad.getlastobj()
        cad.remove(obj)

src/h/e/heekspython-HEAD/examples/parametric_rectangle.py   heekspython(Download)
make_rect(((originx+width*.5)-box2_width*.5),((originy+length*.5)-box2_length*.5),box2_width,box2_length,corner_rad*.75,height,scale)
b2 = cad.getlastobj()
cad.cut(b1,b2)
cad.view_extents()
 

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