Skip to content

Instantly share code, notes, and snippets.

@Annath
Last active August 11, 2022 05:51
Show Gist options
  • Save Annath/ad8082ad08a139afff9daa24dbfbabfa to your computer and use it in GitHub Desktop.
Save Annath/ad8082ad08a139afff9daa24dbfbabfa to your computer and use it in GitHub Desktop.
Quick and dirty metric-to-SAE conversion chart
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1000" height="1200" viewBox="0 0 1000 1200" xml:space="preserve">
<desc></desc>
<defs></defs>
<g>
<rect width="100%" height="100%" fill="white" />
</g>
<g transform="translate(500 0)">
<text
x="100"
y="10"
font-size="4em"
font-family="sans-serif"
text-anchor="start"
alignment-baseline="text-before-edge">Metric</text>
<text
x="-100"
y="10"
font-size="4em"
font-family="sans-serif"
text-anchor="end"
alignment-baseline="text-before-edge">SAE</text>
</g>
<g transform="translate(500 1125)">
<line
id="vertical-line"
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="0"
y1="0"
x2="0"
y2="-1000" />
<g id="bottom">
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="0"
x2="0"
y2="0" />
<text
x="110"
y="0"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
alignment-baseline="middle">0 mm</text>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="0"
x2="0"
y2="0" />
<text
x="-110"
y="0"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">0"</text>
</g>
<g id="top">
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="200"
y1="-1000"
x2="0"
y2="-1000" />
<text
x="210"
y="-1000"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
alignment-baseline="middle">25.4 mm</text>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-200"
y1="-1000"
x2="0"
y2="-1000" />
<text
x="-210"
y="-1000"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">1"</text>
</g>
<g id="inches">
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-937.5"
x2="0"
y2="-937.5" />
<text
x="-110"
y="-937.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">15/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-875"
x2="0"
y2="-875" />
<text
x="-110"
y="-875"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">7/8"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-812.5"
x2="0"
y2="-812.5" />
<text
x="-110"
y="-812.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">13/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-750"
x2="0"
y2="-750" />
<text
x="-110"
y="-750"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">3/4"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-687.5"
x2="0"
y2="-687.5" />
<text
x="-110"
y="-687.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">11/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-625"
x2="0"
y2="-625" />
<text
x="-110"
y="-625"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">5/8"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-562.5"
x2="0"
y2="-562.5" />
<text
x="-110"
y="-562.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">9/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-500"
x2="0"
y2="-500" />
<text
x="-110"
y="-500"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">1/2"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-437.5"
x2="0"
y2="-437.5" />
<text
x="-110"
y="-437.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">7/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-375"
x2="0"
y2="-375" />
<text
x="-110"
y="-375"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">3/8"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-312.5"
x2="0"
y2="-312.5" />
<text
x="-110"
y="-312.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">5/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-250"
x2="0"
y2="-250" />
<text
x="-110"
y="-250"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">1/4"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-187.5"
x2="0"
y2="-187.5" />
<text
x="-110"
y="-187.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">3/16"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-125"
x2="0"
y2="-125" />
<text
x="-110"
y="-125"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">1/8"</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="-100"
y1="-62.5"
x2="0"
y2="-62.5" />
<text
x="-110"
y="-62.5"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="end"
alignment-baseline="middle">1/16"</text>
</g>
</g>
<g id="millimeters">
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-944.88"
x2="0"
y2="-944.88" />
<text
x="110"
y="-944.88"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">24 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-905.51"
x2="0"
y2="-905.51" />
<text
x="110"
y="-905.51"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">23 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-866.14"
x2="0"
y2="-866.14" />
<text
x="110"
y="-866.14"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">22 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-826.77"
x2="0"
y2="-826.77" />
<text
x="110"
y="-826.77"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">21 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-787.40"
x2="0"
y2="-787.40" />
<text
x="110"
y="-787.40"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">20 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-748.03"
x2="0"
y2="-748.03" />
<text
x="110"
y="-748.03"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">19 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-708.66"
x2="0"
y2="-708.66" />
<text
x="110"
y="-708.66"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">18 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-669.29"
x2="0"
y2="-669.29" />
<text
x="110"
y="-669.29"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">17 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-629.92"
x2="0"
y2="-629.92" />
<text
x="110"
y="-629.92"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">16 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-590.55"
x2="0"
y2="-590.55" />
<text
x="110"
y="-590.55"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">15 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-551.18"
x2="0"
y2="-551.18" />
<text
x="110"
y="-551.18"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">14 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-511.81"
x2="0"
y2="-511.81" />
<text
x="110"
y="-511.81"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">13 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-472.44"
x2="0"
y2="-472.44" />
<text
x="110"
y="-472.44"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">12 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-433.07"
x2="0"
y2="-433.07" />
<text
x="110"
y="-433.07"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">11 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-393.70"
x2="0"
y2="-393.70" />
<text
x="110"
y="-393.70"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">10 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-354.33"
x2="0"
y2="-354.33" />
<text
x="110"
y="-354.33"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">9 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-314.96"
x2="0"
y2="-314.96" />
<text
x="110"
y="-314.96"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">8 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-275.59"
x2="0"
y2="-275.59" />
<text
x="110"
y="-275.59"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">7 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-236.22"
x2="0"
y2="-236.22" />
<text
x="110"
y="-236.22"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">6 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-196.85"
x2="0"
y2="-196.85" />
<text
x="110"
y="-196.85"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">5 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-157.48"
x2="0"
y2="-157.48" />
<text
x="110"
y="-157.48"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">4 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-118.11"
x2="0"
y2="-118.11" />
<text
x="110"
y="-118.11"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">3 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-78.74"
x2="0"
y2="-78.74" />
<text
x="110"
y="-78.74"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">2 mm</text>
</g>
<g>
<line
style="stroke: rgb(0,0,0); stroke-width: 2;"
vector-effect="non-scaling-stroke"
x1="100"
y1="-39.37"
x2="0"
y2="-39.37" />
<text
x="110"
y="-39.37"
font-size="2em"
font-family="sans-serif"
font-weight="bold"
text-anchor="start"
alignment-baseline="middle">1 mm</text>
</g>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment