Konubinix' opinionated web of thoughts

Box to Store the Tokens/Energies for Seasons

Fleeting

using Boardgame-Insert-Toolkit

rm -rf /home/sam/test/insert
mkdir -p /home/sam/test/insert
cd /home/sam/test/insert
git clone https://github.com/dppdppd/The-Boardgame-Insert-Toolkit bit
Cloning into 'bit'...
remote: Enumerating objects: 890, done.
(301/301), done.
(68/68), done.
(855/890), 29.28 MiB | 9.74 MiB/s
remote: Total 890 (delta 256), reused 255 (delta 225), pack-reused 589 (from 1)
(890/890), 32.51 MiB | 9.87 MiB/s, done.
pushd bit
git log -1 --pretty=format:"%H" "$@"
popd
~/test/insert/bit ~/test/insert
8a38cbdf5846a919d13e81cb5c9759cebd850c6f𒆸 ~/test/insert
include <./bit/boardgame_insert_toolkit_lib.3.scad>;
include <./bit/bit_functions_lib.3.scad>;

// Determines whether lids are output.
g_b_print_lid = true;

// Determines whether boxes are output.
g_b_print_box = true;

// Only render specified box
g_isolated_print_box = "seasons";

// Used to visualize how all of the boxes fit together.
g_b_visualization = false;

// Outer wall thickness
// Default = 1.5mm
g_wall_thickness = 1.5;

// Provided to make variable math easier
// i.e., it's a lot easier to just type "wall" than "g_wall_thickness"
wall = g_wall_thickness;

// The tolerance value is extra space put between planes of the lid and box that fit together.
// Increase the tolerance to loosen the fit and decrease it to tighten it.
//
// Note that the tolerance is applied exclusively to the lid.
// So if the lid is too tight or too loose, change this value ( up for looser fit, down for tighter fit ) and
// you only need to reprint the lid.
//
// The exception is the stackable box, where the bottom of the box is the lid of the box below,
// in which case the tolerance also affects that box bottom.
//
g_tolerance = 0.15;

// This adjusts the position of the lid detents downward.
// The larger the value, the bigger the gap between the lid and the box.
g_tolerance_detents_pos = 0.1;

g_default_font = "Arial:style=Bold";

// Variables for seasons box
row2 = 27;
card_length = 64;
card_width = 45;
tile_diameter = 36;
tile_length = 26;
data =
  [
   ["seasons",
    [
     [BOX_SIZE_XYZ,                             [40 + 2, 4*40 + 5, 30]],
     [BOX_NO_LID_B,                             t],
     [BOX_STACKABLE_B,                          f],

     [LABEL,
      [
       [LBL_TEXT,                              "Énergies"],
       [LBL_SIZE,                              AUTO],
       [LBL_PLACEMENT,                         LEFT],

       ]
      ],

     [BOX_COMPONENT, // square tiles
      [
       [CMP_COMPARTMENT_SIZE_XYZ,              [40, 40, 29]],
       [CMP_NUM_COMPARTMENTS_XY,               [1,4]],
       [CMP_SHAPE,                             FILLET],
       [POSITION_XY,                           [0, CENTER]],
       [CMP_SHAPE_ROTATED_B,                   f],
       [CMP_SHAPE_VERTICAL_B,                  f],
       [CMP_CUTOUT_SIDES_4B,                   [f, f, f, f]],
       [CMP_PADDING_XY,                        [0, 1]],
       [CMP_CUTOUT_WIDTH_PCT,                  0],
       ],
      ],
     ],
    ],
   ];


MakeAll();
openscad insert.scad -o insert.stl
ECHO: "


	The Boardgame Insert Toolkit
	https://github.com/dppdppd/The-Boardgame-Insert-Toolkit

	Copyright 2020 Ido Magal
	Creative Commons - Attribution - Non-Commercial - Share Alike.
	https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode

	Version 3.00

"
Geometries in cache: 58
Geometry cache size in bytes: 5393424
CGAL Polyhedrons in cache: 37
CGAL cache size in bytes: 51674720
Total rendering time: 0:00:12.068
   Top level object is a 3D object:
   Simple:        yes
   Vertices:     4598
   Halfedges:   13794
   Edges:        6897
   Halffacets:   4618
   Facets:       2309
   Volumes:         2
ipfa insert.stl|sed 's/filename=//'

()