Create a physical 3D model.

How to convert a 3D model into a 3D object.

Blueprint Network

OpenSCAD files

All of the models start out as OpenSCAD models. These are created by hand or by using the Python scripts.

OpenSCAD is a procedural 3D modelling application. It is Open Source and can be downloaded from here

The OpenSCAD models use the templates we have written to make creating 3D models much easier. To use these just download the Project Vip Team 2 repository and unzip it

As an example, navigate to the HourOfCodeNodes folder and open Event-When Run.scadin OpenSCAD.

include <../OpenSCAD/Scratch.scad>;

// ------------------------------------------------------------- //
// ------------------------------------------------------------- //
//                        T O    U S E  ;                        //
// 1. Create file and add the following line at the top;         //
// include <../OpenSCAD/Scratch.scad>;                           //
// 2. Call 'scratchEvent' with the text to print.                //
// NB The value can be spaces to print a blank value model.      //
// ------------------------------------------------------------- //
// ------------------------------------------------------------- //

scratchEvent(0, 0, "When Run");

As you can see, the first line include <../OpenSCAD/Scratch.scad>; is used to pull in the OpenSCAD template for Scratch.

The last line is what actually creates the 3D model - in this case it will have the text 'When Run' in both text and Braille. The remaining lines are comments and do nothing.

If you want different text, just change "When Run" to whatever you want.

All you do then is render the model Design menu, Compile or F6 and then save it as an .STL file Design menu, Export as .STL

Open Scad Banner

Different Templates Available

The following templates are available and are used in exactly the same way;
  • HourOfCodeNodes - this folder contains the nodes for Code.org's Hour of Code, including Scratch nodes, a board, pieces etc.
  • FlowChartNodes - Here are the examples for using LucidChart Flowchart nodes
  • BPNodesV2 - These contain nodes which can be printed either as a solid block or as just the text, with or without Lego connectors.
  • BPVariables - prints Unreal Engine Bluepint variables, with a Get or a Set node.
  • BPValues - prints a node for a Blueprint variable

STL files

Once you have the STL file you can send these to be printed using whatever software is used to control your 3D printer.

For a Prusa i3, Slic3r and Pronterface work quite well

You can get these STL models from the following places;

  • GitHub
  • Shapeways
  • My 3D Fab
  • Project ViP GUI
Details on how to use each source is given below.

Git Hub Banner

GitHub

All of the source code and modes for this project are kept in the Shipley College GitHub Repositories.

The repositories contain the following;

  • ViP Team1 - This contains the code for both the GUI and the Python scripts to extract nodes from Unreal Engine 4 Blueprint Editor.

    These scripts create OpenSCAD models, which use the Blueprint OpenSCAD templates to create OpenSCAD models. These models are then processed by OpenSCAD to create STL files.

  • ViP Team2 - This contains the OpenSCAD code to create the STL models.
  • ViP Team3 - This contains the code to create the QR codes or each Blueprint node.

Shapeways Banner

Shapeways

We have set up a Shapeways shop for the Hour of Code blocks ‐ another shop will be set up for Blueprint nodes soon.

Shapeways can be quite expensive, but it is convinient as you do not need to know anything about 3D printing to get the resources delivered to you.

Thingverse Banner

Thingiverse

We have uploaded the STL files for the 2016 Hour of Code Starwars activity to Thingiverse. These can be downloaded or printed by one of Thingiverse's partners.