MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstGCommand Class Reference
Inheritance diagram for mrmeshpy.ConstGCommand:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f arcCenter (self)
ArcPlane arcPlane (self)
float feed (self)
MoveType type (self)
float x (self)
float y (self)
float z (self)

Static Protected Attributes

typing _offsetof_arcCenter = 24
typing _offsetof_arcPlane = 4
typing _offsetof_feed = 8
typing _offsetof_type = 0
typing _offsetof_x = 12
typing _offsetof_y = 16
typing _offsetof_z = 20

Detailed Description

Generated from:  MR::GCommand

A single G-code move command

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstGCommand.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstGCommand) -> None

2. __init__(self: meshlib.mrmeshpy.ConstGCommand, arg0: meshlib.mrmeshpy.ConstGCommand) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstGCommand, type: meshlib.mrmeshpy.MoveType, arcPlane: meshlib.mrmeshpy.ArcPlane, feed: float, x: float, y: float, z: float, arcCenter: meshlib.mrmeshpy.ConstVector3f) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstGCommand, : meshlib.mrmeshpy.ConstGCommand) -> None

Member Function Documentation

◆ arcCenter()

ConstVector3f mrmeshpy.ConstGCommand.arcCenter ( self)
if type is ArcCW or ArcCCW center of the arc should be specified

Reimplemented in mrmeshpy.GCommand, and mrmeshpy.GCommand.

◆ arcPlane()

ArcPlane mrmeshpy.ConstGCommand.arcPlane ( self)
plane of the arc; only relevant when type is ArcCW or ArcCCW

Reimplemented in mrmeshpy.GCommand, and mrmeshpy.GCommand.

◆ feed()

float mrmeshpy.ConstGCommand.feed ( self)
feedrate for move

Reimplemented in mrmeshpy.GCommand, and mrmeshpy.GCommand.

◆ type()

MoveType mrmeshpy.ConstGCommand.type ( self)
type of command GX (G0, G1, etc). By default - G1

Reimplemented in mrmeshpy.GCommand, and mrmeshpy.GCommand.

◆ x()

float mrmeshpy.ConstGCommand.x ( self)
coordinates of destination point

Reimplemented in mrmeshpy.GCommand, and mrmeshpy.GCommand.

◆ y()

float mrmeshpy.ConstGCommand.y ( self)

◆ z()

float mrmeshpy.ConstGCommand.z ( self)

Member Data Documentation

◆ _offsetof_arcCenter

typing mrmeshpy.ConstGCommand._offsetof_arcCenter = 24
staticprotected

◆ _offsetof_arcPlane

typing mrmeshpy.ConstGCommand._offsetof_arcPlane = 4
staticprotected

◆ _offsetof_feed

typing mrmeshpy.ConstGCommand._offsetof_feed = 8
staticprotected

◆ _offsetof_type

typing mrmeshpy.ConstGCommand._offsetof_type = 0
staticprotected

◆ _offsetof_x

typing mrmeshpy.ConstGCommand._offsetof_x = 12
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstGCommand._offsetof_y = 16
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstGCommand._offsetof_z = 20
staticprotected

The documentation for this class was generated from the following file: