// SPDX-License-Identifier: LicenseRef-PD-hp OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT // Sample config for Dragons Down. // This includes the sizes of the cards, height of the boxes and the order. // Generic paramters are set elsewhere. // Measurements are in millimeters. // Outside edges of sleeves mf7163 = [46,65]; mf7077 = [65.5,90]; // Define boxes. // Outer sleeve width, Outer sleeve length, Height, Label, Use length or height // (Use true or leave off for use string length or use false for use string // height.) // The current 2021 release of openscad doesn't all for figuring // out whuch dimension to limit scaling, so it must be specified. // Normally it should be true. // For Dragons Down I need to split this into two clusters. Even if one // cluster would barely fit in 300mm, the skirt won't and I was having // adhesion issues. box_big = concat(mf7077, 60, "Large Cards"); box_big_sideways = concat(mf7077[1], mf7077[0], 60, "Large Cards"); box_missions = concat(mf7163, 60, "Missions"); box_treasures = concat(mf7163, 120, "Tresures"); box_treasures2 = concat(mf7163, 60, "Tresures"); box_deeps = concat(mf7163, 60, "Deep Treasures"); box_items = concat(mf7163, 90, "Items"); box_items2 = concat(mf7163, 50, "Items"); box_spells = concat(mf7163, 40, "Spells"); box_start_spells = concat(mf7163, 40, "Starting Spells"); box_legends = concat(mf7163, 30, "Legendary Treasures"); box_discards = concat(mf7163, 30, "Discards"); box_out = concat(mf7163, 30, "Out Of Play"); // Default cluster to render. // Use -Ddd=2 option to openscad to render the second cluster. dd = 1; // Order of boxes in the circle. order = dd==1? [box_treasures2,box_treasures2,box_deeps,box_items2,box_items2,box_spells]: [box_big_sideways,box_start_spells,box_legends,box_discards,box_out];