Skip to main content

Class: FaceSketcher

Hierarchy

Implements

Constructors

constructor

new FaceSketcher(face, origin?)

Parameters

NameType
faceFace
originPoint2D

Overrides

BaseSketcher2d.constructor

Defined in

Sketcher2d.ts:471

Methods

_adaptSurface

_adaptSurface(): Handle_Geom_Surface

Returns

Handle_Geom_Surface

Defined in

Sketcher2d.ts:487


bezierCurveTo

bezierCurveTo(end, controlPoints): FaceSketcher

Parameters

NameType
endPoint2D
controlPointsPoint2D | Point2D[]

Returns

FaceSketcher

Implementation of

GenericSketcher.bezierCurveTo

Inherited from

BaseSketcher2d.bezierCurveTo

Defined in

Sketcher2d.ts:335


close

close(): Sketch

Returns

Sketch

Implementation of

GenericSketcher.close

Defined in

Sketcher2d.ts:535


closeWithMirror

closeWithMirror(): Sketch

Returns

Sketch

Implementation of

GenericSketcher.closeWithMirror

Defined in

Sketcher2d.ts:540


cubicBezierCurveTo

cubicBezierCurveTo(end, startControlPoint, endControlPoint): FaceSketcher

Parameters

NameType
endPoint2D
startControlPointPoint2D
endControlPointPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.cubicBezierCurveTo

Inherited from

BaseSketcher2d.cubicBezierCurveTo

Defined in

Sketcher2d.ts:359


done

done(): Sketch

Returns

Sketch

Implementation of

GenericSketcher.done

Defined in

Sketcher2d.ts:516


ellipse

ellipse(xDist, yDist, horizontalRadius, verticalRadius, rotation?, longAxis?, sweep?): FaceSketcher

Parameters

NameTypeDefault value
xDistnumberundefined
yDistnumberundefined
horizontalRadiusnumberundefined
verticalRadiusnumberundefined
rotationnumber0
longAxisbooleanfalse
sweepbooleanfalse

Returns

FaceSketcher

Implementation of

GenericSketcher.ellipse

Inherited from

BaseSketcher2d.ellipse

Defined in

Sketcher2d.ts:291


ellipseTo

ellipseTo(end, horizontalRadius, verticalRadius, rotation?, longAxis?, sweep?): FaceSketcher

Parameters

NameTypeDefault value
endPoint2Dundefined
horizontalRadiusnumberundefined
verticalRadiusnumberundefined
rotationnumber0
longAxisbooleanfalse
sweepbooleanfalse

Returns

FaceSketcher

Implementation of

GenericSketcher.ellipseTo

Inherited from

BaseSketcher2d.ellipseTo

Defined in

Sketcher2d.ts:223


hLine

hLine(distance): FaceSketcher

Parameters

NameType
distancenumber

Returns

FaceSketcher

Implementation of

GenericSketcher.hLine

Inherited from

BaseSketcher2d.hLine

Defined in

Sketcher2d.ts:93


hLineTo

hLineTo(xPos): FaceSketcher

Parameters

NameType
xPosnumber

Returns

FaceSketcher

Implementation of

GenericSketcher.hLineTo

Inherited from

BaseSketcher2d.hLineTo

Defined in

Sketcher2d.ts:101


hSagittaArc

hSagittaArc(distance, sagitta): FaceSketcher

Parameters

NameType
distancenumber
sagittanumber

Returns

FaceSketcher

Implementation of

GenericSketcher.hSagittaArc

Inherited from

BaseSketcher2d.hSagittaArc

Defined in

Sketcher2d.ts:194


halfEllipse

halfEllipse(xDist, yDist, minorRadius, sweep?): FaceSketcher

Parameters

NameTypeDefault value
xDistnumberundefined
yDistnumberundefined
minorRadiusnumberundefined
sweepbooleanfalse

Returns

FaceSketcher

Implementation of

GenericSketcher.halfEllipse

Inherited from

BaseSketcher2d.halfEllipse

Defined in

Sketcher2d.ts:325


halfEllipseTo

halfEllipseTo(end, minorRadius, sweep?): FaceSketcher

Parameters

NameTypeDefault value
endPoint2Dundefined
minorRadiusnumberundefined
sweepbooleanfalse

Returns

FaceSketcher

Implementation of

GenericSketcher.halfEllipseTo

Inherited from

BaseSketcher2d.halfEllipseTo

Defined in

Sketcher2d.ts:311


line

line(xDist, yDist): FaceSketcher

Parameters

NameType
xDistnumber
yDistnumber

Returns

FaceSketcher

Implementation of

GenericSketcher.line

Inherited from

BaseSketcher2d.line

Defined in

Sketcher2d.ts:85


lineTo

lineTo(point): FaceSketcher

Parameters

NameType
pointPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.lineTo

Inherited from

BaseSketcher2d.lineTo

Defined in

