Table of Contents

CadHatchOriginMode

from OpenCAD2D import CadHatchOriginMode

class CadHatchOriginMode(System.Enum) ยท CadHatchOriginMode in the .NET reference

Where a hatch's pattern is laid from, as AutoCAD's HPORIGINMODE holds it.

Values

BottomLeft

.NET

BottomLeft: ClassVar[CadHatchOriginMode]

The bottom left corner of the box round the hatch's outer loops.

BottomRight

.NET

BottomRight: ClassVar[CadHatchOriginMode]

The bottom right corner of the box round the hatch's outer loops.

Center

.NET

Center: ClassVar[CadHatchOriginMode]

The middle of the box round the hatch's outer loops.

Current

.NET

Current: ClassVar[CadHatchOriginMode]

The origin given (CadHatchSettings.OriginX and CadHatchSettings.OriginY), nought nought as AutoCAD starts.

TopLeft

.NET

TopLeft: ClassVar[CadHatchOriginMode]

The top left corner of the box round the hatch's outer loops.

TopRight

.NET

TopRight: ClassVar[CadHatchOriginMode]

The top right corner of the box round the hatch's outer loops.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int