This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mp:lathe_matrix [2021/10/19 15:47] – russell | mp:lathe_matrix [2023/01/19 15:52] (current) – allan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Lathe Config Matrix ====== | ====== Lathe Config Matrix ====== | ||
| - | Any supplementary info on this post section goes here. The toggles in this section should be used first //instead of changing any string selectors for output in the post.// | + | //Any supplementary info on this post section goes here//\\ |
| + | The toggles in this section should be used first //instead of changing any string selectors | ||
| + | Ex: don't ever change the following section in a lathe post, as these controls are in the sections below: | ||
| + | |||
| + | < | ||
| + | # Select work plane G code | ||
| + | sg17 : " | ||
| + | sg19 : " | ||
| + | sg18 : " | ||
| + | sgplane : "" | ||
| + | |||
| + | fstrsel sg17 plane$ sgplane 3 -1 | ||
| + | </ | ||
| + | |||
| + | All below settings are specific to spindle/ | ||
| Note, all changes are made in the final sections, the initial sections are just descriptions and notes. | Note, all changes are made in the final sections, the initial sections are just descriptions and notes. | ||
| Line 12: | Line 26: | ||
| </ | </ | ||
| - | lathetype determines which axis combo section is used below, based on the axis combos of the machine def. Don't worry about the numbering, as the turret/ | + | '' |
| < | < | ||
| Line 33: | Line 47: | ||
| </ | </ | ||
| - | The below section dictates the G2/G3 and G41/G42 directions on each plane. These are linked so they change together when toggled. It is not typical for G2/G3 and G41/G42 to be unlinked in direction. Switching C/D/E for any toolpath type switches the compensation for that toolpath type. ex: setting to 1 for "Right Face cut" will flip the G2/G3 and G41/G42 directions for only "Right Face cut" toolpaths. | + | The below section dictates the G2/G3 and G41/G42 directions on each plane. These are linked so they change together when toggled. It is not typical for G2/G3 and G41/G42 to be unlinked in direction. Switching C/D/E for any toolpath type switches the compensation for that toolpath type. ex: setting to 1 for "Right Face cut" will flip the G2/G3 and G41/G42 directions for only "Right Face cut" toolpaths. See [[mp: |
| < | < | ||
| Line 41: | Line 55: | ||
| </ | </ | ||
| - | The below section changes the plane selections associated with each mastercam plane. The convention here follows mastercam standard milling | + | The below section changes the plane selections associated with each mastercam plane. The convention here follows mastercam standard milling |
| - | Plane 0 - the XY plane of the current toolplane in milling paths, or the basic profile turning plane of turning toolpaths, so 2D arcs in the toolpath are plane 0 arcs. Set to G17/G18/G19 by toggle.\\ | + | Plane 0 - the XY plane of the current toolplane in milling paths, or the basic profile turning plane of turning toolpaths. Set to G17/G18/G19 by toggle.\\ |
| Face milling - typically G17 XY plane\\ | Face milling - typically G17 XY plane\\ | ||
| Cross milling - typically G19 YZ plane\\ | Cross milling - typically G19 YZ plane\\ | ||
| Line 63: | Line 77: | ||
| # H - Plane 2, 0 = G17, 1 = G19, 2 = G18 | # H - Plane 2, 0 = G17, 1 = G19, 2 = G18 | ||
| </ | </ | ||
| + | |||
| + | The following section is to flip axis directions/ | ||
| + | Perhaps this format can allow for special cases, where an axis flips on a certain type of cut, but we have not run into this. | ||
| < | < | ||
| Line 76: | Line 93: | ||
| # Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic | # Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic | ||
| </ | </ | ||
| + | |||
| + | The below section is only in CQ posts. Allows rad/ | ||
| < | < | ||
| Line 81: | Line 100: | ||
| # S - Y axis, 0 = radius, 1 = Diameter | # S - Y axis, 0 = radius, 1 = Diameter | ||
| # T - Z axis, 0 = radius, 1 = Diameter | # T - Z axis, 0 = radius, 1 = Diameter | ||
| - | </ | ||
| - | < | ||
| dia_mult_interp : 2 #X axis face interp, 0 = radius | dia_mult_interp : 2 #X axis face interp, 0 = radius | ||
| # | # | ||
| # 2 = not unique, set in table below | # 2 = not unique, set in table below | ||
| </ | </ | ||
| + | |||
| + | use_only_tl writes the 1st matrix section settings identically to every turret/ | ||
| < | < | ||
| Line 94: | Line 113: | ||
| #When configuring for multi-spindle/ | #When configuring for multi-spindle/ | ||
| </ | </ | ||
| + | |||
| + | All settings are changed below based on above descriptions. The standard settings are listed below. Note the 4 sections conform to lathtype as described above and to the four main axis combos in lathe machine definitions. | ||
| < | < | ||