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

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

src/h/e/heekspython-HEAD/examples/facegear.py   heekspython(Download)
def tooth_form(tilt,length):
    cad.sketch()
    sketch = cad.getlastobj()
    cad.line(-.0625,.1083,.0625,.1083)
    l1 = cad.getlastobj()

src/h/e/heekspython-HEAD/examples/example.py   heekspython(Download)
def make_beam_profile(beam_width,beam_height,beam_thickness):
    cad.sketch()
    sketch = cad.getlastobj()
 
    cad.line(-beam_width/2.0,-beam_height/2.0,beam_width/2.0,-beam_height/2.0)
def make_square_beam_profile(beam_width,beam_height):
    cad.sketch()
    sketch = cad.getlastobj()
 
    cad.line(-beam_width/2.0,-beam_height/2.0,beam_width/2.0,-beam_height/2.0)

src/h/e/heekspython-HEAD/examples/parametric_rectangle.py   heekspython(Download)
    width= width*scale;length= length*scale
    rad = rad*scale
    cad.sketch()
    sketch = cad.getlastobj()
    cad.line(originx,originy,originx+width,originy)

src/h/e/heekspython-HEAD/examples/fillets.py   heekspython(Download)
# this example shows how to create fillets between two lines
 
import HeeksPython as cad
cad.sketch()
sketch = cad.getlastobj()

src/h/e/heekspython-HEAD/examples/revolve_it.py   heekspython(Download)
 
import HeeksPython as cad
cad.sketch()
sketch = cad.getlastobj()
cad.line(0,1,4,1)

src/h/e/heekspython-HEAD/examples/fillets2.py   heekspython(Download)
# this example shows how to create fillets between two lines
 
import HeeksPython as cad
cad.sketch()
sketch = cad.getlastobj()

src/h/e/heekspython-HEAD/examples/fillet0.py   heekspython(Download)
 
import HeeksPython as cad
cad.sketch()
sketch = cad.getlastobj()
cad.line(0,1,4,1)

src/h/e/heekspython-HEAD/examples/polar_array.py   heekspython(Download)
    def GenCode(self, event): # wxGlade: MyFrame.<event_handler>
        cad.sketch()
        sketch = cad.getlastobj()        
 
        x_center=float(self.x_center_entry.GetValue())