![]() |
omdl
v0.9.8
OpenSCAD Mechanical Design Library
|
PCI slot cover bracket generator. More...
Collaboration diagram for PCI bracket:Files | |
| file | pci_bracket.scad |
| A PCI slot cover and adapter card bracket generator. | |
Functions | |
| module | pci_bracket (form=0, fins=1, vents, ribs, tabs, align) |
| PCI slot cover and adapter card bracket generator. More... | |
PCI slot cover bracket generator.
| Requires: |
|---|
| include <omdl-base.scad>; |
| include <parts/3d/computer/pci_bracket.scad>; |
| module pci_bracket | ( | form | = 0, |
| fins | = 1, |
||
| vents | , | ||
| ribs | , | ||
| tabs | , | ||
| align | |||
| ) |
PCI slot cover and adapter card bracket generator.
| form | <integer> bracket form factor (0=standard, 1=low profile). |
| fins | <integer> fin placements (0=none, 1=side one, 2=side two, 3=both sides). |
| vents | <data-list-2> vent specification. |
| ribs | <data-list-4> rib specification. |
| tabs | <list-list-n> tab specification. |
| align | <integer-list-3> part alignment. |
This module generates customized PCI brackets that can be used to create simple PCI slot covers and PCI adapter card brackets in both full and half-height formats. All parameters are optional. Default values are used for all unspecified parameters. Default values are also used for unspecified elements positions for parameter that accepts a list of values.
vents
| e | data type | default value | parameter description |
|---|---|---|---|
| 0 | <integer> | 0 | vent hole count |
| 1 | <decimal> | 3.0 | vent hole radius |
ribs
| e | data type | default value | parameter description |
|---|---|---|---|
| 0 | <integer> | 3 | location (0=top, 1=none, 2=bottom, 3=both) |
| 1 | <integer> | 1 | shape (0=cylinder, 1=ellipse) |
| 2 | <integer> | 10 | number of divisions |
| 3 | <decimal-list-n> | [3, 7] | division positions list [p1, p2, ..., pn] |
tabs
| e | data type | default value | parameter description |
|---|---|---|---|
| 0 | <decimal-list-3> | tab-0: [offset-y, offset-x, hole-diameter] | |
| ... | ... | ... | |
| n | <decimal-list-3> | tab-n: [offset-y, offset-x, hole-diameter] |
align
| e | data type | default value | parameter description |
|---|---|---|---|
| 0 | <integer> | 0 | align-x |
| 1 | <integer> | 0 | align-y |
| 2 | <integer> | 0 | align-z |
The possible x, y, and z alignment locations and configuration values are described in the following table:
| parameter | value | value description |
|---|---|---|
| align-x | 0 | bracket outside |
| 1 | bracket center | |
| 2 | bracket inside | |
| 3 | bracket tab screw center-x | |
| 4 | back of tab | |
| 5 | pci connector alignment slot | |
| align-y | 0 | bracket edge away from circuit board |
| 1 | bracket tab edge away from circuit board | |
| 2 | circuit board bottom edge | |
| 3 | bracket tab screw center-y | |
| 4 | bracket edge near circuit board | |
| 5 | connectors window edge away from circuit board | |
| 6 | connectors window center | |
| 7 | connectors window edge near circuit board | |
| align-z | 0 | bracket bottom |
| 1 | top of pci connector | |
| 2 | bottom of board / board stop | |
| 3 | bottom of bracket tab | |
| 4 | top of bracket tab | |
| 5 | connectors window bottom | |
| 6 | connectors window center | |
| 7 | connectors window top |
PCI bracket example script
| left | right | back | diag |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Definition at line 401 of file pci_bracket.scad.
Here is the call graph for this function: