pyboxbuilder.builders.sleeve_drawer.SleeveDrawerBoxBuilder

class pyboxbuilder.builders.sleeve_drawer.SleeveDrawerBoxBuilder(label: str, box_id: str | None = None, size: tuple[float, float, float] | None = None, position: tuple[float, float, float] | None = None, stackable: StackableMode | None = None, stackable_shape: StackableShape | None = None, stackable_pyramid_count: int | tuple[int, ...] | None = None, stackable_top_pyramid_count: int | tuple[int, ...] | None = None, stackable_bottom_pyramid_count: int | tuple[int, ...] | None = None, stackable_top: bool = True, stackable_bottom: bool = True, stackable_printer_safe: bool = True, stackable_pattern: PatternType | None = None, stackable_pattern_spacing: float | None = None, stackable_pattern_web: float | None = None, stackable_pattern_border: float | None = None, stackable_thickness: float | None = None, stackable_fit_offset: float = 0.15, stackable_foot_size: float | None = None, stackable_foot_height: float = 1.6, stackable_foot_inset: float | None = None, magnet_type: MagnetType | None = None, magnet_size: tuple[float, float, float] | None = None, final_size: tuple[float, float, float] | None = None, expandable: bool = True, expandable_width: bool = True, expandable_length: bool = True, no_rotate: bool = False, expandable_height: bool = True, wall_thickness: float | None = None, floor_thickness: float | None = None, lid_thickness: float | None = None, rounding: float | None = None, base_rounding: float | None = None, base_chamfer: float | bool | None = None, inner_rounding: float | None = None, lid: LidBuilder | None = None, pattern: PatternBuilder | PatternType | str | None = None, pattern_color: Color | str | None = None, pattern_colors: tuple[Color | str, ...] | list[Color | str] | None = None, backing_pattern: PatternBuilder | PatternType | str | None = None, color: Color | None = None, finger_holes: tuple[FingerHoleBuilder, ...] = (), auto_finger_holes: bool = True, compartments: tuple[CompartmentBuilder, ...] = (), allocates: tuple[tuple[str, int], ...] = (), tilt_to_lift: bool = True, keystone: bool = False, ribbon_channel: bool | None = None, catch_type: CatchType | None = None, catch_size: float | None = None, slide_catch_style: str = 'front', interlock_type: InterlockType | None = None, interlock_clearance: float = 0.15, interlock_size: float | tuple[float, ...] | None = None, interlock_sides: tuple[int | str, ...] | None = None, polygon_sides: int | None = None, polygon_apothem: float | None = None, push_hole_radius: float = 0.0, drawer_handle_style: DrawerHandleStyle = DrawerHandleStyle.HANDLE, drawer_handle_length: float = 4.0, drawer_pull_lip: float = 4.0, sleeve_slack: float = 0.25, sleeve_wall_thickness: float | None = None)[source]

Bases: BoxBuilder

Builder for matchbox / sleeve & drawer box type (FR-087).

A two-piece assembly consisting of a hollow 4-sided outer perimeter sleeve and an inner sliding compartment drawer. Enables horizontal drawer access without lifting stacked trays above it.

Example

project = Project("SleeveDrawerDemo")
project.box(
    BoxType.SLEEVE_DRAWER,
    "ResourceDrawer",
    size=(80.0, 70.0, 35.0),
    drawer_handle_style=DrawerHandleStyle.HANDLE,
    drawer_handle_length=4.0,
)
project.show(show_lids=True)
Loading 3-D preview…

⬇ Download STL mesh

drawer_handle_length : float = 4.0

Forward extension length of the drawer front handle in mm.

drawer_handle_style : DrawerHandleStyle = 'handle'

Handle style on the front drawer face – DrawerHandleStyle.HANDLE, LIP, or NONE (FR-106).

drawer_pull_lip : float = 4.0

Backward-compatible alias for drawer_handle_length in mm.

push_hole_radius : float = 0.0

Radius of the finger push-through hole on the sleeve back wall in mm, default 0.0 for solid back.

sleeve_slack : float = 0.25

Clearance between outer sleeve and inner sliding drawer in mm.

sleeve_wall_thickness : float | None = None

Wall thickness of the outer sleeve in mm (defaults to max(1.2, wall_thickness / 2.0)).