Skip to content
Sara O'Connor edited this page Nov 22, 2020 · 7 revisions

Welcome to the engineering-your-story wiki!

This site is mostly a static site for the course material for Engineering Your Story.

So far, the Wiki only needs to contain one thing, so it's right here on the home page.

Tinkercad Shape Generator List

Tinkercad doesn't seem to have an official list of available shapes, but the children need an easy visual reference when they start to learn. It's too fiddly to click through all (currently) 17 lists to find a shape they might need, particularly when they are on a short schedule.

Run this script on each shape generator menu page, to create the html for the Tinkercad shape generator list page. (But hit edit because the formatting is stripping the necessary white space.)

" <h3>Page "+document.querySelector(".item.active").innerText + "</h3>"+"\n" + " <div class=\"column-image-list\">"+"\n" + (Array.from(document.querySelectorAll(".sidebar-item")).map(item => " <div class=\"image-and-caption\">\n <h4>" + item.querySelector(".item-name").innerText + "</h4>\n <img src='" + item.querySelector(".item-icon img").src + "'>\n </div>" ).join("\n")) + "\n </div>"

Clone this wiki locally