top of page

Acrylic Box Generator

Columbia University, NY                                                                February 2022

​Objective:

  • Use MATLAB to write a program that takes several input parameters (size, lid, etc.) and generate an SVG file that describes a box to be cut on acrylic with a laser cutter

  • Test the program by generating, laser cutting and assembling.

Skill Used:

  • SVG

  • XML

  • MATLAB

  • Parametric Design

  • Laser Cutter

GitHub-Mark-64px.png

Input Parameter to Generate a Laser-cuttable Box

Pictures of the 2 Generated Boxes

Description

Input Query:

  • Material Thickness

  • Width

  • Length

  • Height

  • Lid (Yes/No)

  • Divider(0, 1/3, 1/2, 2/3)

  • Lid text

  • Front text
     

Approach:

  • Wrote a LaserBox class that contains the parameters and functions that generates each feature (faces, lid, text) of the box.

  • Added a function to the LaserBox class to write XML text of the SVG format to an SVG file.

  • Wrote a main script to ask the user to input the parameters and generate the SVG file.

Picture1.png

SVG File Generated

bottom of page