Differenze tra le versioni di "Millefori: draw, print, mill and drill your experimental PCBs"

Da raspibo.
Jump to navigation Jump to search
(Creata pagina con 'I used to create my experimental circuits on stripboards, (millefori in Italian). I created the tracks by soldering bare copper wires taken from recycled phone pairs. Using m...')
 
m
Riga 1: Riga 1:
 +
This posting introduces millefori, a ''suite'' of programs to draw, print, mill and drill your experimental PCBs.
 +
The whole package is a 8K tgz file. Power of Python!
 +
 +
== Motivation ==
 
I used to create my experimental circuits on stripboards, (millefori in Italian).
 
I used to create my experimental circuits on stripboards, (millefori in Italian).
 
I created the tracks by soldering bare copper wires taken from recycled phone pairs.
 
I created the tracks by soldering bare copper wires taken from recycled phone pairs.
  
 
Using my 3D printer as a CNC now I can mill my PCBs.
 
Using my 3D printer as a CNC now I can mill my PCBs.
There are several programs to manage electronics projects up to the design and production of the PCB like Geda or Kicad.
+
There are several programs to manage electronics projects up to the design and production of the PCB like Geda or Kicad.
 +
None of them gives me the way to create circuits as I do by stripboards and wires.
 +
 
 +
I need to draw the schematics, assign components' layouts, position the components on the pcb, draw the tracks (maybe following the suggestions). I can have a lot of features: 3D previews of the final product, auto check of the pcb-schematics consistency etc.
 +
 
 +
I am sure these are wonderful programs for large projects. I want my millefori!
 +
 
 +
So I wrote millefori. The software is a Beta or less, I have released it under a GPL2+ license.
 +
 
 +
== Overview ==
 +
 
 +
The ''suite'' cosists of four programs:
 +
* millefori.py is the interactive drawing program
 +
* milleimg.py generates images of the PCBs (for documentation/printing)
 +
* millegcode.py generates gcode to mill the pcb
 +
* milledrill.py generates the gcode to drill the holes for the component pins.
 +
 
 +
== millefori.py ==
 +
 
 +
Features:
 +
* one-sided and two-sided PCB
 +
* interactive drawing
 +
* cut/copy/paste
 +
* undo (currently 20 operations)
 +
* json (readable) file format
 +
* support for ~/.milleforirc
 +
 
 +
This is millefori's usage:
 +
</pre>
 +
usage: millefori.py [-h] [--size SIZE] [--twosided] [--noxflip] [--xyflip]
 +
                    [--centered]
 +
                    PATH
 +
 
 +
Drawing program for simple PCBs.
 +
 
 +
positional arguments:
 +
  PATH                  pathname
 +
 
 +
optional arguments:
 +
  -h, --help            show this help message and exit
 +
  --size SIZE, -s SIZE  size (in mm) default:120x100
 +
  --twosided, -2        two sided PCB
 +
  --noxflip            backside: do not flip x coords
 +
  --xyflip              backside: flip x and y
 +
  --centered            xy centered
 +
</pre>
 +
 
 +
It needs a path. If the file does not exist, millefori creates a new pcb otherwise it loads the file.
 +
--size and --twosided are meaningful for new files, otherwise the size and the number of size are retrieved from the loaded file.

Versione delle 17:09, 20 set 2014

This posting introduces millefori, a suite of programs to draw, print, mill and drill your experimental PCBs. The whole package is a 8K tgz file. Power of Python!

Motivation

I used to create my experimental circuits on stripboards, (millefori in Italian). I created the tracks by soldering bare copper wires taken from recycled phone pairs.

Using my 3D printer as a CNC now I can mill my PCBs. There are several programs to manage electronics projects up to the design and production of the PCB like Geda or Kicad. None of them gives me the way to create circuits as I do by stripboards and wires.

I need to draw the schematics, assign components' layouts, position the components on the pcb, draw the tracks (maybe following the suggestions). I can have a lot of features: 3D previews of the final product, auto check of the pcb-schematics consistency etc.

I am sure these are wonderful programs for large projects. I want my millefori!

So I wrote millefori. The software is a Beta or less, I have released it under a GPL2+ license.

Overview

The suite cosists of four programs:

  • millefori.py is the interactive drawing program
  • milleimg.py generates images of the PCBs (for documentation/printing)
  • millegcode.py generates gcode to mill the pcb
  • milledrill.py generates the gcode to drill the holes for the component pins.

millefori.py

Features:

  • one-sided and two-sided PCB
  • interactive drawing
  • cut/copy/paste
  • undo (currently 20 operations)
  • json (readable) file format
  • support for ~/.milleforirc

This is millefori's usage:

usage: millefori.py [-h] [--size SIZE] [--twosided] [--noxflip] [--xyflip]

                   [--centered]
                   PATH

Drawing program for simple PCBs.

positional arguments:

 PATH                  pathname

optional arguments:

 -h, --help            show this help message and exit
 --size SIZE, -s SIZE  size (in mm) default:120x100
 --twosided, -2        two sided PCB
 --noxflip             backside: do not flip x coords
 --xyflip              backside: flip x and y
 --centered            xy centered

It needs a path. If the file does not exist, millefori creates a new pcb otherwise it loads the file. --size and --twosided are meaningful for new files, otherwise the size and the number of size are retrieved from the loaded file.