mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
This brings back, updates, and reorganizes the EV3 getting started sections. - Brought back from older v1.0 docs - Updated with new labeled screenshots for Visual Studio Code - Reorganized under EV3 Quick Start heading. This lets us add a similar guide for Powered Up.
376 lines
16 KiB
XML
376 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
|
|
<svg
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:cc="http://creativecommons.org/ns#"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:svg="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
version="1.1"
|
|
id="svg2"
|
|
width="1013.3333"
|
|
height="389.33334"
|
|
viewBox="0 0 1013.3333 389.33334"
|
|
sodipodi:docname="projectstructure.svg"
|
|
inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
|
<metadata
|
|
id="metadata8">
|
|
<rdf:RDF>
|
|
<cc:Work
|
|
rdf:about="">
|
|
<dc:format>image/svg+xml</dc:format>
|
|
<dc:type
|
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
<dc:title />
|
|
</cc:Work>
|
|
</rdf:RDF>
|
|
</metadata>
|
|
<defs
|
|
id="defs6">
|
|
<marker
|
|
inkscape:stockid="Arrow2Lstart"
|
|
orient="auto"
|
|
refY="0.0"
|
|
refX="0.0"
|
|
id="marker2827"
|
|
style="overflow:visible"
|
|
inkscape:isstock="true">
|
|
<path
|
|
id="path2825"
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
transform="scale(1.1) translate(1,0)" />
|
|
</marker>
|
|
<marker
|
|
inkscape:isstock="true"
|
|
style="overflow:visible"
|
|
id="marker2767"
|
|
refX="0.0"
|
|
refY="0.0"
|
|
orient="auto"
|
|
inkscape:stockid="Arrow2Lstart"
|
|
inkscape:collect="always">
|
|
<path
|
|
transform="scale(1.1) translate(1,0)"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
id="path2765" />
|
|
</marker>
|
|
<marker
|
|
inkscape:isstock="true"
|
|
style="overflow:visible"
|
|
id="marker2239"
|
|
refX="0.0"
|
|
refY="0.0"
|
|
orient="auto"
|
|
inkscape:stockid="Arrow2Lstart">
|
|
<path
|
|
transform="scale(1.1) translate(1,0)"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
id="path2237" />
|
|
</marker>
|
|
<marker
|
|
inkscape:stockid="Arrow2Lstart"
|
|
orient="auto"
|
|
refY="0.0"
|
|
refX="0.0"
|
|
id="marker1375"
|
|
style="overflow:visible"
|
|
inkscape:isstock="true">
|
|
<path
|
|
id="path1373"
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
transform="scale(1.1) translate(1,0)" />
|
|
</marker>
|
|
<marker
|
|
inkscape:stockid="Arrow2Lstart"
|
|
orient="auto"
|
|
refY="0.0"
|
|
refX="0.0"
|
|
id="marker1285"
|
|
style="overflow:visible"
|
|
inkscape:isstock="true"
|
|
inkscape:collect="always">
|
|
<path
|
|
id="path1283"
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
transform="scale(1.1) translate(1,0)" />
|
|
</marker>
|
|
<marker
|
|
inkscape:isstock="true"
|
|
style="overflow:visible"
|
|
id="marker1245"
|
|
refX="0.0"
|
|
refY="0.0"
|
|
orient="auto"
|
|
inkscape:stockid="Arrow2Lstart"
|
|
inkscape:collect="always">
|
|
<path
|
|
transform="scale(1.1) translate(1,0)"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
id="path1243" />
|
|
</marker>
|
|
<marker
|
|
inkscape:stockid="Arrow2Lstart"
|
|
orient="auto"
|
|
refY="0.0"
|
|
refX="0.0"
|
|
id="Arrow2Lstart"
|
|
style="overflow:visible"
|
|
inkscape:isstock="true"
|
|
inkscape:collect="always">
|
|
<path
|
|
id="path917"
|
|
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
|
transform="scale(1.1) translate(1,0)" />
|
|
</marker>
|
|
<marker
|
|
inkscape:stockid="Arrow1Mstart"
|
|
orient="auto"
|
|
refY="0.0"
|
|
refX="0.0"
|
|
id="Arrow1Mstart"
|
|
style="overflow:visible"
|
|
inkscape:isstock="true">
|
|
<path
|
|
id="path905"
|
|
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
|
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
|
transform="scale(0.4) translate(10,0)" />
|
|
</marker>
|
|
</defs>
|
|
<sodipodi:namedview
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1"
|
|
objecttolerance="10"
|
|
gridtolerance="10"
|
|
guidetolerance="10"
|
|
inkscape:pageopacity="0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:window-width="1920"
|
|
inkscape:window-height="1043"
|
|
id="namedview4"
|
|
showgrid="false"
|
|
inkscape:zoom="0.97971507"
|
|
inkscape:cx="397.87832"
|
|
inkscape:cy="358.75061"
|
|
inkscape:window-x="1920"
|
|
inkscape:window-y="0"
|
|
inkscape:window-maximized="1"
|
|
inkscape:current-layer="svg2" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 42.57945,99.067904 H 84.683525"
|
|
id="path895"
|
|
inkscape:connector-curvature="0" />
|
|
<path
|
|
inkscape:connector-curvature="0"
|
|
id="path893"
|
|
d="M 42.57945,155.20667 H 84.683525"
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 42.57945,205.47639 H 84.683525"
|
|
id="path891"
|
|
inkscape:connector-curvature="0" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 42.943969,63.464403 V 256.53182 h 63.874641"
|
|
id="path889"
|
|
inkscape:connector-curvature="0" />
|
|
<text
|
|
xml:space="preserve"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
x="366.8938"
|
|
y="52.907768"
|
|
id="text4654"><tspan
|
|
sodipodi:role="line"
|
|
id="tspan4652"
|
|
x="366.8938"
|
|
y="52.907768"
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054">Project folder</tspan></text>
|
|
<rect
|
|
y="25.026085"
|
|
x="27.448685"
|
|
height="42.092525"
|
|
width="250.10519"
|
|
id="rect4666"
|
|
style="opacity:1;fill:#e7f2fa;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<rect
|
|
y="25.026085"
|
|
x="27.448685"
|
|
height="4"
|
|
width="250.10519"
|
|
id="rect4668"
|
|
style="opacity:1;fill:#6ab0de;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<text
|
|
xml:space="preserve"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
x="37.418839"
|
|
y="55.611351"
|
|
id="text4672"><tspan
|
|
sodipodi:role="line"
|
|
id="tspan4670"
|
|
x="37.418839"
|
|
y="55.611351"
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054">getting_started</tspan></text>
|
|
<rect
|
|
style="opacity:1;fill:#e7f2fa;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
id="rect847"
|
|
width="195.43605"
|
|
height="42.092525"
|
|
x="80.493996"
|
|
y="79.123444" />
|
|
<rect
|
|
style="opacity:1;fill:#6ab0de;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
id="rect849"
|
|
width="195.43605"
|
|
height="4"
|
|
x="80.493996"
|
|
y="79.123444" />
|
|
<text
|
|
id="text853"
|
|
y="109.70871"
|
|
x="87.433388"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
xml:space="preserve"><tspan
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054"
|
|
y="109.70871"
|
|
x="87.433388"
|
|
id="tspan851"
|
|
sodipodi:role="line">main.py</tspan></text>
|
|
<rect
|
|
y="132.2001"
|
|
x="80.493996"
|
|
height="42.092525"
|
|
width="195.43605"
|
|
id="rect855"
|
|
style="opacity:1;fill:#e7f2fa;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<rect
|
|
y="132.2001"
|
|
x="80.493996"
|
|
height="4"
|
|
width="195.43605"
|
|
id="rect857"
|
|
style="opacity:1;fill:#6ab0de;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<text
|
|
xml:space="preserve"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
x="87.433388"
|
|
y="162.78537"
|
|
id="text861"><tspan
|
|
sodipodi:role="line"
|
|
id="tspan859"
|
|
x="87.433388"
|
|
y="162.78537"
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054">my_module.py</tspan></text>
|
|
<rect
|
|
style="opacity:1;fill:#e7f2fa;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
id="rect863"
|
|
width="195.43605"
|
|
height="42.092525"
|
|
x="80.493996"
|
|
y="182.72243" />
|
|
<rect
|
|
style="opacity:1;fill:#6ab0de;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
id="rect865"
|
|
width="195.43605"
|
|
height="4"
|
|
x="80.493996"
|
|
y="182.72243" />
|
|
<text
|
|
id="text869"
|
|
y="213.30769"
|
|
x="87.433388"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
xml:space="preserve"><tspan
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054"
|
|
y="213.30769"
|
|
x="87.433388"
|
|
id="tspan867"
|
|
sodipodi:role="line">picture.png</tspan></text>
|
|
<rect
|
|
y="233.24475"
|
|
x="80.493996"
|
|
height="42.092525"
|
|
width="195.43605"
|
|
id="rect879"
|
|
style="opacity:1;fill:#e7f2fa;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<rect
|
|
y="233.24475"
|
|
x="80.493996"
|
|
height="4"
|
|
width="195.43605"
|
|
id="rect881"
|
|
style="opacity:1;fill:#6ab0de;fill-opacity:1;stroke:none;stroke-width:2.13333321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
<text
|
|
xml:space="preserve"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
x="87.433388"
|
|
y="263.83002"
|
|
id="text885"><tspan
|
|
sodipodi:role="line"
|
|
id="tspan883"
|
|
x="87.433388"
|
|
y="263.83002"
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054">sound.wav</tspan></text>
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow2Lstart)"
|
|
d="m 291.63145,45.736082 h 66.34582"
|
|
id="path897"
|
|
inkscape:connector-curvature="0" />
|
|
<text
|
|
id="text1239"
|
|
y="109.56494"
|
|
x="366.8938"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
xml:space="preserve"><tspan
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054"
|
|
y="109.56494"
|
|
x="366.8938"
|
|
id="tspan1237"
|
|
sodipodi:role="line">This main program runs when you press start (or F5)</tspan></text>
|
|
<path
|
|
inkscape:connector-curvature="0"
|
|
id="path1241"
|
|
d="m 291.63145,102.39325 h 66.34582"
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#marker1245)" />
|
|
<text
|
|
xml:space="preserve"
|
|
style="font-style:normal;font-weight:normal;font-size:24.19441986px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#404140;fill-opacity:1;stroke:none;stroke-width:0.60486054"
|
|
x="366.8938"
|
|
y="210.57588"
|
|
id="text1279"><tspan
|
|
sodipodi:role="line"
|
|
id="tspan1277"
|
|
x="366.8938"
|
|
y="210.57588"
|
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Roboto Slab';-inkscape-font-specification:'Roboto Slab';fill:#404140;fill-opacity:1;stroke-width:0.60486054">Any other files can be used by main.py</tspan></text>
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#marker1285)"
|
|
d="m 291.63145,204.84768 h 66.34582"
|
|
id="path1281"
|
|
inkscape:connector-curvature="0" />
|
|
<path
|
|
inkscape:connector-curvature="0"
|
|
id="path2763"
|
|
d="m 291.63145,254.64825 66.34582,-49.80057"
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#marker2767)"
|
|
sodipodi:nodetypes="cc" />
|
|
<path
|
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#marker2827)"
|
|
d="m 291.63145,156.12973 66.34582,48.71795"
|
|
id="path2823"
|
|
inkscape:connector-curvature="0"
|
|
sodipodi:nodetypes="cc" />
|
|
</svg>
|