Take our Daughters and Sons to Work Day 2016 – 3D Modeling with OpenJSCad

Posted on 1st April 2016 by Ryan Somma in Science Etcetera

What follows here is an outline of activities we did for TODS Day 2016.

Hello World!

OpenJSCad 3D Modeling

  1. Open JS Cad is a programming environment that allows you to build 3D models that you can print.
  2. Controls:
    • Rotate XZ: Left Mouse
    • Pan: Middle Mouse or SHIFT + Left Mouse
    • Rotate XY: Right Mouse or ALT + Left Mouse
    • Zoom In/Out: Wheel Mouse or CTRL + Left Mouse
  3. Copy the following code into the program’s Coding Window:
  4. 1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
        function main() {
            var word = vector_text(0,0,"HELLO WORLD!");

            var bagOfShapes = [];        

            word.forEach(function(char) {
                bagOfShapes.push(rectangular_extrude(char, {w: 6, h: 6}));
            });

            return union(bagOfShapes).translate([-100,0,0]).scale(0.5);
        }

    [Continue Reading…]

Comments Off on Take our Daughters and Sons to Work Day 2016 – 3D Modeling with OpenJSCad