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 |
def __init__ | ( | self | ) |
References Sketcher.__sketch.
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.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |