About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 25
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: sergio rivera lavado
See full specifications

scripts default iconcircuit_to_gcode (Scripts) Publisher's description

This was written for obtaining a milling path from a pcb image file.

This was written for obtaining a milling path from a pcb image file.
The aim of this code is to generate a trayectory for a CNC from a b&w image, where the milling trayectory is parallel to the contour of the figures in the image. The image is supposed to be a circuit board, etc.

The milling bits radius are supposed to be small near the contour and thicker further (You must define them).

% the imput is a MONOCHROME bitmap (bmp)

% the the black color is milled


% circuit_to_gcode(Pcb_File,Pcb_Borders,Safety_level,Mill_level,Drill_bit_sizes_and_Pass)

% where:

% Pcb_File -> monochrome bitmap containing the pcb image

% Pcb_Borders -> array of the limits in mm of the pcb borders [X_max,X_min,Y_max,Y_min]

% Safety_level -> the z (vertical) level where is safe to move fast the drill bit

% Mill_level -> the milling deep (constant)

% Drill_bit_sizes_and_Pass -> array of drill bit diameter in pixel units and number of pass

% vector of the form: [Drills ; Pass]

% the drill bit diameters must be given in growing order


% example:


% circuit_to_gcode('pcb2.bmp',[100,10,200,10],20,-1,[1 3 6;3 3 100])



% there is an output file, gcode_.txt with the generated gcode

System Requirements:

No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall

circuit_to_gcode (Scripts) Tags:

Click on a tag to find related softwares

Is circuit_to_gcode (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.