C8051F32x firmware infrastructure

Sign in or create your account | Project List | Help

C8051F32x firmware infrastructure Git Source Tree

Root/c2usb/cam/doit

1#!/bin/sh -e
2DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap
3RECT=$DIR/rect/rect
4ALIGN=$DIR/align/align
5ZMAP=$DIR/zmap/zmap
6GP2RML=$DIR/gp2rml/gp2rml
7
8GEN=${1:-./pcb.pl}
9
10rdata="19.6 13.0 -56.2 19.6 53.1 -56.1 110.7 14.1 -56.2"
11# lower Z by 0.5 mm relative to highest point
12Z=-56.6
13
14rect=`$RECT $rdata | awk '{$3 = ""; print}'`
15
16$GEN |
17  awk '{ if ($3 != "") $3 += '$Z'; print $0; }' |
18  $ALIGN 0 1 $rect |
19    # angle, reference (lower left corner), rect
20  $GP2RML 3 0.1 0.1
21    # clearance, xy speed, z speed
22

Archive Download this file

Branches:
master



interactive