Entries Categorized as 'TechShop'

Generating 3d Terrain

June 29, 2017

3d model of the Hawaiian island chain.

3d model of the Hawaiian island chain, rendered in OpenSCAD.

After a lot of hours of experimentation I’ve finally settled on a workable method for generating large-scale 3d terrain.

Data from the NGDC’s Grid Extraction tool. The ETOPO1 (bedrock) option gives topography and bathymetry. You can select a rectangle from a map, but it can’t be too big and, which is quite annoying, you can’t cross the antimeridian.

The ETOPO1 data is downloaded as a GeoTIFF, which can be easily converted to a png (I use ImageMagick convert).

The Hawaiian data with the downloaded grayscale.

The Hawaiian data with the downloaded grayscale.

Adjusting the color scale. One interesting property of the data is that it uses a grayscale to represent the elevations that tops out at white at sea-level, then switches to black and starts from there for land (see the above image). While this makes it easy to see the land in the image, it needs to be adjusted to get a good heightmap for the 3d model. So I wrote a python script that uses matplotlib to read in the png image as an array and then I modify the values. I use it to output two images: one of the topography and one of just land and water that I’ll use as a mask later on.

Hawaiian Islands with adjusted topography and ocean-land.

Hawaiian Islands with adjusted topography and ocean-land.

The images I export using matplotlib as grayscale png’s, which can be opened in OpenSCAD using the surface command, and then saved as an stl file. Bigger image files are take longer. A 1000×1000 image will take a few minutes on my computer to save, however the stl file can be imported into 3d software to do with as you will.

Note: H.G. Deitz has a good summary of free tools for Converting Images Into OpenSCAD Models

Citing this post: Urbano, L., 2017. Generating 3d Terrain, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Bike Silhouette

April 30, 2017

TD cleaning up his new bike.

T. cleaning up his new bike.

One of my students with a TechShop membership wanted a bike silhouette for a wall hanging. He wanted it to be bigger than he could fit on the laser cutter, so I tried doing it on the CNC router. The problem was that to get the maximum detail we needed to use the smaller drill bits (0.125 inches in diameter), however, after breaking three bits (cheap ones from Harbor Freight) and trying both plywood and MDF, we gave up and just used the larger (0.25 inch) bit. Since the silhouette was fairly large (about 45 inches long), it worked out quite well.

Citing this post: Urbano, L., 2017. Bike Silhouette, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Cell Phone Shelf

March 30, 2017

Cell phone rack in use.

Cell phone rack in use.

Managing cell phone usage at school is a tricky topic. We have some teachers who’d like to ban them outright, but we also have a growing number of parents who are expecting to be able to communicate with their kids–to organize pickups and carpooling during the day for example. The phones can be great for data-collection and documentation in classes, and a lot of my upper level math students prefer the Desmos app to using their graphical calculators.

Our current compromise is that middle schoolers have to leave their phones in the front office, where they can check them at lunch time or check them out if a teacher wants them to use them.

The high schoolers are allowed to keep their phones with them, but have to put them in a basket at the front of the classroom. Since they don’t like piling them into the basket, I experimented with the CNC machine to cut some plywood into a cell-phone shelf.

The shelf can hold about 30 phones, and I can easily see how many phones are on there from across the room, so I’d say this one worked out pretty well.

Citing this post: Urbano, L., 2017. Cell Phone Shelf, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Go Board

March 29, 2017

Students playing Go.

Students playing Go.

I recently discovered that, although they may look it, Go boards are not necessarily square. They’re slightly longer in one dimension so that the board looks more square to the players on both sides.

A student asked me to make one for him–he’d ordered a set recently and didn’t like the board it came with–so, I wrote a small python program to generate the Go grid, then lasered it onto a nice piece of sanded plywood.

It worked out quite well. Apparently the plywood makes just the right “thunk” sound when you put down the pieces.

Go board in use.

Go board in use.

The script to generate the grid.
go_board_2.py

from visual import *
from svgInator_3 import *

length = 424.2  #mm
width = 454.5   #mm
nLines = 19
dx = length/(nLines-1)
dy = width/(nLines-1)

print "Lenght = ", length
print "dx = ", dx

f = svgInator("go_board.svg")

lineStyle = {"stroke": "#000", "stroke-width": "2pt",}

#lines
for i in range(nLines):
    x = i * dx
    y = i * dy
    #vertical
    f.line(pos=[vector(x,0), vector(x,width)], style=lineStyle)
    #horizontal
    f.line(pos=[vector(0,y), vector(length,y)], style=lineStyle)

#circles
grid_pos = [(3,3), (3,9), (3,15),
            (9,3), (9,9), (9,15),
            (15,3), (15,9), (15,15)]

for i in grid_pos:
    (x, y) = (i[0]*dx, i[1]*dy)
    f.circle(pos=vector(x,y), radius=2.0,
             style={"stroke": "#000", "fill":"#000"})

#bounding box
f.rect(dim=vector(length,width), style=lineStyle)

f.close()

Now I just have to learn to play.

Citing this post: Urbano, L., 2017. Go Board, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Liquid Chessboard

March 1, 2017

Chessboard under regular (day) light.

Chessboard under regular (day) light.

I used the computer controlled (CNC) Shopbot machine at the Techshop to drill out 64 square pockets in the shape of a chessboard. One of my students (Kathryn) designed and printed the pieces as part of an extra credit project for her Geometry class.

The pockets were then filled with a clear eqoxy to give a liquid effect. However, I mixed in two colors of pigmented powder to make the checkerboard. The powder was uv reactive so it fluoresces under black (ultra-violet) light.

Under a black (ultra violet) light bulb.

Under a black (ultra violet) light bulb.

The powder also glows in the dark.

Glowing in the dark.

Glowing in the dark.

Citing this post: Urbano, L., 2017. Liquid Chessboard, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Making Dry-Erase Erasers

December 9, 2016

Two of my first dry-erase erasers.

Two of my first dry-erase erasers.

I painted the wall on my new space in the basement to make it a dry-erase surface. Unfortunately, I did not have an eraser to use on it, so, I decided to make my own down at the TechShop. And what started as a simple project turned into a bit of a rabbit hole.

The Shopbot CNC router is great for cutting shapes out of wood. I started with simple rectangular 2 inch by 4 inch blanks with designs and patterns, but that truly does not take advantage of the technological possibilities. Map projections can have some interesting shapes, so I tried a few that I could find black and white vector-graphic maps for on the Wikimedia commons (Mollweide and Sinusoidal projections).

The Shopbot CNC mill cutting out a blank for a Mollweide map projection.

The Shopbot CNC mill cutting out a blank for a Mollweide map projection.

After a little sanding (of the edges and sides in particular) I put the wooden blanks on the laser. It helped to cut out a template for the wooden blanks to sit in so I could do multiple blocks at the same time.

Lasering on the maps.

Lasering on the maps.

I put on a few coats of polyurethane to protect the wood surface (I also tried a spray on sealer I had sitting around–we’ll see which one works better) and then attached velcro strips to the bottom.

Adding velcro to the erasers.

Adding velcro to the erasers.

One of my old sweatshirts served as material for the erasing.

A few of the first erasers with a rectangular form.

A few of the first erasers with a rectangular form.

Erasers with different map projections.

Erasers with different map projections.

Citing this post: Urbano, L., 2016. Making Dry-Erase Erasers, Retrieved August 22nd, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Creative Commons License
Montessori Muddle by Montessori Muddle is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.