Sketcher Namespace Reference

Classes

class  Constraint
 
struct  Constraint_Equal
 
struct  ConstraintIds
 
class  ConstraintPy
 The python export class for Constraint. More...
 
class  ExternalGeometryExtension
 
class  ExternalGeometryExtensionPy
 The python export class for ExternalGeometryExtension. More...
 
struct  GeoEnum
 
class  Module
 
class  PropertyConstraintList
 
class  Sketch
 
class  SketchAnalysis
 
class  SketchGeometryExtension
 
class  SketchGeometryExtensionPy
 The python export class for SketchGeometryExtension. More...
 
class  SketchObject
 
class  SketchObjectPy
 The python export class for SketchObject. More...
 
class  SketchObjectSF
 
class  SketchObjectSFPy
 The python export class for SketchObjectSF. More...
 
class  SketchPy
 The python export class for Sketch. More...
 

Typedefs

typedef App::FeaturePythonT< SketchObjectSketchObjectPython
 

Enumerations

enum  ConstraintType { ,
  Coincident = 1, Horizontal = 2, Vertical = 3, Parallel = 4,
  Tangent = 5, Distance = 6, DistanceX = 7, DistanceY = 8,
  Angle = 9, Perpendicular = 10, Radius = 11, Equal = 12,
  PointOnObject = 13, Symmetric = 14, InternalAlignment = 15, SnellsLaw = 16,
  Block = 17, Diameter = 18, NumConstraintTypes
}
 
enum  InternalAlignmentType {
  Undef = 0, EllipseMajorDiameter = 1, EllipseMinorDiameter = 2, EllipseFocus1 = 3,
  EllipseFocus2 = 4, HyperbolaMajor = 5, HyperbolaMinor = 6, HyperbolaFocus = 7,
  ParabolaFocus = 8, BSplineControlPoint = 9, BSplineKnotPoint = 10
}
 
enum  PointPos { none, start, end, mid }
 define if you want to use the end or start point More...
 

Functions

PyObjectinitModule ()
 

Typedef Documentation

◆ SketchObjectPython

Enumeration Type Documentation

◆ ConstraintType

Important note: New constraint types must be always added at the end but before 'NumConstraintTypes'. This is mandatory in order to keep the handling of constraint types upward compatible which means that this program version ignores later introduced constraint types when reading them from a project file.

Enumerator
Coincident 
Horizontal 
Vertical 
Parallel 
Tangent 
Distance 
DistanceX 
DistanceY 
Angle 
Perpendicular 
Radius 
Equal 
PointOnObject 
Symmetric 
InternalAlignment 
SnellsLaw 
Block 
Diameter 
NumConstraintTypes 

◆ InternalAlignmentType

Enumerator
Undef 
EllipseMajorDiameter 
EllipseMinorDiameter 
EllipseFocus1 
EllipseFocus2 
HyperbolaMajor 
HyperbolaMinor 
HyperbolaFocus 
ParabolaFocus 
BSplineControlPoint 
BSplineKnotPoint 

◆ PointPos

define if you want to use the end or start point

Enumerator
none 
start 
end 
mid 

Function Documentation

◆ initModule()

PyObject* Sketcher::initModule ( )