Creating with Codeblocks
Codeblocks is a web app that Autodesk has developed to sit alongside Tinkercad. Like Tinkercad, Codeblocks is for 3D model creation, and like Tinkercad, it involves manipulating objects on a workplane. However, the objects are represented by blocks of code, and to move and shape the objects, you change the coordinates, scale, or dimensions via the code. Employing loops, variables, and other coding features lets users quickly iterate their designs. You can also export a Codeblocks design for use in standard Tinkercad.
Codeblocks lets you create designs for 3D printing, but you can also export them as 2D SVG (scalable vector graphic) files. Those files can then be etched or cut with a laser cutter, or cut with a paper cutter.
Read more about Codeblocks in my article for Ultimaker: "Code Your 3D Designs with Tinkercad's Codeblocks App"
This page provides examples and resources for various kinds of projects one can make with Codeblocks, from 3D prints to laser cuts to T-shirt designs. Videos below.
This design uses a variable, a repeating loop, and it scales and moves the torus shape.
This design was coded in Codeblocks, then laser cut.
Another coded clock, this time 3D-printed.
Students made snowflakes for laser cutting in cardboard.
This design will be cut in heat transfer vinyl and then heat-pressed onto a shirt.
The earring design exported and laser cut in wood.
This is a slot-jointed ornament.
This basic design with rings was 3D printed, and also laser-etched into wood and acrylic.
Exporting as a SVG also lets you cut designs on programmable cutters, like Cricut or Silhouette.
Cutters also cut heat transfer vinyl, which lets you apply designs to cloth with an iron or press.
This coded dragonfly was printed as a hole and later heat transferred onto a shirt.
This ornament is the product of an accident in coding.
Here's a heat press with a cut out design about to be applied. See the video below for details.
The cutouts in this laser-cut lamp were designed in Codeblocks.
Codeblocks invites students to start using loops, variables, and other elements of computational thinking.
The coding challenge level can rise with the user's ability.
The power of tools like variables becomes apparent as students are able to quickly iterate their designs.
This cityscape's building heights are randomly-generated, and the rooftops adjust accordingly.
Codeblocks includes a comment block, so learners can make their thinking and understanding visible.
Here's a quick intro to Codeblocks.
This is a deeper dive into using Codeblocks.
Here's an overview of the way I turn designs into T-shirts.
Wayne Losey's Instructables guide: https://www.instructables.com/id/Learn-to-Design-With-Code-Using-Tinkercad-Codebloc/
Daniel Hertz's guide: https://maker.pro/custom/tutorial/an-introduction-to-tinkercad-codeblocks
This video gives a few ways to create designs for making cards, including designing in Codeblocks.