dppdppd / The-Boardgame-Insert-Toolkit

This OpenSCAD library was created to make it easy to create board game inserts with lids for either horizontal or vertical storage, without any programming required.
296 stars 46 forks source link

Lid Label not attaching to the lid when printing #50

Open pinkfish opened 1 year ago

pinkfish commented 1 year ago

I setup this file for the lid for the game I am working on, but the stripy parts of the lid are not attaching to the letters, leaving them hanging by themselves. I am using ankermake, but I also tried with cura and the same issue.

Not sure I have some of the setup wrong here? Tried a stackable and non-stackable lid.

include ;

rows = 4; cols = 3; tile_depth = 5; tile_height = 3; pedestal = true;

//-------------- g_b_print_lid = t; g_b_print_box = f; g_wall_thickness = 2; g_tolerance = 0.15; g_tolerance_detents_pos = 0.1;

data = [ [ "tiles", [ [ BOX_SIZE_XYZ, [38.971 rows + 4, 45 cols + 4, tile_depth * tile_height + 2 + (pedestal ? 2 : 0)] ], [ BOX_STACKABLE_B, f ], [ BOX_LID, [ [ LID_PATTERN_RADIUS, 10], [ LID_INSET_B, t], [ LID_TABS_4B, [f,f,t,t]],

                [ LID_PATTERN_THICKNESS,        1],

                [ LID_LABELS_BORDER_THICKNESS,  1.5 ],
                [ LID_LABELS_BG_THICKNESS,      5 ],

                [ LABEL,
                    [
                        [ LBL_TEXT,     "18 Chesapeake"],
                        [ LBL_SIZE,     AUTO ],
                        [ LBL_FONT,     ""],
                        [ ROTATION,     90]
                    ]
                ],                                   
            ],
        ],
        [ BOX_COMPONENT,
            [
                [CMP_NUM_COMPARTMENTS_XY,               [rows,cols]],
                [CMP_COMPARTMENT_SIZE_XYZ,              [  38.9711431703, 45, tile_depth * tile_height] ],
                [CMP_SHAPE,                             HEX],
                [CMP_SHAPE_VERTICAL_B,                  t],    
                [CMP_PADDING_XY,                        [0,0]],
                [CMP_PEDESTAL_BASE_B,                   pedestal],
                [CMP_CUTOUT_CORNERS_4B,                 [t,t,t,t]],
                [CMP_CUTOUT_TYPE,                       INTERIOR],
            ]
        ],                  
    ]
],  

];

MakeAll();