omdl  v1.0
OpenSCAD Mechanical Design Library
pcie_expansion.scad File Reference

A PCI Express expansion chassis and/or enclosure generator. More...

Go to the source code of this file.

Functions and/or Modules

Functions
function pcie_expansion_rb_size (riser_pcb, vslots)
 Get riser board size for riser configuration. More...
 
function pcie_expansion_size (pcie_base=pcie_spec_common, pcie_form=pcie_spec_half, riser_pcb=riser_pcb_def, enclosure=enclosure_def, riser_pcb_width, external=false)
 Get enclosure internal or external size. More...
 
function pcie_expansion_rbs_keys (pcie_base=pcie_spec_common, pcie_form=pcie_spec_half, riser_pcb=riser_pcb_def, enclosure=enclosure_def, riser_pcb_width, enclosure_size, center_w=true, zero_lh=false, edge1_w=false, adjust_h=false)
 Get list of slot key locations of all riser boards. More...
 
Modules
module pcie_expansion (pcie_base=pcie_spec_common, pcie_form=pcie_spec_half, riser_pcb=riser_pcb_def, enclosure=enclosure_def, show_riser=false, part_color, part=7, mode=3, verb=0)
 Generate a PCI Express expansion open chassis or closed enclosure. More...
 

Variables

Configuration: PCI-E standard
 pcie_spec_common
 
 pcie_spec_full
 
 pcie_spec_half
 
Configuration: Riser board
 riser_PCE164P_NO3_VER_007
 <map> USB 3.0 PCE164P-NO3 VER 007 1-slot riser board. More...
 
 riser_AAAPCIE4HUB
 <map> AAAPCIE4HUB multiplier HUB 4-slot riser board. More...
 
 riser_SFF_8612_4X_to_PCI_E_16X
 <map> SFF-8612 4X lane to 16X 1-slot riser board. More...
 
Configuration: Enclosure
 enclosure_def
 <map> Default enclosure configuration. More...
 
Variables
 pcie_expansion_debug = false
 <boolean> Set to true to check configuration structure.
 
 pcie_expansion_debug_verbose = false
 <boolean> Set to true for verbose configuration checking.
 
 riser_pcb_def = riser_PCE164P_NO3_VER_007
 <map> Default riser board configuration.
 

File Details

A PCI Express expansion chassis and/or enclosure generator.

Author
Roy Allen Sutton
Date
2026

This file is part of omdl, an OpenSCAD mechanical design library.

The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.

Definition in file pcie_expansion.scad.