G3 Helix pitch

Discussions and examples of Parametric programming in UCCNC

G3 Helix pitch

Postby MarcoGaspar » Tue Mar 25, 2025 1:01 pm

Hello,

How to define the Helix pitch?

"To interpolate an arc or helix in the center format, program G2 (or G3) X... Y... Z... I... J... K... ,
where X and Y and Z are the endpoint coordinates and
– if the G17 plane is selected then I and J specifies the center of the arc.
– if the G18 plane is selected then I and K specifies the center of the arc.
– if the G19 plane is selected then J and K specifies the center of the arc.
"
MarcoGaspar
 
Posts: 29
Joined: Sun Dec 08, 2024 9:21 pm
Location: Portugal

Re: G3 Helix pitch

Postby cncdrive » Tue Mar 25, 2025 1:46 pm

Well, there are 3 linear axis in the coordinate system, XYZ and the 3rd axis which is not on the arc plane is which defines the helix height.
For example in G17 the XY plane is selected, then the 3rd axis is the Z, so if you code Z coordinate different then the starting Z coordinate then it will be a helix.
cncdrive
Site Admin
 
Posts: 5115
Joined: Tue Aug 12, 2014 11:17 pm

Re: G3 Helix pitch

Postby MarcoGaspar » Tue Mar 25, 2025 2:00 pm

cncdrive wrote:Well, there are 3 linear axis in the coordinate system, XYZ and the 3rd axis which is not on the arc plane is which defines the helix height.
For example in G17 the XY plane is selected, then the 3rd axis is the Z, so if you code Z coordinate different then the starting Z coordinate then it will be a helix.



Yes Z Defines a helix but how to do pitch of helix?


In linuxcnc "P" defines the mumber of helix turns.
https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g2-g3
MarcoGaspar
 
Posts: 29
Joined: Sun Dec 08, 2024 9:21 pm
Location: Portugal

Re: G3 Helix pitch

Postby ger21 » Tue Mar 25, 2025 5:19 pm

Pitch is Z depth in 1 revolution.
If you want to make multiple passes, you call multiple G2 or G3 lines, like this.
Pitch is 0.25.

G0 X50.1828 Y23.0854 Z0.1250
G1 X50.1828 Y23.0854 Z0.0000 F10
G2 X50.1828 Y23.0854 Z-0.2500 I0.0000 J-0.2500 F20
G2 X50.1828 Y23.0854 Z-0.5000 I0.0000 J-0.2500
G2 X50.1828 Y23.0854 Z-0.5000 I0.0000 J-0.2500
G0 X50.1828 Y23.0854 Z0.1250
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2765
Joined: Sat Sep 03, 2016 2:17 am


Return to Parametric Programming

Who is online

Users browsing this forum: No registered users and 1 guest