Печать
Родительская категория: Заметки
Категория: English
Просмотров: 5
Звезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активна
 

What is VisualGerber

VisualGerber (the project itself calls the tool "Gerber 3D Viewer") is a free, open-source PCB viewer that runs entirely in a web browser. It is a single index.html file: no installation, no build step, no server. You open the page, drop in your fabrication files, and look at the board as flat layers or as a 3D model. The author is WeSpeakEnglish, the code is on GitHub under the MIT license, and there is a live version you can try right away.

Your files are processed locally in the browser and are not uploaded anywhere. The page does load three.js and JSZip from public CDNs, so it needs an internet connection when it first opens.

How to start

  1. Open the live page or the local index.html in a recent Chrome, Edge or Firefox with WebGL support.
  2. Click Open files or drag files onto the page. You can drop single Gerber, drill and pick-and-place files, a whole folder, or one or more ZIP archives.
  3. The board opens in 2D. Switch to 3D with the toolbar switch or by pressing 2 and 3.

Main features

Fab check

The tool can compare the measured board against the published standard limits of JLCPCB or PCBWay. It checks board size, narrowest track, hole sizes, annular rings, hole spacing, distance from holes and copper to the edge, and silkscreen line width. Each line shows the measured value, the limit and a pass, warning or fail mark.

Important: spacing between copper features is not checked, and manufacturer limits change, so confirm them on the fab's capabilities page before ordering.

Appearance settings

Settings are remembered in the browser. The last loaded board reopens after a page reload, stored locally in IndexedDB; a Clear button removes it. Very large file sets (above roughly 150 MB) are not kept.

Supported file formats

Type What is supported
Gerber (RS-274X / X2) Standard apertures and aperture macros, linear and circular interpolation, regions, dark and clear polarity, step-and-repeat, block apertures, mirroring, rotation and scaling, X2 file and object attributes
Excellon drill Metric and inch, leading and trailing zero formats, slots and routed paths, plated and non-plated detection, drill data in Gerber format
Pick and place KiCad .pos, Altium Pick Place, JLCPCB CPL .csv, EAGLE .mnt and .mnb and similar files, in mm, mil or inch

Automatic layer detection

Each file's layer is recognized first from its content (Excellon headers, the Gerber X2 FileFunction attribute, pick-and-place column headers) and then from its file name, using common KiCad, Altium/Protel and EAGLE naming conventions. If a layer is guessed wrong, change it in the dropdown, or set the file to Ignore.

When several outline files are present, the viewer picks the smallest closed shape that encloses the pads and holes, so drawing frames and title blocks do not become the board contour.

Controls and shortcuts

Key Action
2 / 3 Switch to 2D / 3D
T / B Look at the top / bottom
I Angled 3D view
F Flip the board in 3D
X X-ray on or off
M Measure on or off
Esc Clear measurement and net highlight
? Show the shortcut list

With a mouse, rotate in 3D by dragging with the left button, pan with the right button (or left in 2D), and zoom with the wheel toward the cursor. On touch screens, use one-finger drag, two-finger drag and pinch.

Limitations

Useful links

 
www.38i.ru