Gerber Photoplotting: How to Handle Mechanical and Keep-Out Layers
Printed circuit forums pass from CAD monitors to copper and solder mask by using a exceptionally actual step: easy on movie. Whether your fabricator nevertheless is based on silver halide videos or accepts direct imaging, the self-discipline at the back of gerber photoplotting units the tone for yield, registration, and how many calls you field from CAM. The nuanced edge isn't the copper layers. It is the mechanical and hinder-out details, in which ambiguity lives and the place shops interpret intent in a different way should you do now not spell it out.
This help walks via how mechanical and retailer-out layers must be well prepared for photoplotting and for gerber to movie output. Along the method, I will share the conventions that have kept my jobs sleek, the traps that still seize skilled designers, and how to work with laser photoplotting products and services in order that they do the exact element on the 1st cross.
What a photoplotter actual sees
A photoplotter is a gentle supply driving a precision degree. It does now not remember layout rules, footprints, or 3-D our bodies. It sees on or off. Your Gerber records describe locations to reveal or hinder dark. When a film is generated, the plotter honors polarity, aperture shapes, line draws, and flashes, and it faithfully files registration marks and descriptions that you simply include.
For copper layers, this is modest. For the entirety else, the road between what belongs on film and what belongs simply on a fabrication drawing is blurry. The photoplotter does not need such a lot mechanical main points, yet yes ones dramatically enhance registration and decrease scrap: achieved board define, rout direction reference, panel border, world fiducials, and hold-out generated clearances that needs to physically exist in copper or masks.
Mechanical layer taxonomy that in actual fact enables production
Different CAD gear label mechanical info in a different way. Fabricators, despite the fact that, have a tendency to seek for the similar set of alerts.
- Board outline, comprehensive measurement. One and solely one closed path, plotted on every film that wants it. If you furnish a couple of outline, CAM have to guess.
- Drill and rout intent. Plated and non-plated holes, slots, and the cut profile. These are as a rule driven by using Excellon and rout DXF or Gerber. Whether you also situation a mechanical drawing on movie relies in your fabricator.
- Panel border and breakaway means. Tabs, mouse-bites, V-cuts, and the datum for panel fiducials.
- Keep-out driven beneficial properties. Copper stay-outs that translate into copper voids or masks clearances should grow to be genuine geometry, now not just drafting traces.
- Assembly and location envelopes. These rarely belong on photoplots yet belong in fabrication and assembly drawings to keep away from mechanical collisions.
Keep those buckets separate within the source archives, they usually dwell unambiguous via CAM and photoplotting. Blend them and also you invite past due questions.
When the outline is only a line, and while it should be a shape
You can put the board define as a mechanical layer for reference, or that you may incorporate it into each movie. Both options work, however they serve diversified reasons.
On each one copper and masks movie, region the achieved outline as a thin stroke, most commonly 4 to 6 mil wide for visibility with no confusing it with copper. This allows the picture department visually affirm registration on the gentle table. It additionally we could a swift movie-to-film overlay fee trap reflected layer blunders before all people exposes a full panel.
For the rout application, generate a separate mechanical layer or Gerber with the accurate cut trail. The change things. A done define is a shape. A minimize path is a device centerline with kerf. If you ship one wherein any other is expected, your board can come out oversize via the router bit radius on each facet. I even have noticeable a 0.5 mm shift on a good card edge more healthy for a connector, and the motive was once a dressmaker who exported the polygonized define because the lower direction. The keep ran it, the cardboard would not seat, and we misplaced every week.
When your seller makes use of gerber to movie output for router templates or inspection holders, they desire the reduce path referenced opposed to a datum. Confirm units, starting place, and whether they want within as opposed to out of doors compensation. If the store prefers DXF for routs, still avert a Gerber picture of the outline on each film to anchor registration.
Keep-outs that should transform factual geometry
Keep-outs are simply purpose except they're baked into construction layers. The frequent retain-outs and how they translate:
Copper keep-out. If a region prevents copper pours or strains from entering a neighborhood, you ought to finally end up with an absolutely copper void. For pinnacle and bottom layers, that implies copper details has no aspects in that zone. For internal layers, the void will be in the airplane copper with the clearance you specify. Do no longer place confidence in a separate continue-out layer to inform CAM to cast off copper unless your vendor has agreed to participate in that transformation. Generate the copper as you would like it fabricated.
Solder mask preserve-out. A solder mask avoid-out ought to develop into multiplied mask openings. If you merely provide a shop-out drafting layer, the movie plotter will no longer apply it to the masks movie. The masks film demands the drawn openings with the expansion ideas applied. For paste masks, be specific and let the paste layer lift the stencil apertures as they should always be lower. Do now not imagine the stencil area will infer aperture reductions from a paste prevent-out rule.
Component courtyard or placement hinder-out. These help meeting and attempt, not photoplotting. Put them on an meeting drawing, now not on copper videos. If you placed them on videos, the image division may additionally faithfully plot them on copper, after which the etch manner will gift you with skinny strains in which you did not would like any.
High voltage creepage save-out. This is a copper maintain-out at middle. Implement the clearance in copper so the film actual has the void you need. If you require further solder masks clearance, include that at the mask motion pictures so you do not get masks fillets that close creepage paths.
Mechanical hinder-out for screws and standoffs. Translate these into non-plated holes, and should you want copper pullbacks increased than the drill clearances, be certain that the copper videos reflect it. A word on a drawing that announces avoid copper 1.5 mm away will never be enough in the event that your copper layers nevertheless exhibit a plane lower than the fastener.
The brief version: if a avoid-out impacts some thing that will become a movie, make it geometry on that film. If it affects assembly policy, keep it out of photoplots.
Polarity, mirroring, and the place error sneak in
Outer layer videos should be would becould very well be plotted wonderful or terrible. Most trendy department stores will ask for high-quality paintings for copper, where black manner copper to retailer. Solder mask is regularly adverse, wherein black method openings. If your seller needs the opposite, they're going to invert digitally, but every transformation negative aspects a mistake.
Mirroring creates greater havoc than polarity. Top layers are plotted non-mirrored. Bottom layers are plotted reflected to show from the copper aspect. Some stores standardize on all non-mirrored Gerbers and cope with mirroring at plot time. Others ask you to mirror bottoms within the info. Settle this prematurely. The safest strategy is to name files explicitly with .TOP and .BOT and encompass human readable text on the motion pictures like TOP LEFT or BOT MIRROR TEST exterior the board outline. The text sees regardless of whether a film is mirrored at a glance.
Registration pursuits remember. Place at the very least 3 world fiducials consistent with symbol, external the copper place but in the panel border, and verify they're latest on all movies. An etched copper fiducial is so much true for copper videos. For mask, the identical copper pursuits are visible because of the mask to align. When you work with photoplotting / photoplots, those fiducials align pix at the faded desk. Without them, stores depend on tooling holes and hope the mechanical and optical axes agree.
Gerber codecs that help, and people that still ship
RS‑274X is still ordinary. It is dependent on implicit layer intent thru filenames and polarity. It works, but this is fragile in the event that your naming is sloppy.
Gerber X2 provides attributes that tell a CAM process that it truly is exact copper, it truly is bottom solder mask, it really is profile. If your CAD can export X2, do it. CAM imports with fewer questions, and photoplotters can automate layer stacks. X2 additionally contains net, pad, and by way of attributes that don't be counted for film however guide DFM tests.
Units, zero suppression, and coordinates sound dull unless some thing arrives 25.four occasions better than envisioned. Use millimeters, absolute coordinates, and hinder a consistent foundation for all layers. Put artnet Pro photomask the beginning on the shrink left of the panel or at a everyday datum of the board outline. Avoid according to-layer nearby origins. Photoplotters stage videos established on constant coordinates, and misaligned origins force guide shifts.
Where mechanical guidance belongs: movie as opposed to drawing
Films want to carry anything else that have got to be optically aligned and exposed: copper, mask, and legend. For mechanical, embrace:
- Finished outline on each one movie as a skinny line, so registration and scaling tests are visual and speedy.
- Global fiducials and nearby fiducials for BGA zones should you are expecting tight placement later. Placing them in copper guarantees they're obvious throughout videos.
- Panel border and coupon functions that needs to be optically verified, like impedance coupons patterned in copper.
Everything else lives well on a fabrication drawing: dimensional callouts, layer stack notes, managed depth milling necessities, surface end, textile grade, and tolerance tables. A clear fab drawing maintains the photoplotting easy and unambiguous.
Handling drills, slots, and routs so films consider tooling
Excellon drill data don't seem to be motion pictures, but they define characteristics that work together with mask and copper motion pictures. When you've got slotted holes or castellations, opt early how you may symbolize them. I wish to comprise:
- A plated slot measurement on the fab drawing with width, size, and tolerance.
- A rout Gerber or DXF with the slot direction on a mechanical layer.
- Copper relief or tie-in aspects at the copper films that reflect the plated or unplated nature of the slot.
Non-plated holes must always get rid of copper annular jewelry on all layers. If your library pads nonetheless draw annular jewelry beneath an NPTH, your copper motion pictures will convey copper the place it is going to be drilled out, which isn't very a fabrication worry yet can confuse a film examine. Better to allow the resource CAD put in force NPTH copper clearances so the films fit actuality.
For castellations, determine the outline intersects plated holes and that masks openings are generous adequate to avert dings from the router.
Panelization, coupons, and the quiet function of films
If you're delivering a panel, determine whether you offer the overall image or a single board to be stepped. Gerber photoplotting can expose a panel of repeated pictures, however each repetition accumulates tolerances. If your vendor handles panelization, they will be certain registration across the panel, decide on normal breakaway tab patterns, and situation shared fiducials.
Impedance coupons sit down at the panel rails and are in many instances etched with the equal outer layer films. If you be expecting a try coupon with 50 ohm microstrip lines, supply the service targeted geometry on the identical copper layer and call out the dimension system. I actually have seen 2 to four ohm swings disappear whilst the coupon matched the board stack and copper thickness as opposed to because of a time-honored ladder.
Scaling and film reimbursement, or why zero.1 percentage matters
FR‑four absorbs moisture and expands with temperature. Shops might also follow scale explanations to inner or outer videos to align to the drilled stack. A common variety is within the zero.05 to zero.2 p.c. differ, implemented in a different way for X and Y. If you consist of exact dimensional verniers on the films, the photo room can measure proper aspects on exposed experiment strips and adjust. If you leave no gauge qualities, they depend on general scale info.
Talk for your dealer approximately their default scaling practices. If you preserve tight area connector dimensions, take into account tooling holes or mechanical positive aspects %%!%%34f200f6-1/3-49f9-af41-e5a4f35ed2ca%%!%% the shop lock registration to the connector part and waft scale some place else. The top pcb photoplotting prone will thankfully talk about repayment should you deliver authentic dimensions and tolerances to the table.
A fundamental workflow with a photoplotting partner
Whether you work with Artnet Pro or every other supplier supplying artnet seasoned photoplot, artnet seasoned laser photoplotting, and artnet seasoned pcb photoplotting, the playbook does no longer switch much. The service cares approximately unambiguous layers, particular polarity, and registration aids. A solid pcb film output carrier will review your package deal, ask about mirroring, and request any lacking mechanical layers previously plotting. If you need gerber to film output similar day, clarity up front saves a scramble at 6 p.m.
I actually have had gentle rush jobs with laser photoplotting providers once I sent a good zip report: X2 Gerbers with attributes, an Excellon drill record, a rout mechanical Gerber, a short readme itemizing each layer’s reason, and a PDF fab drawing with managed depth milling notes. The film set got here to come back crisp, with a faint outline on each and every film and fiducials sharp enough to align by way of eye. Compare that to early-career shipments in which I despatched a single mechanical with five outlines and a paste retailer-out that never made it onto the mask film. The difference is night time and day.
File naming, origins, and the human factor
Some of the such a lot preventable errors stay in filenames. Use names that a human in the snapshot lab is aware at a look. Avoid cryptic codes. Keep backside layers sincerely classified and, whenever you replicate them in CAD, state that within the readme.
Set the similar origin across all layers. I actually have stood next to a picture operator wrestling two motion pictures that the two passed CAM however had origins off by using five mm. They taped and trimmed for 1/2 an hour to faux alignment on a proto panel. The copper turned into positive, the masks suffered, and we needed to epoxy fill tiny mask nicks for customer faceplates. A conventional origin could have avoided it.
Common failure modes, and how you can avoid them
CAM gets rid of redundant slivers and fill islands in the time of archives prep, however photoplotters can nevertheless render tiny points that etch away poorly. If your masks retailer-out generates hairline masks webs, they're going to show up on film and then flake in processing. If your mechanical layer contains textual content intended for a cool note yet lives on copper, the film will put it there. Nobody in the graphic room knows your intent until the information is clear.
One routine pitfall is damaging planes. Designers export negative plane layers and also upload a separate save-out to eliminate copper below a slot. The influence is a double detrimental that places copper to come back wherein you wanted a void. If you operate planes, generate the remaining copper photograph as useful, with clearances seen, so both you and the plotter see certainly copper. When in doubt, open the Gerbers with a viewer and look at each and every intersection that topics: underneath RF shields, alongside HV slots, at connector tongues.
The position of legend and why it once in a while belongs on film
Silkscreen legends are occasionally direct imaged now, yet many stores nonetheless plot legends to movie. Keep the legend trimmed 6 to eight mil from exposed pads, or the plotter will faithfully create overprint that the board residence have got to clip. If you position assembly store-outs on legend layers, they'll bleed into film and continue to exist into construction. Separate placement outlines from reference designators, and, for those who will have to prove courtyards, placed them on an meeting drawing layer it is never plotted.
A short record formerly sending files for photoplotting
- Verify that copper and mask retain-outs are learned as geometry on their respective films, now not just as retailer-out shapes.
- Ensure precisely one closed board define exists, and that a thin reference define is existing on each one movie for registration exams.
- Confirm layer polarity, mirroring expectations, and comprise readable text open air the define that exhibits prime and bottom orientation.
- Place three or greater world fiducials steady throughout films, and encompass panel border small print if panelized.
- Export with consistent instruments, absolute coordinates, and, if that you can imagine, Gerber X2 attributes, along drill and rout data.
Tool specifics, saved transient and practical
Altium exports X2 effectively. Map mechanical layers deliberately: one for profile, one for rout trail, one for assembly. Use solder mask enlargement suggestions that materialize at the film. In KiCad, call your Edge.Cuts profile cleanly, and generate paste and mask as they can be fabricated. In Allegro, bear in mind of movie setup, seeing that legacy flows nevertheless deliver detrimental paintings habits. Eagle requires added care to make sure the outline is unambiguous and offer wherein you expect it.
Regardless of device, open the exported set in an self sustaining viewer. Look for copper underneath NPTH, more outlines, mirrored bottom textual content, and mask clearances over pleasant pitch ingredients. I hold a laminated card with a dozen visual exams and spend five mins consistent with activity. It will pay for itself frequently over whilst coping with tight time limits on photoplotting / photoplots.
Working with offerings that specialize in film
Shops that focus on photoplotting have invested in movie balance, exposure linearity, and aperture calibration. Artnet Pro, as one illustration, positions its artnet professional photoplotting functions for PCB clients who want instant and desirable movies. Whether you select artnet pro laser photoplotting for upper decision or a frequent pcb photoplotting facilities provider, ask approximately minimum line widths, film base thickness, emulsion facet orientation, and dimensional balance.
If your board pushes exceptional options, request a verify strip. A two inch coupon with 3 mil lines and areas can monitor publicity bias. The photo group can then practice line width repayment, perhaps 0.2 to 0.four mil, to hit objective dimensions. Serious capabilities continue logs per shopper and board subject matter, so long term jobs begin toward midsection.
Edge instances that deserve unusual attention
Backdrilling and blind using caps would possibly power masks clearances that don't seem to be evident. If you need masks tents over vias but openings over testpoints, do not consider a blanket rule. Generate separate mask gains or annotate exceptions so the mask movie represents truth.
Depth routing for cavities advantages from its own mechanical layer with z depth notes on the fab drawing. Some department shops create inspection videos for cavity outlines to compare in opposition t the routed cavity. If that allows your software, ask your photoplotting company to plot that mechanical to movie at 1:1 with a ambitious outline and gauge ticks.
For RF forums employing PTFE based mostly laminates, movie scaling assumptions from FR‑4 not maintain. Provide dimensional verniers and predict specific scale elements. Photoplotters that ceaselessly tackle RF paintings recognise to deal with these otherwise, yet a word for your equipment shortens their examine.
A short, good procedure to export sparkling films
- Name layers through perform, no longer by arbitrary codes, and permit Gerber X2 attributes if attainable.
- Include a reference define, fiducials, and height or bottom markers on all plotted movies, retaining text out of doors the completed board.
- Export drill and rout archives with clear plated or non-plated designation, and be certain that copper clearances around NPTH are present within the copper motion pictures.
- Generate mask and paste knowledge as you choose them fabricated, no longer as prevent-out law, and fee satisfactory pitch footprints for realistic web widths.
Why this realization can pay off
Fabricators can restoration close to something, yet each restoration costs time and introduces danger. Clean mechanical and store-out handling eliminates interpretation. The photoplotter operator can manage exposures with self belief, align videos straight away the use of your fiducials, and catch errors by means of the outline you awarded on each and every layer. CAM spends less time emailing for clarifications approximately a second phantom outline or a hinder-out that lives only as a be aware.
If you might be lower than schedule strain and leaning on a pcb film output service for related day turnaround, the change among shipping intent and delivery creation tips determines even if you get plates that snapshot perfectly or a spherical of clarifying calls. Get the geometry onto the films the place it subjects, save meeting rules on drawings the place they e book persons, and use the photoplotting level to your expertise instead of treating it as a black box.
Gerber photoplotting is antique expertise refined to a craft. When you admire what the plotter sees and feed it exactly what you would like built, mechanical layers and retain-outs end up allies. That is the way you shop your builds relocating, your vendors comfortable, and your inbox quiet.