openSCAD 3D pixel mappr tool

so i am building yet another dome.

this time its aluminum 2v dome like this: 2V Geodesic Dome Calculator » Domerama

most rods will have leds on them.
to make my life easier i wrote an opensCAD script to print me the coordinates of each pixel

you can find the script here:

it consists of an array with joint locations and a function called rod() that takes 3 parameters

(array[x,y,z]) start, (array[x,y,z]) end, (int) pixelnum

it draws a line with pixnum spheres evenly distributed and prints each pixels location on the console so you can use it in the pixelblaze mapper.

i use it for a dome, but you can use it for ANY geometry that can be described in vectors.
of course its CC-0 so have fun and remix.

:*
-flo

6 Likes

Waaaaait.

Its been 2 years?

WTF?!

1 Like

gorgeous! do you have video of patterns animating in your dome(s)?

Not yet :frowning:

But it will be built again in 2 weeks on top of a mountain.

Expect some videos later.

2 Likes

mapping.json.scad (19.6 KB)

this is the .JSON file i use for the mapping.
i had to append a .scad to be able to upload it here as .json is forbidden :frowning:
it looks good in preview and it should be correct.
the dome looks the way it is mapped having 5 distinct segments on an output expander board in the top center.

the animations for 3d-space are not displayed correctly, neither on the dome, nor on the browser preview.
what did i do wrong?

@wizard can you help me out here? pleeeeease have a look at the .json, it might be ovious to you.

It’s small so you can always paste it inline with

''' json

'''

around it (except backquotes ` instead of ’ of course)

I changed it to allow json. Sorry it’s a approve list, not a deny list!

gorgeous! do you have video of patterns animating in your dome(s)?