Sketcher2d.ts:75


movePointerTo

movePointerTo(point): FaceSketcher

Parameters

NameType
pointPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.movePointerTo

Inherited from

BaseSketcher2d.movePointerTo

Defined in

Sketcher2d.ts:64


polarLine

polarLine(distance, angle): FaceSketcher

Parameters

NameType
distancenumber
anglenumber

Returns

FaceSketcher

Implementation of

GenericSketcher.polarLine

Inherited from

BaseSketcher2d.polarLine

Defined in

Sketcher2d.ts:111


polarLineTo

polarLineTo(__namedParameters): FaceSketcher

Parameters

NameType
__namedParametersPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.polarLineTo

Inherited from

BaseSketcher2d.polarLineTo

Defined in

Sketcher2d.ts:105


quadraticBezierCurveTo

quadraticBezierCurveTo(end, controlPoint): FaceSketcher

Parameters

NameType
endPoint2D
controlPointPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.quadraticBezierCurveTo

Inherited from

BaseSketcher2d.quadraticBezierCurveTo

Defined in

Sketcher2d.ts:355


sagittaArc

sagittaArc(xDist, yDist, sagitta): FaceSketcher

Parameters

NameType
xDistnumber
yDistnumber
sagittanumber

Returns

FaceSketcher

Implementation of

GenericSketcher.sagittaArc

Inherited from

BaseSketcher2d.sagittaArc

Defined in

Sketcher2d.ts:183


sagittaArcTo

sagittaArcTo(end, sagitta): FaceSketcher

Parameters

NameType
endPoint2D
sagittanumber

Returns

FaceSketcher

Implementation of

GenericSketcher.sagittaArcTo

Inherited from

BaseSketcher2d.sagittaArcTo

Defined in

Sketcher2d.ts:156


smoothSpline

smoothSpline(xDist, yDist, splineConfig?): FaceSketcher

Parameters

NameType
xDistnumber
yDistnumber
splineConfig?SplineConfig

Returns

FaceSketcher

Implementation of

GenericSketcher.smoothSpline

Inherited from

BaseSketcher2d.smoothSpline

Defined in

Sketcher2d.ts:408


smoothSplineTo

smoothSplineTo(end, config?): FaceSketcher

Parameters

NameType
endPoint2D
config?SplineConfig

Returns

FaceSketcher

Implementation of

GenericSketcher.smoothSplineTo

Inherited from

BaseSketcher2d.smoothSplineTo

Defined in

Sketcher2d.ts:367


tangentArc

tangentArc(xDist, yDist): FaceSketcher

Parameters

NameType
xDistnumber
yDistnumber

Returns

FaceSketcher

Implementation of

GenericSketcher.tangentArc

Inherited from

BaseSketcher2d.tangentArc

Defined in

Sketcher2d.ts:218


tangentArcTo

tangentArcTo(end): FaceSketcher

Parameters

NameType
endPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.tangentArcTo

Inherited from

BaseSketcher2d.tangentArcTo

Defined in

Sketcher2d.ts:198


tangentLine

tangentLine(distance): FaceSketcher

Parameters

NameType
distancenumber

Returns

FaceSketcher

Implementation of

GenericSketcher.tangentLine

Inherited from

BaseSketcher2d.tangentLine

Defined in

Sketcher2d.ts:117


threePointsArc

threePointsArc(xDist, yDist, viaXDist, viaYDist): FaceSketcher

Parameters

NameType
xDistnumber
yDistnumber
viaXDistnumber
viaYDistnumber

Returns

FaceSketcher

Implementation of

GenericSketcher.threePointsArc

Inherited from

BaseSketcher2d.threePointsArc

Defined in

Sketcher2d.ts:143


threePointsArcTo

threePointsArcTo(end, midPoint): FaceSketcher

Parameters

NameType
endPoint2D
midPointPoint2D

Returns

FaceSketcher

Implementation of

GenericSketcher.threePointsArcTo

Inherited from

BaseSketcher2d.threePointsArcTo

Defined in

Sketcher2d.ts:131


vLine

vLine(distance): FaceSketcher

Parameters

NameType
distancenumber

Returns

FaceSketcher

Implementation of

GenericSketcher.vLine

Inherited from

BaseSketcher2d.vLine

Defined in

Sketcher2d.ts:89


vLineTo

vLineTo(yPos): FaceSketcher

Parameters

NameType
yPosnumber

Returns

FaceSketcher

Implementation of

GenericSketcher.vLineTo

Inherited from

BaseSketcher2d.vLineTo

Defined in

Sketcher2d.ts:97


vSagittaArc

vSagittaArc(distance, sagitta): FaceSketcher

Parameters

NameType
distancenumber
sagittanumber

Returns

FaceSketcher

Implementation of

GenericSketcher.vSagittaArc

Inherited from

BaseSketcher2d.vSagittaArc

Defined in

Sketcher2d.ts:190