class documentation
Represents an ARC command with circular and ending points.
Class |
|
Represents a point in 3D space with an additional rotation component. |
Class Method | unpack |
Unpacks a bytes sequence into a tagARCCmd object. |
Method | pack |
Packs the tagARCCmd object into a bytes sequence. |
Class Variable | circ |
Undocumented |
Class Variable | to |
Undocumented |
Unpacks a bytes sequence into a tagARCCmd object.
Parameters | |
data:bytes | The bytes to unpack, expected to be 64 bytes (2 packed Point objects). |
Returns | |
tagARCCmd | A tagARCCmd object. |
Raises | |
struct.error | If the input bytes are not the expected size (64 bytes). |
Packs the tagARCCmd object into a bytes sequence.
Packs the circPoint and toPoint objects sequentially.
Returns | |
bytes | A bytes object representing the packed data (32 + 32 = 64 bytes). |