Start a new topic

Converting a SOLIDWORKS DXF to Gerber.

Many SOLIDWORKS engineers have a requirement to convert their 3D layout design to Gerber for manufacturing of PCB. MEMs, and RF circuits.  

DXF is the most popular CAD format in the world, so it would make sense to simply export a DXF from Solidworks and convert it to Gerber -- What could go wrong?


The Gerber format is very old and stubborn (first released in 1980), and has it's own set of rules which must be followed to ensure a successful conversion from DXF.

  1. All boundaries must be closed and continuous.
  2. Each boundary must be defined as either Dark or Clear (i.e Paint/Scratch).


Unfortunately the DXF files generated from SOLIDWORKS violate both of these rules, and have caused conversion nightmares for almost all SOLIDWORKS users who wished to quickly generate Gerbers from their 3D layout designs.


Lets quickly review both Gerber rule violations of the SOLIDWORKS DXF and then provide a solution.


Gerber Rule #1:  All boundaries must be closed and continuous.


Solidworks exports their DXF as individual lines/arcs which are not continuous (required to form a closed boundary when performing file conversions). For example a square in a DXF file should be a single closed 0-width polyline; Solidworks will export their DXF as 4 individual line entities (see below).




Gerber Rule #2:  Each boundary must be defined as either Dark or Clear (i.e Paint/Scratch).

 

Solidworks exports their DXF as individual lines/arcs which are not continuous (required to form a closed boundary when performing file conversions). For example a square in a DXF file should be a single closed 0-width polyline; Solidworks will export their DXF as 4 individual line entities (see below).



If you were just going to attempt to convert either DXF example above to Gerber it would result in outlines only (no boundaries detected or filled).



The Solution:

Make sure you have a Gerber conversion tool which has the ability to join those individual lines/arcs to continuous boundaries - using the "Join" option (RULE #1); and has the ability to detect islands/holes in complex boundaries using the "DeEmbed" option (RULE #2).


Here's a screen capture in ACE Translator 3000 with the option to use Join and DeEmbed for each required DXF layer.  

Note:  Actually checking all DXF Import options for each layer would give you the best results.


Using the above settings for any SOLIDWORKS generated DXF will give you the best possible results when converting to Gerber. Both ACE and FAB are capable of easily converting any SOLIDWORKS DXF to Gerber.


Try it yourself with a free trial.  Click below for more information about ACE and FAB.


ACE Translator 3000 (CAD/EDA/3D Conversion)

ACE Translator 3000 (CAD/EDA/3D Conversion) 

http://www.numericalinnovations.com/collections/ace-translator-3000



FAB 3000 (Gerber/CAM Solution)

FAB 3000 (Gerber/CAM Solution)

http://www.numericalinnovations.com/collections/fab-3000-gerber-cam



Login or Signup to post a comment