circuit_to_gcode

버전 1.4.0.0 (4.1 KB) 작성자: sergio rivera lavado
This was written for obtaining a milling path from a pcb image file.
다운로드 수: 821
업데이트 날짜: 2012/3/9

라이선스 보기

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

인용 양식

sergio rivera lavado (2026). circuit_to_gcode (https://kr.mathworks.com/matlabcentral/fileexchange/34965-circuit_to_gcode), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.4.0.0

optimization

1.2.0.0

*

1.0.0.0