• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Configurable D6 3D Printer File Image 1
Configurable D6 3D Printer File Thumbnail 1

Configurable D6

Steve DeGroof avatarSteve DeGroof

June 23, 2022

printables-icon
DescriptionCommentsTags

Description

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

//face specs 1-6
//SVG files must be 200x200mm
faces=[
 [TEXT,"one","Verdana:style=Regular",.7,false],
 [TEXT,"two","Verdana:style=Regular",.7,false],
 [TEXT,"III","Verdana:style=Regular",.7,false],
 [TEXT,"IV","Verdana:style=Regular",.7,false],
 [TEXT,"5","Verdana:style=Regular",1,false],
 [SVG,"sixpence.svg",0],
];

License:

Creative Commons — Public Domain

Related Models

Spinning Tops Orbital Series preview image

Spinning Tops Orbital Series

YSoft_be3D profile image

YSoft_be3D

38,502

Glacier Gauntlet: Milo's Challenge, a printable game! no supports, built-in springs preview image

Glacier Gauntlet: Milo's Challenge, a printable game! no supports, built-in springs

Nat profile image

Nat

230

Mini Pocket Sized Fidget Infinity Cube preview image

Mini Pocket Sized Fidget Infinity Cube

HeatherMacAnanny profile image

HeatherMacAnanny

1,485

Micro Catapult preview image

Micro Catapult

LukeTansell profile image

LukeTansell

36,977

Jedovatý meč (V.01) - Metin 2 - Sword from game preview image

Jedovatý meč (V.01) - Metin 2 - Sword from game

Gampi profile image

Gampi

21

Ultimate Toothpick Crossbow V2 preview image

Ultimate Toothpick Crossbow V2

Sairae profile image

Sairae

485

Spirograph preview image

Spirograph

3Domas profile image

3Domas

26,831

Greed on the Grill: A 3D Printed Food Stacking Ballance Game preview image

Greed on the Grill: A 3D Printed Food Stacking Ballance Game

Gerse profile image

Gerse

20