Repository navigation
Invert Gerber
Invert Gerber swaps the copper and the empty areas of a Gerber object inside a box or a reference area. Copper becomes empty, and the empty area becomes copper. The tool creates a new Gerber object and leaves the source object unchanged.
- Menu: Plugins > Invert Gerber.
- Keyboard: Alt+G.
- The panel opens in a tab next to Project and Properties. The tab shows the plugin name.
Screenshot placeholder:
images/Invert-Gerber-1.png— the Invert Gerber panel with the Source, Reference and Parameters frames visible.
- Under Source, keep Object and select the Gerber object in the Object selector.
- Keep Reference as Itself. The area is the bounding box of the source.
- Set Margin to the distance from the edges of the source (mm or inch).
- Keep Lines Join Style as Square.
- Click Invert Gerber.
Screenshot placeholder:
images/Invert-Gerber-2.png— the source copper and the inverted result on the canvas.
| Parameter | Description | Selected by default |
|---|---|---|
| Source = Object | Inverts the Gerber object chosen in Object. | Selected by default |
| Source = Selection | Inverts every selected Gerber object. Each one goes into its own new object. | — |
| Object | The Gerber object to invert. Shown when Source is Object. | — |
| Parameter | Description | Selected by default |
|---|---|---|
| Reference = Itself | The area is the bounding box of the source object, grown by Margin. | Selected by default |
| Reference = Object | The area is taken from another object. Shows the fields below. | — |
| Type | The type of the reference object: Gerber or Geometry. Shown when Reference is Object. | Gerber |
| Reference object selector | The reference object. It has no label. Shown when Reference is Object. | — |
| Area = Box | The area is the bounding box of the reference object. | Selected by default |
| Area = Exact | The area is the exact shape of the reference object. | — |
| Parameter | Description | Selected by default |
|---|---|---|
| Margin | Distance by which the area avoids the edges of the Gerber object. Range: 0 to 10000 (mm or inch). | 0.1 mm |
| Lines Join Style = Rounded | The lines in the outline are joined with an arc between two lines. | — |
| Lines Join Style = Square | The lines meet at a 90 degree angle. | Selected by default |
| Lines Join Style = Bevel | The lines are joined by a third line. | — |
| Invert Gerber | Creates the inverted Gerber object. | — |
| Reset Tool | Resets the tool parameters to their default values. | — |
Screenshot placeholder:
images/Invert-Gerber-3.png— the Reference section set to Object with the Area combo visible.
- The inverted copper is the area minus the source copper. The area is the box (or reference area) grown by Margin.
- For a Reference of Object, a Type of Geometry lists the Geometry objects in the reference selector.
- The Margin and Lines Join Style values set the corner shape of the outline. The Rounded join gives smooth corners.
- The tool stops with a message when the source has no bounds, the area is empty, or the copper covers the whole area.
- The command-line version is
invert_gerber. See Tcl Command Reference.
FlatCAM Evo Manual · Source code · Report a problem · MIT license
Start here
- Installation
- Getting Started
- Tutorial: Single-Sided PCB
- Tutorial: Double-Sided PCB
- User Interface
- Keyboard Shortcuts
- Glossary
- FAQ and Troubleshooting
Files and projects
Objects
Editors
PCB operations
- Isolation Routing
- Non-Copper Clearing
- Paint
- Cutout
- Drilling
- Milling
- Follow
- Double-Sided
- Solder Paste
- Film
- Panelize
- Copper Thieving
- Fiducials
- Markers
- Punch Gerber
- Invert Gerber
- Etch Compensation
- Extract
- Rules Check
- QR Code
Utility plugins
- Align Objects
- Calculators
- Distance · Object Distance
- Optimal
- Move · Transform
- Subtract
- Image Import · PDF Import
- PCB Wizard
- Report
- Tcl Shell
Machine control (in development)
Advanced
- Tools Database
- Preprocessors
- Path Optimization
- Tcl Scripting
- Tcl Command Reference
- Developer Guide
- Translating
Preferences