# Podgląd plików .tap

> Plik .tap to G-code, który wykonuje frezarka CNC (zapisują go m.in. Mach3 i Vectric). Otwórz go, żeby zobaczyć ścieżkę cięcia, wymiary detalu, głębokość frezowania i czas pracy.

Human page: https://unmakelabs.com/pl-pl/otworz-plik-tap/. This is the version for AI agents.

## What it does

Otwórz plik .tap i zobacz, co wytnie frezarka. Plik .tap to G-code, który wykonuje frezarka CNC (zapisują go m.in. Mach3 i Vectric). Otwórz go, żeby zobaczyć ścieżkę cięcia, wymiary detalu, głębokość frezowania i czas pracy.

## Czym jest plik .tap

Nazwa zwykle wywodzi się od wczytywania programów z taśmy. Dziś Mach3, Mach4 i wiele frezarek hobbystycznych i produkcyjnych używa rozszerzenia .tap dla zwykłego G-code, a VCarve i Aspire firmy Vectric domyślnie zapisują .tap dla Mach3. Ponieważ to zwykły G-code, przeglądarka czyta go jak każdy inny program. (Binarny plik .tap to z kolei obraz taśmy ZX Spectrum: takie pliki otwiera emulator Spectrum).

## Dla kogo

Dla właścicieli frezarek CNC i producentów reklam, którzy sprawdzają zlecenie przed uruchomieniem, stolarzy, którzy dostali plik .tap ze strony z wzorami lub od znajomego, obsługi makerspace’ów przeglądającej pliki członków oraz każdego, kto chce poznać wymiary i czas pracy bez otwierania Mach3.

## Facts

- **Otwiera:** .tap z Mach3/Mach4, Vectric VCarve/Aspire, Fusion, Estlcam, Carbide Create; także .nc, .gcode, .ngc
- **Sprawdza:** Cale czy milimetry (G20/G21), głębokość każdego przejścia, mostki, posuwy wgłębne
- **Liczy czas:** Czas pracy na podstawie zaprogramowanych posuwów, z prędkością szybkiego przesuwu Twojej frezarki
- **Pobieranie:** PNG, SVG widoku z góry w skali 1:1 (na szablon lub przyrząd), podsumowanie w JSON

## How a person does it

1. **Otwórz plik .tap.** Upuść go na podgląd albo wybierz z komputera lub telefonu.
2. **Sprawdź wymiary i głębokość.** Panel pokazuje wymiary detalu i najgłębsze cięcie poniżej Z0 w jednostkach pliku; przycisk widoku z przodu pokazuje z boku każde przejście i mostek.
3. **Uruchom symulację.** Naciśnij odtwarzanie, żeby zobaczyć ruch frezu, albo kliknij wiersz w listingu, żeby zobaczyć, gdzie tnie.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/pl-pl/otworz-plik-tap/?src=https://unmakelabs.com/apps/nc/samples/bracket.nc`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#t=0.5&v=px,py,pz,tx,ty,tz&r=0&u=mm&rr=10000` (t position in machining time 0 to 1, default 1 = whole program; v camera; r=0 hides rapids; u units when the file states none; rr rapid rate in mm/min for the time estimate).

