Thingiverse
Configurable D6
by degroof
3
Downloads
1
Likes
0
Makes
A D6 die with customizable faces. Each face can contain either an image or text.
The D6 can be configured with a few lines of code. Each face can be specified as either **TEXT** (text, font, scale, underscore) or **SVG** (filename, angle).
Note: The underscore option inserts a single-character underscore, and is available primarily to aid in distinguishing 9 from 6.
SVG files should be scaled to 200x200mm, with the design filling the image.
**d6Height** specifies the height as distance between two opposing faces.
**d6Indent** specifies the depth of the markings on the face.
The **faces** collection specifies the twelve faces in numerical order (1-6).
The following is the code block of relevant lines from the SCAD file, specifying the size and face features of the die. The number 6 is replaced with an image of a sixpence. The attached STL file is a demo rendering of this configuration.
---
d6Height=30; //height of d6
d6Indent=.5; //indentation of designs
//f
The D6 can be configured with a few lines of code. Each face can be specified as either **TEXT** (text, font, scale, underscore) or **SVG** (filename, angle).
Note: The underscore option inserts a single-character underscore, and is available primarily to aid in distinguishing 9 from 6.
SVG files should be scaled to 200x200mm, with the design filling the image.
**d6Height** specifies the height as distance between two opposing faces.
**d6Indent** specifies the depth of the markings on the face.
The **faces** collection specifies the twelve faces in numerical order (1-6).
The following is the code block of relevant lines from the SCAD file, specifying the size and face features of the die. The number 6 is replaced with an image of a sixpence. The attached STL file is a demo rendering of this configuration.
---
d6Height=30; //height of d6
d6Indent=.5; //indentation of designs
//f
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!