WindFire NC ViewerWindFire ERP Open the viewer

WindFire NC Viewer documentation

Free browser G-code backplotter for 3, 4 and 5-axis mills and lathes. Your program never leaves your browser.

No section matches your search.

Getting started

Open windfire-ncviewer.aiinventorypro.com in a current browser. A sample program loads so you can look around straight away.

  1. Open a G-code file (any extension: .nc, .tap, .gcode, .mpf, .h, ...), drag a file onto the window, or use More > Paste a program.
  2. Click the code and type. Use Update plot (Ctrl/⌘+Enter) to review the changed toolpath or Discard changes to restore the last plotted version.
  3. Choose the machine type that matches your program (see below), then play it or click lines to step through it.

Files are processed only in your browser and are never uploaded. Large programs (hundreds of thousands of lines) show a progress bar while opening and reading, with a Cancel button.

NC Viewer main screen with program editor, 3D toolpath and panels
Figure 1. NC Viewer main screen with program editor, 3D toolpath and panels
  1. Program editor
  2. Open a file
  3. Plot (re-read the program)
  4. 3D view of the toolpath
  5. Position / info panel (DRO)
  6. View widget (cube, orbit, pan, zoom)
  7. Playback and timeline
  8. View options

Opening a program

Click Open in the toolbar to open the Open window.

The Open window with the drop zone, Browse and the sample cards
Figure 2. The Open window with the drop zone, Browse and the sample cards
  1. Drop zone: drag a G-code / NC file here
  2. Browse… opens the file picker
  3. Sample cards: this machine first, then the others by machine type
  1. Drop zone. Drag one or more G-code / NC files onto it (it lights up) or click Browse… to pick files. Several files at once work like opening them together: the main program and the programs it calls.
  2. Samples. Below the drop zone are sample programs. The ones for the current machine come first, then More samples, grouped by machine type. Click a card to load it; the viewer switches to that sample's machine and the window closes.
  3. Close the window with ×, Esc or a click outside it. You can also drop a file anywhere on the page without opening the window.

First visit. The Open window opens once by itself so you can try a sample or open your own program. A default sample is already loaded behind it. It does not open again on its own; use Open any time.

The file check

Before a file is read, the viewer checks that it looks like G-code or an NC program (ISO G-code and the supported dialects such as Heidenhain, Siemens, ShopBot and Okuma). The same check applies to Browse, drag and drop, several files and pasted text. Only the start of large files is examined.

A file that is not G-code is rejected inside the Open window
Figure 3. A file that is not G-code is rejected inside the Open window
  1. The drop zone (the file was dropped here)
  2. The message with the file name; the window stays open and the current program is unchanged

If the file is rejected you see "This file doesn't look like a G-code or NC program" with the file name. This means the file is an image, PDF, STEP / STL model, Office or zip file, plain text without NC words, or empty. Your current program is not changed. Open the right file, or rename nothing: the extension does not matter, only the content.

Viewer, Design and CAM

WindFire has three modules that work together. The switcher at the top of every screen, next to the WindFire name, shows all three and highlights the one you are in:

  • Viewer (NC Viewer) - read, edit and simulate G-code.
  • Design - model parts with sketches and features.
  • CAM - make toolpaths from a 3D model and post G-code.

Click a module to switch. In a narrow window or on a phone the switcher becomes one button, Modules: (current module) ▾; tap it to choose. The menu on the WindFire name has the same three entries.

Your work is kept when you switch. The program open in the Viewer comes back when you return to the Viewer in the same browser tab, also with the browser's Back button. When you are signed in, Design and CAM save your work before another module opens. When you are not signed in, they ask first, because their unsaved changes would be lost.

A typical path: model a part in Design, click Machine it to send it to CAM, make the toolpaths there, then open the program in the Viewer to check it.

Inch or mm programs

The viewer reads a program in the units it states: G20 = inch, G21 = mm (Siemens / Fagor G70 / G71, Heidenhain BEGIN PGM .. INCH / MM). A program that states neither runs in the control's power-on units, so the viewer uses, in this order:

  • your choice for this file (Read as inch / Read as mm),
  • the selected machine's default units (inch machines such as Haas, ShopBot and Mach routers),
  • the coordinate values (small values with 4 decimals, such as X1.2500, are inch).

When the units were assumed, the job summary and Notes say so, with a one-click switch to the other unit. If the part looks 25 times too small or too large, switch it there; the choice is remembered for that file. Stock sizes from the program header are read in the same units as the toolpath.

Choosing a machine

Pick the machine in the toolbar. Each type has its own kinematics and machine model:

  • 3-axis mill - vertical spindle, fixed table.
  • 4-axis mill, A or B rotary table - the part turns about X (A) or Y (B); stock is a cylinder.
  • 5-axis head-head (A/C or B/C) - both rotary axes are in the head (router style); the part never moves.
  • 5-axis head-table - the head tilts (A or B), the table turns (C).
  • 5-axis table-table (trunnion) - the table tilts and turns; the head only moves in XYZ.
  • Lathe X/Z - turning cycles, grooves, threads and boring, diameter or radius mode.

Part view draws the tool tip on the workpiece. Machine view animates the real axes, head, table and holder. Pivot lengths, rotary centre, limits and directions are set with ⚙.

5-axis head-head machine in Machine view
Figure 4. 5-axis head-head machine in Machine view
  1. Machine view
  2. Head, fork and C housing follow the program
  3. Program and machine coordinates
4-axis rotary program on a cylinder
Figure 5. 4-axis rotary program on a cylinder
  1. Cylindrical stock with dimensions
  2. A axis position
Lathe program with bar stock
Figure 6. Lathe program with bar stock
  1. Turned profile and tool
  2. Diameter and Z position

The editor

Click the line number to select a line without placing the text cursor. While the plot is out of date, playback and Program Check wait for the update. The More menu has an optional automatic update setting.

  • Click a line (or use the arrow keys) to move the tool to the end of that block; the 3D view and the DRO follow.
  • The editor toolbar has Undo, Redo, Find (Ctrl/Cmd+F), Replace (Ctrl/Cmd+H) and Go to line (Ctrl/Cmd+G). The same commands are in the More menu and in the right-click menu.
  • Find supports match case, whole word, regular expressions and skipping comments; Enter / Shift+Enter jump to the next / previous match.
  • Lines with a tool change show a small wrench icon in the gutter: click it to define that tool (see Tools).
  • Click the code to edit it directly. Choose Update plot to redraw. More > Save downloads the program.
Editor toolbar with find and replace open
Figure 7. Editor toolbar with find and replace open
  1. Undo / redo
  2. Find
  3. Search text
  4. Replace text
  5. Match counter
  6. Tool-change icon (define tool)

Editing many lines at once

Edit selected lines changes one word (X, Y, Z, A, B, C, F, S; I, J, K, R under More) on many lines in one step. It is not a text find and replace: each line's own value is read, a new value is computed for that line, and only that one number is rewritten. Everything else on the line - other words, order, spacing, comments, block numbers, upper or lower case - stays exactly as written, and the new number follows the program's own number style (for example 25. or 25.000).

  • Select lines: drag along the line numbers, Shift+click, Shift+arrow keys, or Ctrl/Cmd+A for the whole program. The editor header shows how many lines are selected. On a phone, type the first and last line in the panel.
  • Open the panel with the edit icon in the editor toolbar, Ctrl/Cmd+E, or right-click > Edit selected lines… (the right-click menu also has Copy, Define tool… and Plot from line).
  • Change: Set to a value, Add / subtract a delta, Scale by a factor about 0 or about a pivot value, Smooth (strength 1-10; keep the first and last line fixed, or a straight line between the ends by path distance), Round to a number of decimals, or Remove the word.
  • Move X Y Z (also right-click > Move selected lines (X / Y / Z)…): shifts the geometry of the selection in one step, for example X 0.25 and Y -2 in an inch program. Absolute X / Y / Z values get the offset; incremental (G91) moves stay as written because they follow the moved points; canned-cycle R levels move with Z; absolute arc centres (G90.1) move too. If a cutting move takes its start point from before the selection, the moved coordinate is added to that line and the panel tells you; select the positioning move above it as well for a clean entry.
  • Apply to: only lines that already have the word, or all selected lines (the word is added where it is missing, starting from the modal value at that line). Rapid moves (G0) are skipped by default; comment-only lines can be skipped too. Blocks such as G28, G53 or G92, macro statements and values written as expressions are never changed.
  • Smoothing works on the sequence of values along the selected moves, weighted by path distance. Rotary words are unwrapped first and kept inside the machine's limits.
  • In G91 (incremental) the incremental values are changed; the panel warns that every later position shifts.
  • The preview lists every selected line with the value before and after (untouched lines are greyed with the reason), a small graph, the number of lines changed, the largest change, the largest tool-tip movement (worked out with the machine kinematics, TCP aware) and a check against the machine's axis limits. Values outside the limits are shown in red and block Apply unless you tick Allow values outside the limits.
  • Apply is a single undo step (Ctrl/Cmd+Z). The Plot button then shows a dot until you re-plot; tick Plot after apply to redraw at once.
Edit selected lines panel with Smooth B on a 5-axis program
Figure 8. Edit selected lines panel with Smooth B on a 5-axis program
  1. Selection count
  2. Word to change
  3. Change: set, add, scale, smooth, round, remove
  4. Which lines to apply to
  5. Before / after graph
  6. Lines changed, max change and tool-tip displacement
  7. Preview of every selected line
  8. Apply (one undo step)

Navigating the 3D view

  • Mouse: left drag = orbit, right drag = pan, wheel = zoom. Touch: one finger orbits, two fingers pan and zoom.
  • The view widget: drag the cube or the inner ball to orbit freely, drag the ring to roll, click a cube face, edge or corner to snap to that view. The cube always matches the current orientation.
  • Presets Iso, Top, Front, Right and Fit (F) are in the view options panel, together with rapids, path ahead, tool, stock outline, extents, grid, dimensions, colouring and display units (mm / inch).
  • Measure picks two points (snapping to path points) and shows the distance and dX/dY/dZ.

Playback and timeline

Use the play bar to play / pause (Space), step one block back or forward (Left / Right, Shift = 10 blocks), jump to the start or end (Home / End) and drag the timeline. The timeline follows the estimated machine time; the speed slider changes the playback rate. The DRO shows program and machine coordinates, feed, spindle, tool, coolant and the active modal codes.

Picking on the toolpath

Hover the path to see the line, move type and coordinates of that point. Click the path to jump there: the tool moves to that point and the editor scrolls to its line.

Stock

The stock is taken from the program header when present (STOCK BLOCK / CYL / BAR comments, Siemens WORKPIECE, Heidenhain BLK FORM, common CAM headers); otherwise it is estimated from the cutting moves. The source is shown in ⚙ settings.

  • Stock in the toolbar switches the material-removal simulation on or off. Milling uses a heightmap (3-axis), a rotary model (4-axis) or a tri-dexel model (5-axis); lathes use a turned profile. Every cutter removes material with its exact profile.
  • Dimensions draws L x W x H (block) or L x Ø (round stock) on the stock; the same numbers appear in the job summary.
  • In ⚙ settings you can type the stock position and size, or press Fit to toolpath.
Machined stock with automatic dimensions
Figure 9. Machined stock with automatic dimensions
  1. Stock on / off
  2. Dimensions on / off
  3. Machined stock with L x W x H
  4. Job summary with the stock size
Machine, stock and tool settings dialog
Figure 10. Machine, stock and tool settings dialog
  1. Rotary axes, direction and limits
  2. Pivot, rotary centre, home, rapid rate
  3. Stock for this program
  4. Fit to toolpath

Tools

