Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Sketcher Class Reference

Public Member Functions

def __init__
 
def startAtPoint
 
def translateToPoint
 
def translateWithVector
 
def translateWithAngleAndLength
 
def intersectXWithAngle
 
def intersectYWithAngle
 
def close
 
def toString
 
def getGeomWire
 

Private Attributes

 __xstart
 
 __ystart
 

Static Private Attributes

 __sketch = None
 
int __xstart = 0
 
int __ystart = 0
 

Constructor & Destructor Documentation

def __init__ (   self)

References Sketcher.__sketch.

Member Function Documentation

def startAtPoint (   self,
  x = 0,
  y = 0 
)

References Sketcher.__sketch.

def translateToPoint (   self,
  x = 10,
  y = 0 
)
segment->point->absolute

References Sketcher.__sketch.

def translateWithVector (   self,
  deltax = 10,
  deltay = 0 
)
segment->point->relative

References Sketcher.__sketch.

def translateWithAngleAndLength (   self,
  angle = 30,
  length = 100 
)
segment->direction->angle+length

References Sketcher.__sketch.

def intersectXWithAngle (   self,
  angle = 30,
  x = 100 
)
segment->direction->angle+length

References Sketcher.__sketch.

def intersectYWithAngle (   self,
  angle = 30,
  y = 100 
)
segment->direction->angle+length

References Sketcher.__sketch.

def close (   self)
add a segment to reach the starting point and get a closed wire.

References Sketcher.__sketch.

def toString (   self)

References Sketcher.__sketch.

def getGeomWire (   self)

References Sketcher.__sketch.

Field Documentation

__sketch = None
staticprivate
int __xstart = 0
staticprivate
int __ystart = 0
staticprivate
__xstart
private
__ystart
private