Add Vernier extension tile

This commit is contained in:
Eric Rosenbaum committed 2019-04-08 14:16:10 -04:00
1 parent 494269bcf5
commit 83b48a683a
4 files changed
+114

No files matched your search

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="76px" height="133px" viewBox="0 0 76 133" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 53 (72520) - https://sketchapp.com -->
<title>vernier-force-connection</title>
<desc>Created with Sketch.</desc>
<g id="vernier-force-connection" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="force" transform="translate(2.000000, 2.000000)">
<g id="Group" transform="translate(30.000000, 0.000000)" fill="#414757" fill-rule="nonzero" stroke="#414757" stroke-linecap="round" stroke-linejoin="round">
<g>
<polygon id="Path" points="12 0 12 3 0 3 0 0 4.5 0 4.5 1.5 7.5 1.5 7.5 0"></polygon>
<rect id="Rectangle" x="4.5" y="3" width="3" height="6"></rect>
<polygon id="Path" points="4.5 3 3 3 3.75 3.75 3 4.5 3.75 5.25 3 6 4.5 6"></polygon>
<polygon id="Path" points="4.5 6 3 6 3.75 6.75 3 7.5 3.75 8.25 3 9 4.5 9"></polygon>
<polygon id="Path" points="7.5 2.25 9 2.25 8.25 3 9 3.75 8.25 4.5 9 5.25 7.5 5.25"></polygon>
<polygon id="Path" points="7.5 5.25 9 5.25 8.25 6 9 6.75 8.25 7.5 9 8.25 8.25 9 7.5 9"></polygon>
</g>
<rect id="Rectangle" x="4.5" y="3" width="3" height="6"></rect>
<polygon id="Path" points="4.5 3 3 3 3.75 3.75 3 4.5 3.75 5.25 3 6 4.5 6"></polygon>
<polygon id="Path" points="4.5 6 3 6 3.75 6.75 3 7.5 3.75 8.25 3 9 4.5 9"></polygon>
<polygon id="Path" points="7.5 2.25 9 2.25 8.25 3 9 3.75 8.25 4.5 9 5.25 7.5 5.25"></polygon>
<polygon id="Path" points="7.5 5.25 9 5.25 8.25 6 9 6.75 8.25 7.5 9 8.25 8.25 9 7.5 9"></polygon>
</g>
<g id="Group" transform="translate(28.500000, 93.000000)" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round">
<path d="M7.5,36 C3.3675,36 0,32.6325 0,28.5 C0,27.675 0.675,27 1.5,27 C2.325,27 3,27.675 3,28.5 C3,30.9825 5.0175,33 7.5,33 C9.9825,33 12,30.9825 12,28.5 L12,27.9825 C12,26.7975 11.52,25.6425 10.68,24.8025 L8.1975,22.32 C6.78,20.9025 6,19.02 6,17.0175 L6,13.5 C6,12.675 6.675,12 7.5,12 C8.325,12 9,12.675 9,13.5 L9,17.0175 C9,18.2025 9.48,19.3575 10.32,20.1975 L12.8025,22.68 C14.22,24.0975 15,25.98 15,27.9825 L15,28.5 C15,32.6325 11.64,36 7.5,36 Z" id="Path" stroke="#7C87A5" fill="#E6E7E8"></path>
<rect id="Rectangle" stroke="#7C87A5" fill="#E6E7E8" x="3" y="0" width="9" height="8.2575"></rect>
<rect id="Rectangle" stroke="#231F20" fill="#231F20" opacity="0.1" x="3" y="0" width="2.25" height="8.2575"></rect>
<rect id="Rectangle" stroke="#231F20" fill="#231F20" opacity="0.1" x="9.75" y="0" width="2.25" height="8.2575"></rect>
<path d="M13.5,12.7575 L13.5,14.25 C13.5,14.6625 13.1625,15 12.75,15 L2.25,15 C1.8375,15 1.5,14.6625 1.5,14.25 L1.5,12.7575 C1.5,12.345 1.8375,12.0075 2.25,12.0075 L3.375,12.0075 C3.9975,12.0075 4.5,11.505 4.5,10.8825 L4.5,10.8825 C4.5,10.26 3.9975,9.7575 3.375,9.7575 L3,9.7575 L3,8.2575 L12,8.2575 L12,9.7575 L11.625,9.7575 C11.0025,9.7575 10.5,10.26 10.5,10.8825 L10.5,10.8825 C10.5,11.505 11.0025,12.0075 11.625,12.0075 L12.75,12.0075 C13.1625,12.0075 13.5,12.345 13.5,12.7575 Z" id="Path" stroke="#7C87A5" fill="#8592AF"></path>
<path d="M3.375,12.0075 C3.9975,12.0075 4.5,11.505 4.5,10.8825 L4.5,10.8825 C4.5,10.26 3.9975,9.7575 3.375,9.7575 L3,9.7575 L12,9.7575 L11.625,9.7575 C11.0025,9.7575 10.5,10.26 10.5,10.8825 L10.5,10.8825 C10.5,11.505 11.0025,12.0075 11.625,12.0075 L3.375,12.0075 Z" id="Path" stroke="#7C87A5" fill="#7C87A5"></path>
</g>
<path d="M70.5,9 L1.5,9 C0.675,9 0,9.675 0,10.5 L0,94.5 C0,95.325 0.675,96 1.5,96 L70.5,96 C71.325,96 72,95.325 72,94.5 L72,10.5 C72,9.675 71.325,9 70.5,9 Z M39.945,39.1575 C39.3825,40.8525 37.7925,42 36,42 C35.1,42 34.26,41.715 33.57,41.2125 C32.8725,40.7175 32.34,40.005 32.055,39.1575 L29.8425,32.535 C28.4475,28.335 31.575,24 36,24 C40.425,24 43.5525,28.335 42.1575,32.535 L39.945,39.1575 Z" id="Shape" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6,15 L6,90 L66,90 L66,15 L6,15 Z M39.945,39.1575 C39.3825,40.8525 37.7925,42 36,42 C35.1,42 34.26,41.715 33.57,41.2125 C32.8725,40.7175 32.34,40.005 32.055,39.1575 L29.8425,32.535 C28.4475,28.335 31.575,24 36,24 C40.425,24 43.5525,28.335 42.1575,32.535 L39.945,39.1575 Z" id="Shape" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M9,18 L9,87 L63,87 L63,18 L9,18 Z M36,24 C40.425,24 43.5525,28.335 42.1575,32.535 L39.945,39.1575 C39.3825,40.8525 37.7925,42 36,42 C35.1,42 34.26,41.715 33.57,41.2125 C32.8725,40.7175 32.34,40.005 32.055,39.1575 L29.8425,32.535 C28.4475,28.335 31.575,24 36,24 Z" id="Shape" stroke="#7C87A5" fill="#5CB1D6" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round"></path>
<polygon id="Path" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round" points="63 87 9 87 9 69 63 57"></polygon>
<path d="M6,15 L0.75,9.75" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M66,15 L71.25,9.75" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M0.75,95.25 L6,90" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M71.25,95.25 L66,90" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M15,91.5 L15,93" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M57,91.5 L57,93" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M15,12 L15,13.5" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M57,12 L57,13.5" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M69,27 L67.5,27" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M69,81 L67.5,81" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M4.5,27 L3,27" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M4.5,81 L3,81" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<circle id="Oval" fill="#FFBF00" fill-rule="nonzero" cx="36" cy="52.5" r="4.5"></circle>
<circle id="Oval" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round" cx="25.5" cy="52.5" r="1.5"></circle>
<circle id="Oval" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round" cx="46.5" cy="52.5" r="1.5"></circle>
<path d="M46.5,75 L25.5,75 C24.675,75 24,74.325 24,73.5 L24,73.5 C24,72.675 24.675,72 25.5,72 L46.5,72 C47.325,72 48,72.675 48,73.5 L48,73.5 C48,74.325 47.325,75 46.5,75 Z" id="Path" fill="#FFBF00" fill-rule="nonzero"></path>
<path d="M52.5,81 L19.5,81 C18.675,81 18,80.325 18,79.5 L18,79.5 C18,78.675 18.675,78 19.5,78 L52.5,78 C53.325,78 54,78.675 54,79.5 L54,79.5 C54,80.325 53.325,81 52.5,81 Z" id="Path" fill="#FFBF00" fill-rule="nonzero"></path>
<path d="M1.2825,94.7175 L6,90 L66,90 L66,15 L70.7175,10.2825 C71.19,9.81 72,10.1475 72,10.815 L72,94.5 C72,95.325 71.325,96 70.5,96 L1.8075,96 C1.14,96 0.81,95.19 1.2825,94.7175 Z" id="Path" stroke="#231F20" fill="#231F20" fill-rule="nonzero" opacity="0.1" stroke-linecap="round" stroke-linejoin="round"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.8 KiB

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 53 (72520) - https://sketchapp.com -->
<title>vernier-force-block-icon</title>
<desc>Created with Sketch.</desc>
<g id="vernier-force-block-icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Extensions/Hardware/Vernier-Force-Block">
<g id="vernier-force" transform="translate(8.000000, 0.500000)">
<path d="M11.98,39 C10.3238576,39 8.98,37.6561424 8.98,36 C8.98,35.4438576 9.42385763,35 9.98,35 C10.5361424,35 10.98,35.4438576 10.98,36 C10.98,36.5538576 11.4261424,37 11.98,37 C12.5338576,37 12.98,36.5538576 12.98,36 L12.98,35.83 C12.98,35.5708771 12.8714563,35.308563 12.6864466,35.1235534 L11.8564466,34.2935534 C11.2923853,33.729492 10.98,32.9721944 10.98,32.17 L10.98,30 C10.98,29.4438576 11.4238576,29 11.98,29 C12.5361424,29 12.98,29.4438576 12.98,30 L12.98,32.17 C12.98,32.4291229 13.0885437,32.691437 13.2735534,32.8764466 L14.1035534,33.7064466 C14.6676147,34.270508 14.98,35.0278056 14.98,35.83 L14.98,36 C14.98,37.6561424 13.6361424,39 11.98,39 Z" id="Path" stroke-opacity="0.15" stroke="#000000" fill="#E6E7E8"></path>
<path d="M23.71,0.29 C23.52,0.11 23.28,0 23,0 L1,0 C0.72,0 0.48,0.11 0.29,0.29 C0.11,0.48 0,0.72 0,1 L0,27 C0,27.28 0.11,27.52 0.29,27.71 C0.48,27.89 0.72,28 1,28 L23,28 C23.28,28 23.52,27.89 23.71,27.71 C23.89,27.52 24,27.28 24,27 L24,1 C24,0.72 23.89,0.48 23.71,0.29 Z M12,4 C13.93,4 15.27,5.93 14.59,7.75 L13.35,11.06 C13.14,11.63 12.6,12 12,12 C11.4,12 10.86,11.63 10.65,11.06 L9.4,7.74 C9.28,7.41 9.22,7.09 9.22,6.76 C9.22,5.3 10.41,4 12,4 Z" id="Shape" stroke="#7C87A5" fill="#8592AF" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M2,2 L2,26 L22,26 L22,2 L2,2 Z M12,4 C13.93,4 15.27,5.93 14.59,7.75 L13.35,11.06 C13.14,11.63 12.6,12 12,12 C11.4,12 10.86,11.63 10.65,11.06 L9.4,7.74 C9.28,7.41 9.22,7.09 9.22,6.76 C9.22,5.3 10.41,4 12,4 Z" id="Shape" stroke="#7C87A5" fill="#5CB1D6" fill-rule="nonzero" stroke-linecap="round" stroke-linejoin="round"></path>
<polygon id="Path" stroke="#7C87A5" fill="#8592AF" stroke-linecap="round" stroke-linejoin="round" points="22 26 2 26 2 20 22 16"></polygon>
<path d="M0.29,27.7 L2,26" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M0.29,0.29 L2,2" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M22,2 L23.71,0.29" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M23.71,27.7 L22,26" id="Path" stroke="#7C87A5" stroke-linecap="round" stroke-linejoin="round"></path>
<circle id="Oval" fill="#FFBF00" cx="12" cy="14.82" r="1.18"></circle>
<rect id="Rectangle" stroke="#7C87A5" fill="#E6E7E8" stroke-linecap="round" stroke-linejoin="round" x="10" y="28" width="4" height="4"></rect>
<path d="M15.49,21.99 L8.48,21.99 C8.21,21.99 7.98,21.77 7.98,21.49 L7.98,21.49 C7.98,21.22 8.2,20.99 8.48,20.99 L15.49,20.99 C15.76,20.99 15.99,21.21 15.99,21.49 L15.99,21.49 C15.98,21.77 15.76,21.99 15.49,21.99 Z" id="Path" fill="#FFBF00"></path>
<path d="M17.49,24 L6.48,24 C6.21,24 5.98,23.78 5.98,23.5 L5.98,23.5 C5.98,23.23 6.2,23 6.48,23 L17.49,23 C17.76,23 17.99,23.22 17.99,23.5 L17.99,23.5 C17.98,23.77 17.76,24 17.49,24 Z" id="Path" fill="#FFBF00"></path>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+35
View File
@@ -38,6 +38,11 @@ import wedo2ConnectionTipIconURL from './wedo2/wedo-button-illustration.svg';
import boostIconURL from './boost/boost.png';
import boostInsetIconURL from './boost/boost-small.svg';
import gdxforIconURL from './gdxfor/gdxfor.png';
import gdxforInsetIconURL from './gdxfor/gdxfor-small.svg';
import gdxforConnectionIconURL from './gdxfor/gdxfor-illustration.svg';
import gdxforConnectionSmallIconURL from './gdxfor/gdxfor-small.svg';
export default [
{
name: (
@@ -266,5 +271,35 @@ export default [
disabled: true,
bluetoothRequired: true,
internetConnectionRequired: true
},
{
name: 'GoDirect Force & Acceleration',
extensionId: 'gdxfor',
collaborator: 'Vernier',
iconURL: gdxforIconURL,
insetIconURL: gdxforInsetIconURL,
description: (
<FormattedMessage
defaultMessage="Sense push, pull, motion, and spin."
description="Description for the Vernier Go Direct Force and Acceleration sensor extension"
id="gui.extension.gdxfor.description"
/>
),
featured: true,
disabled: false,
bluetoothRequired: true,
internetConnectionRequired: true,
launchPeripheralConnectionFlow: true,
useAutoScan: false,
connectionIconURL: gdxforConnectionIconURL,
connectionSmallIconURL: gdxforConnectionSmallIconURL,
connectingMessage: (
<FormattedMessage
defaultMessage="Connecting"
description="Message to help people connect to their force and acceleration sensor."
id="gui.extension.gdxfor.connectingMessage"
/>
),
helpLink: 'https://scratch.mit.edu/vernier'
}
];