Embed: `<iframe src="https://unmakelabs.com/embed/nc/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `nc_inspect`: Inspect a CNC program (G-code, Heidenhain). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Options (JSON in `options`): `rapid_mm_min`: rapid feed for the time estimate in mm/min (default 10000); `tool_change_s`: seconds per tool change (default 6).

```bash
# NC program: tools, extents, run time
curl -s -F "file=@part.nc" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25"
```

## Good to know

Pliki .tap do frezarek często są w calach (G20). Jeśli w pliku nie ma G20 ani G21, przeglądarka przyjmuje milimetry i pokazuje przełącznik: szyld 12 × 8, który wychodzi jako 12 × 8 mm, to plik calowy. Mostki widać jako krótkie uniesione stopnie w ostatnim przejściu; w widoku z przodu łatwo je zauważyć.

## Not done by this tool

- Nie pokazuje wyfrezowanej powierzchni (głębokość grawerowania V-carve jest widoczna jako ścieżka narzędzia, a nie wycięte drewno)
- Nie czyta plików projektów Vectric .crv/.crv3d: wyeksportuj ścieżkę narzędzia jako .tap
- Nie uruchamia makr Mach3 (kodów M z własnymi skryptami)

## Value

Opens an NC program (G-code: Fanuc, Haas, Mach3, Grbl, LinuxCNC and CAM post-processor output; Siemens Sinumerik and Heidenhain Klartext in part; 3D-printer G-code) in the browser with nothing to install and draws the 3D toolpath: cuts coloured per tool, rapids dashed, play and scrub with the running line highlighted in the listing. Reports the extents of the cutting moves, cutting and rapid travel, an estimated machining time from the programmed feeds (rapid rate and tool-change time adjustable), the tools with feeds, speeds and cutting time, and warnings with line numbers (arcs whose end is off the circle, missing feeds, missing units, unsupported codes, cycles and macros not drawn). Downloads a PNG, a 1:1 plan-view SVG and a JSON summary. Free, no sign-up.

## When it fits

- A machinist or setter wants to see what an NC program will do before running it, on a phone or shop PC with no CAM seat: shape, depth, extents against the stock, tools and roughly how long it takes.
- A CAM programmer wants to check post-processor output (arc format, units, tool changes, drilling cycles, feeds) or find the line that makes a control alarm on an arc.
- Someone has a .nc, .tap, .gcode, .ngc or .cnc file from a customer, a forum or a hobby CNC router and wants to know what it cuts, how big and in which units.

### When not

- Collision checking against the machine, fixtures or the stock model, material removal simulation, or verified cycle times on a specific machine (acceleration is not modelled): use the CAM's or the control's own simulation.
- Programs built mostly from macro variables, loops or control-specific cycles (Fanuc Macro B, Heidenhain Q parameters and CYCL DEF, Sinumerik CYCLE pockets): these parts are listed as warnings, not drawn.

## Why use it instead of the alternatives

- Nothing to install: the page opens a public NC program from a link (?src=, with #t= for the point in the program and #v= for the camera) and an embed shows the toolpath in any page.
- NCViewer (ncviewer.com) draws G-code locally in the browser with an editor, line stepping, 5-axis and lathe modes; its side panels are the code editor, a position readout and machine options (checked Dec 2026), with no tool list with feeds, speeds and per-tool times and no list of problems with line numbers. CAMotics and desktop editors such as CIMCO Edit need installing (CIMCO is paid); controls and CAM systems simulate only for their own users.
- This viewer: free in any browser incl. phones, nothing uploaded, line-by-line playback, tool list with feeds/speeds/times, plain warnings with line numbers (arcs a control would reject, missing units or feeds, codes not drawn), Heidenhain and Sinumerik read in part, plan-view SVG at 1:1, share link and embed.

### What rebuilding it would take

- Write a reader that handles modal G-code state (motion, plane, absolute/incremental, units, feed modes), arcs by I/J/K and by R including >180° and full circles, helical arcs, drilling cycles G81-G89 with G98/G99, subprograms (M98/M99, M97) and Sinumerik/Heidenhain variants.
- Draw millions of segments smoothly on a phone, scrub by machining time, highlight the running line, and time every move from its feed.
- Explain every unsupported code or broken arc in plain words with its line number, and export a scale-true plan view.
- A set of hand-worked test programs with known lengths, extents and times to keep the reader honest as dialects are added.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- A viewer, not a machine simulation: it does not check collisions, and some codes are not drawn (listed as warnings). Prove out every program on the machine as usual.

_Status: the NC viewer page works; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25._

## Privacy

- Files opened in the page are read on the user's device and not uploaded unless the user clicks Share.
- Files opened by link (?src=) are fetched from where they are stored.
- The page loads three.js from a public code server, which receives the visitor's IP address for that request.

## Data

Plik otwiera się w przeglądarce i zostaje na Twoim urządzeniu, chyba że go udostępnisz. Udostępnione pliki są przechowywane 30 dni.

## FAQ

- **Czy plik .tap to to samo co plik .nc lub .gcode?** Tak, jeśli chodzi o zawartość: wszystkie trzy to G-code w postaci zwykłego tekstu. Rozszerzenie mówi głównie, który program go zapisał lub dla jakiego sterowania jest przeznaczony. Niektóre sterowania są wrażliwe na dialekt (Mach3, Grbl czy Fanuc), a przeglądarka wypisuje każdy kod, którego nie zna.
- **Mój plik .tap wyświetla się jako malutki. Dlaczego?** To prawdopodobnie plik calowy bez G20 na początku, odczytany jako milimetry. Kliknij „in” obok pola Jednostki w panelu, a wymiary i czasy przełączą się na cale.
- **Czy mogę użyć SVG jako szablonu?** Tak. Widok z góry jest rysowany w skali 1:1 w jednostkach programu (szerokość i wysokość w mm lub calach), więc wydruk w skali 100% daje pełnowymiarowy obrys ścieżki narzędzia.
- **Czy to naprawdę za darmo?** Tak: bez limitu plików, bez reklam, bez rejestracji, bez wersji premium. Otwierają się programy do 200 MB.
- **Czy przesyłacie mój program?** Tylko jeśli go udostępnisz. Udostępniony plik jest przechowywany 30 dni, żeby link działał, i możesz go w każdej chwili usunąć. Poza tym Twoje programy i detale Twoich klientów pozostają prywatne.
- **Czy mój agent AI może tu czytać programy NC?** Agent może otworzyć w tym podglądzie dowolny publiczny program przez link (dodaj do adresu tej strony ?src= i adres pliku) i odczytać podsumowanie przez Pobierz > Podsumowanie (JSON). Planujemy API, które zwróci to samo podsumowanie jako dane.
- **Kto to tworzy?** Unmake Labs. Kontakt: hello@unmakelabs.com.

## Related pages

- [Podgląd G-code](https://unmakelabs.com/pl-pl/podglad-g-code-online/)
- [Przeglądarka G-code](https://unmakelabs.com/pl-pl/przegladarka-gcode/)
