Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Drawing_Hatch Class Reference

Hatch Hatch.hxx cadex/Drawing/Hatch.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Drawing_Hatch:
manufacturingtoolkit.CadExMTK.Drawing_Element manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self)
 Constructor.
 
 AddContour (self, *args)
 
 NumberOfContours (self)
 Returns the number of hatch contours.
 
 Contour (self, theIndex)
 Returns the contour.
 
 TypeOfContour (self, theIndex)
 Returns the type of hatch contour.
 
 SetStyle (self, theStyle)
 
 Style (self)
 Returns the style for the hatch pattern.
 
 SetPattern (self, thePattern)
 
 Pattern (self)
 Returns the pattern of the hatch.
 
 SetScale (self, theScale)
 Set the scale of the hatch.
 
 Scale (self)
 Returns the scale of the hatch.
 
 SetAngle (self, theAngle)
 Set the angle of the hatch.
 
 Angle (self)
 Returns the angle of the hatch.
 
 AddDefinitionLine (self, theDefinitionLine)
 
 NumberOfDefenitionLines (self)
 Returns the number of definition lines.
 
 DefinitionLine (self, theIndex)
 Returns the definition line.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Drawing_Element
 SetUuid (self, theUuid)
 
 Uuid (self)
 
 Accept (self, theVisitor)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Static Public Attributes

 PatternType_Solid = _CadExMTK.Drawing_Hatch_PatternType_Solid
 
 PatternType_ANSI_31 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_31
 
 PatternType_ANSI_32 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_32
 
 PatternType_ANSI_33 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_33
 
 PatternType_ANSI_34 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_34
 
 PatternType_ANSI_35 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_35
 
 PatternType_ANSI_36 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_36
 
 PatternType_ANSI_37 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_37
 
 PatternType_ANSI_38 = _CadExMTK.Drawing_Hatch_PatternType_ANSI_38
 
 PatternType_ISO_02 = _CadExMTK.Drawing_Hatch_PatternType_ISO_02
 
 PatternType_ISO_03 = _CadExMTK.Drawing_Hatch_PatternType_ISO_03
 
 PatternType_ISO_04 = _CadExMTK.Drawing_Hatch_PatternType_ISO_04
 
 PatternType_ISO_05 = _CadExMTK.Drawing_Hatch_PatternType_ISO_05
 
 PatternType_ISO_06 = _CadExMTK.Drawing_Hatch_PatternType_ISO_06
 
 PatternType_ISO_07 = _CadExMTK.Drawing_Hatch_PatternType_ISO_07
 
 PatternType_ISO_08 = _CadExMTK.Drawing_Hatch_PatternType_ISO_08
 
 PatternType_ISO_09 = _CadExMTK.Drawing_Hatch_PatternType_ISO_09
 
 PatternType_ISO_10 = _CadExMTK.Drawing_Hatch_PatternType_ISO_10
 
 PatternType_ISO_11 = _CadExMTK.Drawing_Hatch_PatternType_ISO_11
 
 PatternType_ISO_12 = _CadExMTK.Drawing_Hatch_PatternType_ISO_12
 
 PatternType_ISO_13 = _CadExMTK.Drawing_Hatch_PatternType_ISO_13
 
 PatternType_ISO_14 = _CadExMTK.Drawing_Hatch_PatternType_ISO_14
 
 PatternType_ISO_15 = _CadExMTK.Drawing_Hatch_PatternType_ISO_15
 
 PatternType_Custom = _CadExMTK.Drawing_Hatch_PatternType_Custom
 
 StyleType_Standard = _CadExMTK.Drawing_Hatch_StyleType_Standard
 
 StyleType_Mirrored = _CadExMTK.Drawing_Hatch_StyleType_Mirrored
 
 StyleType_Double = _CadExMTK.Drawing_Hatch_StyleType_Double
 
 ContourType_Inner = _CadExMTK.Drawing_Hatch_ContourType_Inner
 
 ContourType_Outer = _CadExMTK.Drawing_Hatch_ContourType_Outer
 

Detailed Description

Hatch Hatch.hxx cadex/Drawing/Hatch.hxx.

Represents an area filled with a pattern.

The hatch pattern can be composed of solid, dashed or dash-doted lines. The pattern can be mirrored or composed with its mirror image to create double hatch. It follows the scheme used by AutoCAD to represent the set of ANSI-standard hatch patterns.

Three types of pattern styles are supported:

  • Standard
    Example of standard hatch pattern style
  • Mirrored
    Example of mirrored hatch pattern style
  • Double
    Example of double hatch pattern style

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Drawing_Hatch.__init__ ( self)

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.Drawing_Element.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Drawing_Hatch.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Drawing_Hatch.CompareType ( theObject)
static

The documentation for this class was generated from the following file:
  • CadExMTK.py