Simply edit the DIMENSIONS file with relevant PCB variables and rebuild the SOLIDWORKS assembly.
"LENGTH"= 3.7in 'longest of two dimensions of PCB
"WIDTH"= 2.4in 'shortest of two dimensions of PCB
"HOLE_DIA"= 0.1in 'mounting hole diameter
"HOLE_DIST"= .1375069in 'distance to mount hole centerline from edge of PCB
"PCB_THICK"= 0.063in 'nominal thickness of PCB, usually 1.6mm
"TOP_CLEAR"= 1in 'Clearance above top of PCB, tallest component plus desired clearance
"BOTTOM_CLEAR"= 4mm 'Clearance below bottom of PCB, minimum 4mm
This directory contains the necessary components to build a custom PCB enclosure
Update ~/DIMENSIONS with correct equations for your PCB Rebuild ~/Universal_case_assembly export the three components as .STL Import and slice the .STL components Print and enjoy!
If there is a demand for it I will attempt to port this to other CAD clients.