Skip to content

Project-Alpaca/Alpaca-Case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpaca-Case

Laser cut case for Alpaca.

case.webp

Usage

  • Don't forget to checkout all submodules by using git submodule update --init --recursive.
  • Export the cutting (set ENGRAVE=false) and engraving (set ENGRAVE=true) profiles as DXF (via Customizer GUI or command line).
  • Cut one sheet using the exported cutting profile.
  • Engrave the same sheet using the exported engraving profile (beware of the alignment).
  • Repeat the process using required materials until done.
  • Print out all additional required parts in models.scad using a 3D printer.

Customizer

The OpenSCAD Customizer is used in this project as a quick, non-invasive way to preview the design (in both 2D profile and assembled 3D model) and to simplify the build process. See the description fields in Customizer regarding to the usage of each options.

laserscad

Make sure Python 3.9 and pipenv are installed.

After checkout or update, run

PIPENV_PIPFILE=ext/laserscad-alt/Pipfile pipenv install

To use laserscad support, run

PIPENV_PIPFILE=ext/laserscad-alt/Pipfile pipenv run python ext/laserscad-alt/lscad.py cut case.scad <page_width>x<page_height> -D '{"SHEET": "lscad", "PREVIEW_3D": false}'

(Parameters for HSI and/or LKP-Assy can be added by specifing extra parameters in the JSON object. e.g. '{"SHEET": "lscad", "PREVIEW_3D": false, "LKP_PCB_TOTAL_LENGTH": 517, "HSI_DEPTH": 4.2}'.)

Replace cut with engrave to generate engrave data. (WIP)

To use preview, run

PIPENV_PIPFILE=ext/laserscad-alt/Pipfile pipenv run python ext/laserscad-alt/lscad.py preview case.scad <page_width>x<page_height> -D '{"SHEET": "lscad", "PREVIEW_3D": false}'