This Python script reads in a DXF (ascii) file and generates a PCB output compatible with PCB Designer, part of the gEDA suite. It is designed for two purposes: One is to generate a PCB snippet from a mechanical drawing (such as a board outline), the other is to produce element files from CAD drawings. PCB snippets are easily imported into an existing gEDA-PCB project using File -> Load Layout to Buffer. Generated element files are ready to use (except for special cases like no-paste flags and rounded pads).
Features
- -inf switch just displays information about the DXF file (layers used, drawing extents)
- -xl switch allows the user to exclude layers from consideration--useful to remove features not applicable to the PCB, such as page borders and title blocks
- Can use line weights from DXF file or override them with user setting.
- -scl switch scales the drawing by given factor
- -dmo switch prevents dxf2pcb from moving the drawing to the origin before exporting
- -cth switch allows conversion of circles smaller than a specified size to drill holes (makes fixing element locations a snap)
- -v switch for verbose mode
- -el switch for generating element files
- -an switch for automatically numbering pins/pads
- -iun and -ilu switches for overriding drawing and line weight units
Project Samples
Categories
Electronic Design Automation (EDA)License
GNU General Public License version 3.0 (GPLv3)Follow dxf2pcb
You Might Also Like
The All-in-One Commerce Platform for Businesses - Shopify Icon
The All-in-One Commerce Platform for Businesses - Shopify
Shopify offers plans for anyone that wants to sell products online and build an ecommerce store, small to mid-sized businesses as well as enterprise
Shopify is a leading all-in-one commerce platform that enables businesses to start, build, and grow their online and physical stores. It offers tools to create customized websites, manage inventory, process payments, and sell across multiple channels including online, in-person, wholesale, and global markets. The platform includes integrated marketing tools, analytics, and customer engagement features to help merchants reach and retain customers. Shopify supports thousands of third-party apps and offers developer-friendly APIs for custom solutions. With world-class checkout technology, Shopify powers over 150 million high-intent shoppers worldwide. Its reliable, scalable infrastructure ensures fast performance and seamless operations at any business size.
Learn More
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of dxf2pcb!