helicalYZ()
Describe
Use clockwise arcs or counterclockwise to draw the helical lines. The direction is seen from the positive direction of the X-axis where the circular motion occurs.
This method uses the center mode to control the helical path and uses the positive and negative values of the rotation angle to select clockwise or counterclockwise.
If you want to know about various exercise methods, please refer to the exercise method explanation page for details.
Grammar
machine.helicalYZ(cY, cZ, dstX, theta); machine.helicalYZ(cY, cZ, dstX, theta, feedrate);
Parameter
machine
: It is an object of Machine
. .
cY
: The Y coordinate of the center of the circle in the center mode. .
cZ
: Z coordinate of the center of the circle in the center mode. .
dstX
: Target X coordinate, that is, when the arc is moved, the axis is moved to the target coordinate. .
theta
: The angle to rotate, use positive value clockwise, and negative value counterclockwise. .
feedrate
: Feed speed, the last recorded feed speed will be used when no parameters are transferred. .
Return
bool
:
true: The machine exists and is created successfully.
false: The machine does not exist or failed to create.
Example
Set the basic parameters of the machine and spiral the machine on the YZ plane.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
See also
Function library reference
The text of the 86Duino reference follows the Creative Commons Attribution-ShareAlike 3.0 License. Code examples in reference materials have been published in the public domain.