Auto-detect: tool comments such as (T2 D=12 FLAT END MILL), (T3 1/2 BALL), (T4 #7 DRILL) or (T5 1/4-20 TAP) are matched to the closest library tool, with a holder for the machine's taper.

Inch / mm rules: every library tool and holder has one native unit. G20 programs use inch tools (fractional, number and letter sizes, inch shanks), G21 programs use metric tools. Unit hints in the comment win (fractions, inch marks, MM). A tool from the other unit is only used for an exact standard size, and then it is flagged. CAT40 holders are inch, BT40 / HSK holders metric, ER collet nuts metric.

  • More > Tools and holders opens the library browser: cards with 3D previews, filters (type, inch / metric, diameter, series), a rotatable 3D preview with the holder at the set stick-out and dimensioned side views.
  • Click the wrench icon on a tool-change line for the compact Define tool popover: Auto-detected, Library or Custom, holder, mini side views, Apply.
  • Define your own tool: flat, ball, bull nose, chamfer / V, spot drill, drill, tap, reamer, thread mill, engraving V-bit, T-slot / keyseat, lollipop, face / shell mill, dovetail, taper end mill and lathe inserts. Only the fields that apply are shown, values are checked and the preview updates as you type.
  • My tools are kept in this browser; use Export JSON / Import JSON to move them to another computer.
  • Inch, mm or both: the tool popover and Tools and holders open in your display units (the mm / inch choice in the view options). Switch with Inch / mm / Both. Search by name or by size in either unit: 1/4, 1-1/4, .125, 6mm, 6.35; a size typed with its unit (6mm, 1/4") finds tools in that unit. Every tool series has inch and metric sizes.
  • The machine, stock and tool settings button is labelled Setup. While the viewer is loading or working (reading a program, simulating stock, loading a sample) a bar under the toolbar and a spinner show what it is doing.
Tools and holders browser
Figure 11. Tools and holders browser
  1. Program tools (T numbers)
  2. Library, holders, your own tools
  3. Filters: type, inch / metric, diameter, series
  4. Tool cards with 3D previews
  5. Rotatable 3D preview with holder
  6. Dimensioned side views
  7. Diameter, flute length, stick-out, holder
Custom tool editor
Figure 12. Custom tool editor
  1. Tool type
  2. Geometry fields for this type
  3. Save to My tools / use for the T number
  4. My tools with JSON export and import
  5. Live 3D preview
Define-tool popover from the editor
Figure 13. Define-tool popover from the editor
  1. Current tool and unit
  2. Holder
  3. Auto-detected, Library or Custom
  4. Library list (program unit)
  5. Mini side views
  6. Apply

Reach and collision checks

For every tool the viewer works out how far the tool must reach below the stock top (including tilt in 5-axis). If the stick-out is too short it picks a longer library tool or marks the tool as long reach. During the stock simulation the holder / collet nut is checked against the stock, and rapid moves into material are flagged. Collisions are listed in the Notes and marked on the path.

This is a prove-out viewer with generic machines, not a certified collision simulator.

Rotary limits and over-travel

Rotary axes have realistic default limits (for example C ±360°, tilt about ±110°). Moves beyond a limit are not wrapped silently: the line gets a note such as C exceeds +360° travel limit and that part of the path is drawn red. Adjust limits, directions and the shortest-path option in ⚙ settings.

Ignored codes and notes

Codes the viewer does not need are ignored and left in the program exactly as written. The collapsed Notes list at the bottom of the editor counts problems (things that could not be drawn exactly), ignored codes and collisions; click a note to jump to its line.

Notes with ignored codes
Figure 14. Notes with ignored codes
  1. Counts of problems, ignored codes and collisions
  2. Click a note to jump to its line

Program Check

The Program Check button in the toolbar opens a panel that explains, in shop language, why a program may not run or plot correctly. It opens by itself when it finds a problem. The badge on the button shows the number of problems (red), warnings (amber) or a green tick when everything checked looks right.

  • Each item says what is wrong, why it matters on the machine, the likely cause and a suggested fix. Click a line number to jump to it in the editor and the 3D view.
  • Where it is safe there is a one-click fix: switch to the suggested machine, set the controller, use the pivot length from the header, open the tool or machine settings, or open the called programs.
  • Checks: program vs machine and controller, axes the machine does not have, ignored and controller-specific codes (for example M400 on a DMS-style Fagor router), commands hidden in comments such as (#RTCP ON or (G32), tool-tip tracking (RTCP/TCP) off while the head is tilted with the pivot and tool lengths used and where they came from, reversed rotary direction, big rotary swings and unwinds, rotary and linear travel limits, work offsets used but never set or only given in comment hints (ORGX54=...), cutting below the stock, rapids into the stock and holder collisions, cutter compensation without a diameter, bad arcs, feeds and spindle speeds, missing program end, calls to programs that are not open, mixed inch/mm and files that are not G-code.
  • Explain this line: right-click a line in the editor (long-press on a phone) to see every word explained for the current controller, plus the modal state (units, plane, work offset, tool-tip tracking, tool, feed mode).
  • Copy report copies a plain-text report (findings and line numbers, not your program) to paste into a forum or send to support.

Program Check runs entirely in your browser and is free; your program is not sent anywhere. It is a prove-out aid, not a guarantee: always run new programs with care.

Settings and panels

  • ⚙ opens machine, stock and tool settings for the selected machine; values are saved in this browser.
  • Panels shows or hides the floating panels (position / info, view options, job summary, view navigator, notes).
  • More has the language, editor commands, tools and holders, paste, save, light / dark theme and help.
  • Narrow windows: the toolbar always stays on one row. When there isn't room, the less-used buttons (Control, ⚙, Stock and so on) move to the top of More and come back when the window is wider.
  • Pivot labels (view options panel, off by default) shows the head pivot distance with its text on 5-axis heads: pivot to gauge line and gauge line to tool tip.

Controllers and M codes

Every machine has a controller profile: how its programs are written (comments, units, offsets, subprogram calls) and what its M codes mean. Profiles included: Fanuc, Haas, Siemens 840D, Heidenhain TNC (conversational and ISO), Fagor 8070 / 8065, Mazak (EIA/ISO), Okuma OSP, Hurco (ISNC and Basic NC), Mitsubishi M80 / M800, Brother Speedio, Doosan / Hyundai-WIA, DMG MORI MAPPS / CELOS, NUM Flexium+ and LinuxCNC.

  • The controller is detected from the program (for example BEGIN PGM, TRAORI, #RTCP, V.A.ORGT, G234, o-words) and shown in the job summary, e.g. Controller: Fagor 8070 / 8065 (auto). Choose another one in ⚙ > Controller and M codes.
  • The M-code map lists what each M code does on this machine: spindle, coolant, tool change, TCP / RTCP and tool length on or off, program stop and end, subprogram call and return, rotary clamp, table or pallet select, probe or custom. Machine presets add their own codes on top of the controller defaults (for example M400 / M401 on the DMS-style router).
  • Add or change a code in the table (changed rows are marked), remove a row, or press Reset M codes. Your codes are saved in this browser for the selected machine.
  • The plot uses what matters for drawing: TCP on / off, tool changes, spindle on / off (feed moves with the spindle stopped are reported and remove no stock), coolant (shown in the DRO), table select, program end and subprogram calls. Every other mapped code is listed quietly under Notes with its meaning, e.g. M12 → select table V.

DMS / Fagor-style (8070, ISG-like) programs

Programs posted for Fagor 8070 / 8065 controls (common on 5-axis routers) are read with Fagor rules:

  • G70 = inch, G71 = mm. Comments in ( ) and after ;. Instructions such as #HSC, #KIN ID and #UNLINK are kept and listed under Notes.
  • Zero offsets written by the program, V.A.ORGT[n].X=… (n = 1-6 for G54-G59), are applied. The first table offset the program selects becomes the part origin for drawing; the job summary shows where it sits in machine coordinates.
  • G53 on current Fagor profiles cancels the zero offset, the G92 preset and G158 until a new work origin is selected. An explicitly identified 8050/8055 uses one-block G53 when axes are written with it. #MCS temporarily uses machine coordinates, either for one block or until #MCS OFF. An unknown work offset leaves a gap between the machine approach and the work path.
  • G158 replaces the incremental offset on each named axis in the current units. It stays active through G54-G59 or G159. A bare G158 clears all of it. Setting or clearing these offsets does not move the head.
  • Legacy Fagor G51 is look-ahead, and G48 S1 / S0 turns TCP on or off. A DMS program with TCP off and unverified geometry opens in Programmed XYZ preview. The job summary can show the preset's estimated head path. Verify the actual machine pivot, tool length, and fixture offset for machine-space placement.
  • #RTCP ON / OFF, #TLC and machine codes such as M400 / M401 (DMS-style router) switch TCP and tool length compensation.
  • #EXEC / #CALL / #PCALL run other programs. Open the calling program together with the called ones (select several files or drop them together); they are matched by file name, ignoring the folder, case, extension, spaces and underscores, and drawn in order. A program that is not open is listed under Notes.
  • G41 / G42 cutter compensation is applied in the XY plane when the tool diameter is known (tool comment or tool settings); otherwise the programmed path is shown with a note.
  • A pivot length written in a comment such as (PIVOT DISTANCE..: 8.05) is used for the head unless you set one in ⚙.

Choose Router head-head B/C (DMS-style) for these programs: B/C fork head, inch display, TCP with M400 / M401, tables V (M12) and Y (M13). The viewer suggests it when a program looks like one of these.

Machine and control for each program

Every time you open a program (Open, drag and drop, Samples, the file list, programs opened together for #EXEC) the viewer checks which machine and control it was written for, from its code: axis words, lathe codes, process comments and controller-specific words.

  • If the program does not fit the selected machine, a prompt appears above the summary: Use the suggested machine, Keep the current one, or Choose another machine… from the full list (best matches first, with the same search and filters as the toolbar machine picker). Picking from the list switches at once. A machine of the same kind (same rotary axes, mill or lathe, and process) counts as fitting, so library and My machines do not trigger the prompt needlessly.
  • Your choice is remembered for that file name for this browser session and restored when you open the file again. Keeping the current machine applies to that one file only; the next file is checked again.
  • Toolbar: Machine: shows the current machine; click it to open the machine picker. Type to search: axis count (5 axis, 5-axis, 5ax), kind (mill, router, lathe, mill-turn, Swiss, plasma, laser, waterjet, EDM, HMC, VMC, trunnion, head-head, fork, nutating), maker (Haas, DMG MORI, Mazak, Okuma, Hermle, ShopBot…), model (UMC-750, VF-2TR, Integrex) or control (Fanuc, Siemens, Heidenhain, Fagor, LinuxCNC…). Every word must match; 5 axis haas lists every Haas 5-axis preset, with the matching model shown (fits: Haas UMC-750). Chips filter by axes (3, 4, 5), type (Mill, Router, Lathe / mill-turn, Cutting, EDM), maker and My machines. Arrow keys and Enter choose, Esc closes; recently used machines are listed first. At the bottom of the picker: Control, Machine editor… and the flip boxes for the rotary axes. English search words work in every language. Control: is Auto by default and shows the detected control; choose a control there (or in ⚙) to override it for this file.
  • The control is detected from the program's code (for example BEGIN PGM, TRAORI, #RTCP, G43 H, M6, O-numbers). Only when the code gives no clue is the machine's own control used; the summary then says machine default - the program gives no clue.
  • Trim programs (mostly side trimming with a near-horizontal tool, or named / commented TRIM) and programs without cutting moves get no solid stock block: the summary says the stock is not simulated. Set the stock in ⚙ to simulate it.
  • Twin tables: in Machine view each program-written table offset (for example G55 and G56) keeps its table at its real machine position and its toolpath is drawn on it; the active table is highlighted. Part view overlays the parts in part coordinates.

Supported controls and what differs

The same code does not mean the same thing on every control. The viewer reads each program with the rules of its control (detected, or chosen under Control:):

  • Fanuc, Mazak, Mitsubishi, Brother, Doosan / Hyundai-WIA, DMG MORI MAPPS: G68.2 (Euler Z-X'-Z'') with G53.1, G43.4 TCP, G43.5 I J K tool vectors, G10 L20 writes the offset value, a number without a decimal point is the least increment when the program mixes styles (X20000 = 20 mm). Mitsubishi M98 H, Brother G100 tool change with positioning (L = next tool).
  • Haas: G254 dynamic work offset (rotated about the part origin), G234 TCPC (a G0 that turns a rotary is drawn as the axes move), G28 on a rotary goes to the nearest zero.
  • Siemens 840D / ONE: ; comments only, CYCLE800 (rotation order from its mode), TRAORI with A3= B3= C3= vectors, CR=, TURN=, AC() IC() DC() ACP() ACN(), G700 / G710 (also feed), TRANS / ROT / MIRROR / SCALE, subprograms L123, CALL, EXTCALL and bare names.
  • Heidenhain conversational: L C CC CR CT RND CHF, PLANE SPATIAL / EULER / VECTOR / PROJECTED / POINTS / RELATIV / AXIAL / RESET with TURN or STAY, FUNCTION TCPM / M128, LN ... TX TY TZ, CYCL DEF 7 / 8 / 10 / 11 / 19, drilling cycles called with M99 / CYCL CALL, LBL / CALL LBL / CALL PGM, ~ continuation, M91 / M92 (drawn like G53), M126, M94, M140 MB, units and BLK FORM from the header.
  • Heidenhain ISO: units from %NAME G70/G71, I J = absolute circle centre, G54 X.. = datum shift, G28 X = mirror, G73 = rotation, G80 A B C = working plane, M99 = cycle call (never a return), G98 L labels and L1,0 calls.
  • Fagor 8070 / 8065: G159=n, G10-G13 mirror, G73 rotation, G93 = block time in seconds, G6 / G261 / G262 arc centres, #CS / #ACS (MODE 1 and 2) with #TOOL ORI.
  • Okuma OSP: G56 / G53 = tool length on / off, G15 H work offsets, CALL OO88 tilted plane (work offset turned with the table), G169 TCP, M15 / M16 rotary direction, CALL O.. Q.. / RTS, VC variables.
  • Hurco: G68.2 X Y Z I J K U V W (I J K = new X axis, U V W = new Y axis), M128 + G43.4 (G40 also cancels it), M31 rotary reset. Basic NC: G70 / G71 and absolute arc centres.
  • NUM Flexium+: G150 iPLANE, G151 RTCP (modulo rotaries take the short way), absolute arc centres in G90, G77 H calls to %n programs.

Rotary axes never draw phantom full turns: unwinding codes and display resets (M94, M31, G92 on a rotary) do not move, G28 goes to the nearest zero, and direction codes (DC / ACP / ACN, M126, M15 / M16) pick the way round. Machines whose rotary display wraps at 360° can be set in ⚙ (rollover). Facts that depend on the machine (marked to check in the research) are listed under Control options in ⚙ > Controller and M codes, for example how numbers without a decimal point are read.

Machines and kinematics

Every machine is described as a kinematic chain: the axes from the machine frame out to the part (table side) and out to the tool (head side). Each axis has a letter, a side, linear or rotary, a direction, a pivot or offset, travel limits and a home value. The viewer computes the tool tip and tool axis from the chain (forward kinematics) and, for TCP / tilted-plane moves, the machine positions from the tip (inverse kinematics), so any arrangement of axes plots correctly.

  • Machine library (free, generic names): vertical machining center (VMC) 3-axis and with a 4th axis, horizontal machining center (HMC) with a B pallet, gantry routers (single table, twin tables, dual Z), 5-axis head-head (fork head and 45° nutating head), head-table and table-table trunnion with offset pivots, mill-turn (C and Y axes, B milling head), 2-axis lathe, lathe with sub-spindle, Swiss-type, plasma, laser, waterjet, tangential knife and wire EDM with U/V taper. Each comes with a sample program under Samples. Also: router with a rotary along X, lathe with live tools and C axis, mill-turn with a Y axis, plasma table with a bevel head, tube cutter, 5-axis waterjet and straight-wire EDM; each has a kerf field for G41 / G42 and a What the machine does setting.
  • Head pivots: in Machine view every 5-axis head shows its rotation centres (orange sphere and line for the tilt axis, blue for C) and, with Dimensions on, the pivot length split into pivot to gauge line and gauge line to tool tip. They come from the machine file, so changing the pivot length in ⚙ or the editor moves them and the tool. Twin-table programs are drawn on their own tables in Machine view.
  • Each machine also carries its controller profile and M-code map, default units, spindle / holder, tool changer and its tables, pallets and work holders with their work offsets. A work holder with Mirror Z and an offset (sub-spindle) draws the moves in its work offset (for example G55) mirrored and at the transfer position.
  • Machine editor: ⚙ > Machine editor…. Start from any machine, change or add axes (order: from the frame outward on each side), set pivots and limits, and watch the live 3D preview: move each axis with its slider and read the tool tip and tool axis in part coordinates. Save to My machines keeps it in this browser; Export JSON / Import JSON… move it to another computer or share it. Problems (a letter used twice, a rotary that is not A, B or C, more than six axes) are listed before saving.
  • Sign: a + command always moves the tool + relative to the part. A table axis therefore moves the part the other way; use the ± column to flip an axis that turns the wrong way.
  • Wire EDM: U and V move the upper guide; the wire runs from the program point (lower guide) to the upper guide, the guide height above. Dual Z: W moves the second head; the plotted path is the first head's.
  • Which machine: when you open a program the viewer checks its axis words (A, B, C, U, V, W), lathe codes and process comments (plasma, laser, waterjet, knife, wire, sub-spindle, Swiss) and offers the matching library machine; see Machine and control for each program.

Plasma, laser, waterjet, knife and wire EDM machines show the cutting path; stock removal is not simulated for them.

Controls, cutting machines and multi-channel programs

The viewer reads programs for many controls, not only Fanuc / Haas style. It picks the control from the program (or from the machine) and you can always choose it under ⚙ > Controller.

  • Controls: Fanuc and Haas style, Siemens 840D (milling and turning: TRANSMIT, TRACYL, DIAMON), Heidenhain, Fagor, LinuxCNC (including G5 / G5.1 splines), Mach3 / Mach4, grbl / FluidNC, MASSO, ShopBot (.sbp, translated to G-code before drawing), Biesse / SCM / Homag routers with ISO output, OSAI / Thermwood, Okuma lathes (LAP cycles, two turrets), Mazak / Mitsubishi lathes with G-code system A, B or C, Swiss-type controls, plasma (Hypertherm, QtPlasmaC, Burny), laser and waterjet controls, and wire EDM (Fanuc, Mitsubishi, Sodick, Agie, Makino).
  • Not G-code: machine-native files (Biesse .bpp / CIX, Homag .mpr, SCM Xilog, Mazatrol, Okuma .ord) are recognised and a short message explains how to get ISO / G-code from your CAM; nothing is drawn.
  • Cutting machines: plasma, laser and waterjet programs draw a cut only while the torch / beam / jet is on (M3 / M5, M7 / M8 and similar, set per control); the rest is travel. The summary counts the pierces. Marking moves (scribe, pen, marker) are drawn as marking, not cutting.
  • Wire EDM: taper with G51 / G52 (Agie: G28 / G29) and an angle tilts the wire to the left or right of the path at the guide height; corners turn the wire with the path. G50 cancels the taper.
  • Multi-channel machines: a line holding only $1, $2 (Swiss paths) or the channel header of the machine (for example G13 / G14 on a two-turret lathe) starts that channel. Each channel starts from home with its own modes; a back-spindle channel can be mirrored and shifted. Wait points (!2L1, M100 and similar) are shown as notes. Choose Colour: by channel / path to tell the channels apart. Edit the channels in the machine editor.
  • Pallets and twin tables: M60 / pallet M-codes switch to the next pallet table; router twin tables draw each work offset on its own table in Machine view.
  • Lathe G-code systems: on Mazak / Mitsubishi style controls with system B or C, G90 / G91 mean absolute / incremental, box cycles are G77 / G78 / G79 (system C also G20 / G21 / G24), G92 sets the coordinates and G94 / G95 select feed per minute / per revolution.
  • Polar and cylindrical interpolation (G12.1 / G112, G7.1 / G107, TRANSMIT, TRACYL) need a machine with a C axis; the path is drawn on the part.
  • New in v1.8.2: tick or untick each channel in the summary to show or hide it; the time estimate lets channels run at the same time between their wait points (the summary also gives the one-after-the-other time); laser machines show the power as % of the machine's S maximum in the position display (set it in the machine editor); wire EDM taper draws the upper guide contour in orange apart from the lower, programmed contour.

Codes for OEM macros and options that are not in the file are listed in the Notes and skipped.

Check your machine's directions

A wrong rotary sign is the most common reason a 4- or 5-axis plot looks wrong: the part looks mirrored, the tool tilts the wrong way or a wrap comes out backwards. The viewer uses the ISO convention: a + command turns the tool relative to the part right-handed about the axis. Most industrial machines follow it; desktop 5-axis machines, the Mach3 / MASSO / ShopBot 4th-axis defaults, the DMG MORI NHX B table and some router heads do not, and their presets ship with the axis reversed. Any axis can also be reversed on a real machine (post property, wiring, machine parameter), so check once per machine.

Do this at low feed, with a short tool or no tool and the rotaries clear of everything, standing at the operator position. If an axis turns the other way, open ⚙ > Machine editor… and set ± to −1 for that axis.

  1. +X and +Y as the program sees them: jog X+ and Y+ and watch the tool relative to the table (on a moving-table machine the table moves the other way).
  2. C on the table: mark the +X edge of the table and jog C+ 30°. The mark moves toward the front (clockwise seen from the spindle): keep +1. Counter-clockwise: −1.
  3. A tilt on the table (trunnion along X): jog A+ 20°. The table face turns toward the back (the column): keep +1. Toward you: −1.
  4. B tilt on the table (trunnion along Y): jog B+ 20°. The table face turns toward your left (−X): keep +1. Toward +X: −1.
  5. B head: jog B+ 20°. The top of the spindle leans to +X and the tool tip swings toward −X: keep +1.
  6. A head: jog A+ 20°. The top of the spindle leans toward you and the tip swings toward the back: keep +1.
  7. C head: at B0 (or A0) jog C+ 30°. The head turns counter-clockwise seen from above: keep +1.
  8. Horizontal machining center, B table (seen from above, Z along the spindle): ISO is B+ turning the part so that its +X face comes round toward the spindle. If it is the −X face: −1. Posts disagree here, so this check matters.
  9. Lathe C (main spindle): mark the top of the chuck and jog C+ 30°. ISO: the part turns clockwise seen from the tailstock toward the chuck. Counter-clockwise: −1. A sub-spindle C is normally the mirror of the main one.
  10. Mill-turn B head: jog B from 0 toward 90. B0 points the tool at the chuck face (along the spindle axis), B90 straight down at the centre line from the +X side. If B+ swings the tool toward −X: −1. In the machine editor, "Tool at rotary 0" must say "along the spindle axis" for these heads.
  11. Confirm in the viewer: open the sample for your machine kind (Open window) or a 3-line program such as B30. with TCP on, and check that the tool leans the same way as the machine did.
  12. Confirm with your post: post a hole on the part's +X face with TCP on and open it: the tool must come in from +X.

Library presets list the real machines they fit and mark the values to check (pivot length, rotary centre, travels) under About this preset in the machine editor. Pivot lengths and rotary centres only matter for programs posted without TCP.

Flip B / C (rotary direction)

If the spindle or head is drawn on the wrong side of the cut, the viewer may be turning a rotary axis the other way than your machine. Flip reverses the direction the viewer uses for that axis. The program is not changed.

  • Quick toggle: in the position panel (DRO), click the ⇄ button next to A, B or C. A flipped axis shows (flipped) in orange. Click it again to undo.
  • ⚙ dialog: tick Flip B direction and/or Flip C direction under Flip rotary direction. Tick Save as this machine’s default to save it as your own copy in My machines. Library machines are never changed.
  • A flip applies to the current file. It is remembered by file name for this browser session. The plot, head model, DRO, tool axis, stock, collision checks and Program Check update straight away. The job summary and Program Check list every flip.
  • For programs without TCP, the viewer checks whether the tool tip only stays on the part with the tilt axis reversed. If so, it flips that axis automatically and says so: flipped automatically: tip stays on the part only this way. You can untick it. The program is then drawn with the machine direction, and a note says that the program disagrees with the machine settings.
  • Changing the program instead: the flip above only changes how the program is drawn. To change the B or C values in the program itself, select the lines, right-click and choose Flip B in selected lines (changes the program)…, or use Edit selected lines > Flip sign. A preview shows how many lines change. Comments, # instructions, variables and macro arguments are left alone. Undo restores the original.

Post processors and the post editor

Every machine has a default post processor; there is one built-in post per controller family (Fanuc, Haas, Mazak, Okuma, Siemens 840D, Heidenhain conversational and ISO, Fagor 8070 and DMS-style routers, Mach3/4, LinuxCNC, Grbl, MASSO, ShopBot, HOMAG ISO, OSAI routers, plasma and lathe). A machine whose controller has no post yet says so and CAM does not post until you choose one.

Open Post library… from CAM's POST tab, the setup panel or the gallery. Built-in posts are read-only templates: Duplicate as my post or New post from blank to make your own. The editor is organised in sections: program start and end, units and decimal format, line numbers, comments, tool change sequence, tool length compensation, coolant codes, work offsets, spindle, rapid and feed moves, arcs, drilling cycles, 4/5-axis output, safe retract, and file name and line length. Blocks are templates with variables such as {program_name}, {tool_number}, {spindle_rpm} or {work_offset} - use Insert variable…. Tick Custom text to rewrite any block yourself.

The preview on the right shows the program for the current CAM job (or a sample) as you type. It is read back by the NC Viewer's interpreter and checked by Program Check, so problems such as a missing G43, missing units or an unsafe retract show right in the editor. Posts are plain settings: a shared .wfpost file cannot run any code. Export and import .wfpost files; imports are checked and anything unknown is refused.

Rotary axis output (4th and 5th axis)

Each rotary axis has its own output settings on the machine (machine editor, Kinematics tab), and CAM can override them for one job:

  • Output direction: Normal or Reversed (machine wired backwards). Reversed changes the sign of every value of that axis - positioning, simultaneous moves, rewinds and resets. It is separate from the kinematic direction; the NC Viewer reads the program back with the same reversal.
  • Travel range: continuous, 0 to +360, -360 to +360, -180 to +180, 0 to +720 or custom, plus the largest value the control accepts (for example 9999.999).
  • How the control reads an angle: linear (signed, travels the difference), modulo 0-360 shortest path (Fanuc rollover, Heidenhain M126, Siemens DC), modulo 0-360 with the sign giving the direction (Fanuc rollover sign, Siemens ACP / ACN) or incremental. Moves the control would take the short way round are split so the machine turns the way the toolpath means.
  • At a limit: retract and reposition (rewind) or stop with an error; retract to machine Z, G28, M140 MB MAX or a safe distance; TCP is cancelled before the reposition and turned back on after; re-entry feed and plunge distance; an intermediate safe angle. A tilt axis at its limit switches to the other solution; a rotary axis that runs out of turns unwinds by whole turns (a head C at B0 turns in place).
  • Zero offset, home and reset at tool change per axis.

The post editor's preview and the CAM post check flag values outside the range, values beyond the control's maximum, moves that would spin the wrong way or more than 180°, and an output direction that differs from the machine profile. The Flip B / C control in the viewer stays a viewing aid only.

Tool orientation (3+2 indexed machining)

What it is. A tool orientation tilts the tool for one operation so a face at an angle can be machined in the same setup: the rotary axes turn the head or the table, the control's tilted work plane is switched on, and the operation runs on that plane as if the face were flat. Every 2D and 3D operation can be tilted (pocket, contour, adaptive, drilling, bore, chamfer, 3D roughing and finishing). When to use it: side holes, chamfers and pockets on angled faces, and anything you would otherwise re-fixture for. Tool orientation is included in WindFire Pro.

Normal to a facePick a flat faceTyped axisX 0.5 Y 0 Z 0.866Type X Y Z of the axisSetup ZNo tilt (the work offset)View directionLook along the axis
Four ways to give the tool axis

Step by step

  1. Select the operation and open its Geometry tab. The Tool orientation (3+2) block is at the bottom; ? opens this page.
    Step 1: the Tool orientation block at the bottom of an operation's Geometry tab
    Figure 15. Step 1: the Tool orientation block at the bottom of an operation's Geometry tab
    1. Geometry tab
    2. Tool orientation (3+2) block
    3. Tilt the tool for this operation
    4. Help for this block
  2. Look at what the operation sees without a tilt: here the hole in the 30° face is not found, because its axis is not the setup's Z.
    Before: without a tool orientation, the hole in the 30° face is not found (its axis is tilted)
    Figure 16. Before: without a tool orientation, the hole in the 30° face is not found (its axis is tilted)
    1. No holes found from the setup's Z
    2. Tilt switched off
    3. The hole in the tilted face
  3. Tick Tilt the tool for this operation, choose Normal to a picked face, click Pick a face, then click the face in the model.
    Step 2: choose how the tool axis is given, then pick the face
    Figure 17. Step 2: choose how the tool axis is given, then pick the face
    1. Tool axis: normal to a picked face
    2. Pick a face
    3. Click the tilted face in the model
    4. The status bar asks for the face
  4. Select the geometry as usual: on the tilted plane, the faces and holes square to the tool are the ones you can pick (All holes here). The tool axis, its tilt and the machine angles are shown; the toolpath is drawn along the tilted tool.
    After: on the tilted plane the hole is found and drilled along the face normal
    Figure 18. After: on the tilted plane the hole is found and drilled along the face normal
    1. The hole is found on the plane
    2. Tool axis and its tilt from the setup Z
    3. Machine angles for this machine
    4. The toolpath follows the tilted tool
  5. Check the machine angles and pick the other solution if you prefer it (see below).
  6. Post. The program positions the rotaries, switches on the control's tilted plane and machines the face.
    The posted program: rotaries first, then the control's tilted-plane block
    Figure 19. The posted program: rotaries first, then the control's tilted-plane block
    1. Machine, post and program size
    2. G0 A-30. C-90., G68.2 and G53.1 (highlighted)
    3. Open in the NC Viewer
    4. Save the program
  7. Open it in the NC Viewer before running it: the viewer simulates the machine with the posted angles.
    The NC Viewer reads the program back with the real machine: the table turns to A-30 C-90 and the tool axis is the face normal
    Figure 20. The NC Viewer reads the program back with the real machine: the table turns to A-30 C-90 and the tool axis is the face normal
    1. Posted program
    2. Machine (5-axis trunnion A/C)
    3. The table tilted, the drill normal to the face
    4. A -30°, C -90° and tool axis 0.5, 0, 0.866

Every setting

Every setting of the Tool orientation block
Figure 21. Every setting of the Tool orientation block
  1. Tool axis (face, typed axis, setup Z, view)
  2. Flip the tool axis
  3. Turn the plane X 90°
  4. Plane origin (work origin or face centre)
SettingWhat it does
Tool axis: normal to a picked faceThe tool axis is the outward normal of a flat face. The usual choice: pick the face you want to machine.
Tool axis: along a typed axisType the X Y Z components of the axis in setup coordinates (they need not be a unit vector). Use it for a known angle with no face to pick.
Tool axis: setup ZNo tilt: the operation runs from the work offset's Z, but keeps its tool-orientation settings.
Tool axis: view directionTurn the 3D view until you look along the direction you want, then click Use the current view.
Flip the tool axisReverses the axis (for a face picked from the wrong side). A flipped axis that points into the part cannot be reached: see the warning below.
Turn the plane X 90°Turns the plane's X and Y about the tool axis in quarter turns. The tool axis and the machine angles stay the same; the X Y words in the program and the direction of parallel passes change.
Plane originWork origin keeps the setup's origin (the plane passes through it); Face centre puts the origin on the picked face, so Z0 is the face.
Machine anglesEvery solution the machine has, the safest checked. Picking one stores it for this operation.
Z (tool)XY ⊙30°
The tilted work plane: Z = the tool axis, X = the setup X turned into the plane

Machine angles and the solution choice

WindFire solves the angles on the real machine from Machine settings: which rotaries are on the head and which on the table, their limits, the ranges set for the control, the preferred tilt and the pivot length. Most 5-axis machines have two solutions (for example B+30 C0 and B-30 C180; on the A -120..+30 trunnion, A-30 C-90 and A+30 C+90). The safest is chosen by default: inside the travel, then the preferred tilt, then the furthest from a limit, then the least rotary motion from the operation before. A solution within 2° of a limit gets a warning.

Machine angles: the safest solution is the default; the other one can be picked
Figure 22. Machine angles: the safest solution is the default; the other one can be picked
  1. Safest (default)
  2. Solution 1 and its distance from the limit
  3. Solution 2: picked by hand

What is posted for each control

ControlTilted plane
Fanuc, MazakG0 A.. C.., G68.2 X Y Z I J K (Euler Z-X-Z), G53.1 … G69
HaasG53 G0 Z0., G0 A.. C.., G254 … G255 (table rotaries; a tilting head uses TCP)
Siemens 840DCYCLE800(0,"",0,57,X0,Y0,Z0,A,B,C,0,0,0,±1) … CYCLE800()
Heidenhain (conversational and ISO)PLANE SPATIAL SPA SPB SPC TURN FMAX SEQ± [TABLE ROT] … PLANE RESET STAY
Fagor 8070 (DMS-style routers)#RTCP ON (or M400), #CS ON [1] [MODE 1, X, Y, Z, a, b, c], #TOOL ORI … #CS OFF
HurcoG68.2 X Y Z I J K U V W (plane X and Y vectors) … G69. A Fanuc-style post on a Hurco control writes this form too.
LinuxCNC, OkumaTCP positioning (M428 / G169), part coordinates
Mach, MASSO, OSAI, HOMAG …Machine coordinates without TCP, worked out from the machine model (see the warning below)

The rotaries are always positioned first at the chosen angles, so the control takes the solution WindFire checked. Choose another method for a post in the post editor (Multi-axis, 3+2 tilted plane written as).

Safe reorientation

1Retractmachine coordinates2TCP offTCPG49 / M129 / M401 …3Rotatesafest solution4Plane onG68.2or TCP on5ApproachX Y, then Z
Safe reorientation between operations, as posted for every control

Before a tilted operation turns the rotaries, and before the operation after it turns them back, the tool retracts in machine coordinates: G91 G28 Z0. on Fanuc, G53 G0 Z0. on Haas, G30 P1 on Okuma, SUPA G0 Z0 D0 on Siemens, M91 on Heidenhain, M401 + G0 G53 Z0 on DMS routers. A Z in the work offset is not used there, because after the turn it is measured along the turned part. A post without a machine-coordinate retract (set one under Multi-axis, 3+2 reorientation retract) or one that cannot write rotary axes is not posted.

Worked example: drilling the hole in a 30° face

  1. Download the demo part tilted-30-hole.stl (a 60 × 40 × 30 mm block with a face tilted 30° about Y and a Ø8 × 8 mm hole normal to it) and import it into CAM.
  2. Choose the machine 5-axis table-table trunnion (A/C, offset tilt axis); set the work origin to the model's top front left corner.
  3. Add a Drill operation, untick Add drill-tip length, open Geometry: no holes (step 2 above).
  4. Tick Tilt the tool, Normal to a picked face, pick the 30° face, click All holes: one Ø8 hole, tool axis 0.5, 0, 0.866, tilted 30° (step 4 above).
  5. Machine angles: Safest: A-30 C-90, 60° from the A limit; A+30 C+90 is at the limit (see Machine angles above).
  6. Post with the Fanuc post: G49, G0 A-30. C-90., G68.2 X0. Y0. Z0. I90. J30. K-90., G53.1, then the G83 peck cycle on the plane and G69 (step 6 above).
  7. Open in the NC Viewer: the table turns to A-30 C-90, the drill enters normal to the face (step 7 above). The gouge check and Program Check pass.

Warnings and how to fix them

Flipping the tool axis into the part: no machine angles reach it, so the job is not posted
Figure 23. Flipping the tool axis into the part: no machine angles reach it, so the job is not posted
  1. Flip the tool axis
  2. Cannot be reached on this machine
  3. The warning on the operation
  • The tool orientation cannot be reached on this machine: no rotary angles inside the travel point the tool this way. Pick another face or axis, re-fixture the part in a new setup, or check the rotary limits and the preferred tilt in Machine settings.
  • Machine angles close to a rotary limit: within 2° of the end of travel. Pick the other solution, or check the part and fixture clear at that angle.
  • No machine-coordinate retract for the 3+2 reorientation: set the 3+2 reorientation retract in the post editor (Multi-axis), or use a G28 / G53 safe retract.
  • The post cannot write rotary axes (for example ShopBot): choose a post for a control with rotary axes.
  • Hurco control with a Fanuc-style post: the plane is written in the Hurco form; choose the Hurco post or check the program on the control.
  • Tool orientation is not in your plan: start the trial from the Tool orientation block, or switch the tilt off.
  • Tilted operation posted without TCP / Confirm the pivot length for this tool: the post has no TCP, so X Y Z come from the machine model. On a tilting head every tool uses the one pivot length: check it for the tool, then tick the confirmation (a tool change asks again). On a tilting table, the work offset must be where Machine settings put the rotary centre.
    A head machine with a post without TCP: confirm the pivot length for the tool before posting
    Figure 24. A head machine with a post without TCP: confirm the pivot length for the tool before posting
    1. X Y Z come from one pivot length for every tool
    2. Confirmation for this tool
    3. Blocking warning until confirmed

Tips

  • Several operations on the same face: give each the same tool orientation; the rotaries stay put between them and the safest solution is kept.
  • The CAM stock simulation shows tilted operations with the tool vertical; the NC Viewer shows the real machine.
  • Heights (clearance, retract, top, bottom) are measured on the tilted plane, from the plane origin.
  • Prefer a post with TCP or a tilted-plane cycle: the control then compensates the tool length and the pivot itself.

Related: Rotary axis output · Post processors · Machines and kinematics · CAM warnings

Supported G-code

AreaSupported
MotionG0, G1, G2/G3 (I J K or R, helical), G4, G28, G53, G90/G91, G90.1/G91.1, G17/G18/G19, G20/G21
Work offsetsG54-G59, G54.1 Pn, G52, G92, G10 L2 / L20
CyclesG73, G74, G76, G81-G89 with G98/G99; lathe G70, G71, G72, G74, G75, G76, G90, G92, G94
5-axisA/B/C words, G43.4 / G234 / TRAORI (TCP), G68.2 / G53.1 tilted planes, G68 rotation
ProgramsM98/M99 subprograms, G65 macros, #variables and expressions, IF / GOTO / WHILE, o-codes (LinuxCNC)
DialectsFanuc / Haas style, LinuxCNC, Siemens (basic), Heidenhain (BLK FORM detection)

Unsupported codes are ignored and left untouched; they are listed in the Notes.

FAQ

Is my program uploaded? No. Everything runs in your browser.

Why does my tool look different from my real tool? The library is generic. Pick another tool or define your own in Tools.

The part or head moves the wrong way. Check the machine type and the rotary directions and pivot length in ⚙.

A very large file is slow. Switch Stock off while you browse, then switch it on again; the viewer also lowers the stock resolution on devices with less memory.

Keyboard shortcuts

KeyAction
SpacePlay / pause
Left / RightStep one block (Shift = 10)
Home / EndStart / end of the program
FZoom to fit
+ / -Playback speed
Ctrl/Cmd+EnterPlot
Ctrl/Cmd+F, H, GFind, replace, go to line
Ctrl/Cmd+Z, Ctrl/Cmd+Shift+Z / Ctrl+YUndo, redo
EscClose find bar, popover or measure
Shift+click, Shift+arrows, Ctrl/Cmd+ASelect several lines
Ctrl/Cmd+EEdit selected lines

More guides

  • Sketch dimensions and constraints - How to dimension a sketch in WindFire Design: lengths, distances, angles, diameters and radii, driven dimensions, constraint colours and symbols, snapping and the Sketch options palette.
  • CAM 3D finishing - How to finish 3D parts in WindFire CAM: waterline, steep and shallow, constant cusp, parallel, flat areas, corner pencil, spiral-Z, spiral, radial, boundary spiral, geodesic, curve projection, blend, morph and flowline, with settings, images and a worked example.
  • CAM setup, stock and fixtures - Everything about getting a part into CAM and setting it up: what is machined and what is held, the stock, the orientation and origin, boundaries, rest machining, per-feature offsets and the post settings. Every step has a screenshot with numbered callouts.