# Visualizador de arquivo .tap

> Um arquivo .tap é o G-code que a sua router CNC executa (gerado pelo Mach3, pelo Vectric e outros). Abra para ver o corte, o tamanho da peça, a profundidade e quanto tempo o trabalho leva.

Human page: https://unmakelabs.com/pt-br/abrir-arquivo-tap-online/. This is the version for AI agents.

## What it does

Abrir arquivo TAP online e ver o que a sua router CNC vai cortar. Um arquivo .tap é o G-code que a sua router CNC executa (gerado pelo Mach3, pelo Vectric e outros). Abra para ver o corte, o tamanho da peça, a profundidade e quanto tempo o trabalho leva.

## O que é um arquivo .tap

O nome costuma ser associado ao carregamento de programas por fita (tape). Hoje o Mach3, o Mach4 e muitas routers hobby e de produção usam .tap para G-code em texto simples, e o VCarve e o Aspire da Vectric geram .tap por padrão para o Mach3. Como é G-code comum, o visualizador lê como qualquer outro programa. (Um .tap binário é uma imagem de fita do ZX Spectrum: esse se abre num emulador de Spectrum.)

## Para quem é

Donos de router CNC e profissionais de comunicação visual que querem conferir um trabalho antes de rodar, marceneiros que receberam um .tap de um site de projetos ou de um amigo, equipes de makerspace revisando arquivos dos membros e quem quiser saber o tamanho e o tempo de um trabalho sem abrir o Mach3.

## Facts

- **Abre:** .tap do Mach3/Mach4, Vectric VCarve/Aspire, Fusion, Estlcam, Carbide Create; também .nc, .gcode, .ngc
- **Verifica:** Polegadas ou milímetros (G20/G21), profundidade de cada passada, pontes (tabs), avanços de mergulho
- **Calcula:** Tempo de execução pelos avanços programados, com a velocidade de avanço rápido da sua router
- **Downloads:** PNG, SVG da vista superior em 1:1 (para gabarito ou dispositivo), resumo em JSON

## How a person does it

1. **Abra o arquivo .tap.** Arraste para o visualizador ou escolha no computador ou no celular.
2. **Confira o tamanho e a profundidade.** O painel mostra o tamanho da peça e o corte mais profundo abaixo de Z0 nas unidades do arquivo; o botão Frente no visualizador mostra todas as passadas e pontes de lado.
3. **Reproduza.** Aperte play para ver a fresa se mover ou toque numa linha da listagem para ver onde ela corta.

## 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/pt-br/abrir-arquivo-tap-online/?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

Arquivos .tap de router costumam estar em polegadas (G20). Se o arquivo não tiver G20 nem G21, o visualizador lê em milímetros e mostra uma chave para trocar: uma placa de 12 × 8 que aparece com 12 × 8 mm é um arquivo em polegadas. As pontes aparecem como pequenos degraus elevados na última passada; a vista frontal facilita enxergá-las.

## Not done by this tool

- Não mostra a superfície entalhada (a profundidade do V-carving aparece como percurso da ferramenta, não como a madeira cortada)
- Não lê arquivos de projeto .crv/.crv3d da Vectric: exporte o percurso como .tap
- Não executa macros do Mach3 (M-codes com scripts personalizados)

## 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

Abre no seu navegador; o arquivo fica no seu dispositivo, a menos que você o compartilhe. Arquivos compartilhados ficam guardados por 30 dias.

## FAQ

- **Um arquivo .tap é igual a um .nc ou .gcode?** Sim, no conteúdo: os três são G-code em texto simples. A extensão indica mais qual programa gerou o arquivo ou para qual controle ele foi feito. Alguns controles se importam com o dialeto (Mach3, Grbl ou Fanuc), e o visualizador lista qualquer código que não reconhece.
- **Meu arquivo .tap aparece minúsculo. Por quê?** Provavelmente é um arquivo em polegadas sem G20 no início, lido como milímetros. Toque em "in" ao lado de Unidades no painel e os tamanhos e tempos passam para polegadas.
- **Posso usar o SVG como gabarito?** Sim. A vista superior é desenhada em 1:1 nas unidades do programa (largura e altura em mm ou polegadas), então imprimir em 100% dá o contorno do percurso em tamanho real.
- **É grátis mesmo?** Sim: sem limite de arquivos, sem anúncios, sem cadastro, sem plano premium. Programas de até 200 MB abrem.
- **Vocês enviam meu programa para algum lugar?** Só se você compartilhar. Um arquivo compartilhado fica guardado por 30 dias para o link funcionar, e você pode apagá-lo quando quiser. Fora isso, seus programas e as peças dos seus clientes continuam privados.
- **Meu agente de IA consegue ler programas NC aqui?** Um agente pode abrir qualquer programa público neste visualizador com um link (adicione ?src= e o endereço do arquivo a esta página) e ler o resumo em Baixar > Resumo (JSON). Uma API que devolve o mesmo resumo como dados está planejada.
- **Quem faz isto?** Unmake Labs. Contato: hello@unmakelabs.com.

## Related pages

- [Simulador G-code](https://unmakelabs.com/pt-br/simulador-g-code-online/)
- [Visualizador de G-code](https://unmakelabs.com/pt-br/visualizar-gcode-online/)
