Rev 404 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# author: Jelle de Jong <jelledejong@powercraft.nl>
# dist-license: GPLv3
# use-license: unlimited
# 23:00 - 00:00 = 1:00 hour it took to calculate these values
#Element[ SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags ]
Element [ "" "" "" "" 1000 1000 0 0 0 100 "" ]
(
Attribute("description" "HCM49 (25.000MABJ-UT)")
Attribute("author" "Jelle de Jong <jelledejong@powercraft.nl>")
Attribute("copyright" "Copyright (C) 2009 by Jelle de Jong, PowerCraft Technology")
Attribute("use-license" "unlimited")
Attribute("dist-license" "GNU General Public License v3")
Attribute("documentation" "http://www.citizencrystal.com/images/pdf/m-hcm49.pdf")
# Pad [ rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags ]
Pad [ -8858 0 -24606 0 5906 7146 6496 "" "1" "square" ]
Pad [ 8858 0 24606 0 5906 7146 6496 "" "2" "square" ]
# ElementLine [ rX1 rY1 rX2 rY2 Thickness ]
ElementLine [ -22441 -9508 22441 -9508 1000 ]
ElementLine [ -22441 9508 22441 9508 1000 ]
ElementLine [ 22441 -9508 22441 -3953 1000 ]
ElementLine [ 22441 3953 22441 9508 1000 ]
ElementLine [ -22441 9508 -22441 3953 1000 ]
ElementLine [ -22441 -3953 -22441 -9508 1000 ]
# ElementArc [ rX rY Width Height StartAngle DeltaAngle Thickness ]
ElementArc [ -16919 -3953 3750 3750 270 90 1000 ]
ElementArc [ 16919 -3953 3750 3750 180 90 1000 ]
ElementArc [ 16919 3953 3750 3750 90 90 1000 ]
ElementArc [ -16919 3953 3750 3750 0 90 1000 ]
)
# mm to 1000st mill is
# echo "scale=5; ((X)*10/2.54)*1000" | bc
# -----
# pad
# heigth=1.5 mm
# width=5.5 mm
# Thickness
# 1.5 mm
# echo "scale=5; (1.5*10/2.54)*1000" | bc
# 5905.51000
# Mask
# 10%
# echo "scale=5; 1.5 * 1.10" | bc
# 1.650
# echo "scale=5; (1.650*10/2.54)*1000" | bc
# 6496.06000
# Clearance
# 10%
# echo "scale=5; 1.650 * 1.10" | bc
# 1.81500
# echo "scale=5; (1.8150*10/2.54)*1000" | bc
# 7145.66000
# ----- left pad -- pin 1
# Y1 and Y2 are zero
# X1
# echo "scale=5; 3 / 2" | bc
# 1.50000
# echo "scale=5; 1.5 / 2" | bc
# 0.75000
# echo "scale=5; 1.50 + 0.750" | bc
# 2.250
# echo "scale=5; (2.250*10/2.54)*1000" | bc
# - 8858.26000
# X2
# echo "scale=5; 3 / 2" | bc
# 1.50000
# echo "scale=5; 1.5 / 2" | bc
# 0.75000
# echo "scale=5; 5.50 - 0.750" | bc
# 4.750
# echo "scale=5; 1.50 + 4.750" | bc
# 6.250
# echo "scale=5; (6.250*10/2.54)*1000" | bc
# - 24606.29000
# ----- upper left corner silkscreen
# body height:
# 4.83 mm
# body length:
# 11.4 mm
# X1
# echo "scale=5; 11.4 / 2" | bc
# 5.70000
# echo "scale=5; (5.70*10/2.54)*1000" | bc
# 22440.94000
# Y1
# echo "scale=5; 4.83 / 2" | bc
# 2.41500
# echo "scale=5; (2.4150*10/2.54)*1000" | bc
# - 9507.87000
# ----- point above left pad to start silkscreen
# echo "scale=5; 1.5 / 2" | bc
# 0.75000
# echo "scale=5; (0.750*10/2.54)*1000" | bc
# 2952.75000
# echo "scale=5; 2952.750 + 1000" | bc
# 3952.750
# ----- arc point above left pad to start silkscreen
# start point left X
# echo "scale=5; 10.5 / 2" | bc
# 5.25000
# echo "scale=5; (5.250*10/2.54)*1000" | bc
# 20669.29000
# heigth point Y
# echo "scale=5; 3.81 / 2" | bc
# 1.90500
# echo "scale=5; (1.9050*10/2.54)*1000" | bc
# 7500.00000
# echo "scale=5; 20669 - 3750" | bc
# 16919