a,b,c,d are inferred from the clearance needed by fasteners or screw
e,f,g,h are inferred from the clearance needed by fasteners or screws (mostly to avoid interference with boards)
i,j,k,l are known exclusions needed by the board, for example, to attach cables and whatnot
m,n is the width and height of the computer itself
solid circles are fasteners
empty circles represent standoffs
I have these parameters in a YAML file and I'm able to write some Go, C#, or Python to generate the PDA files needed. I designed one such mounting tray from a flat panel and then looked at the PDA file in a text editor. I tried to draw the various boundaries on the flat panel but found that the values in the PDA weren't adding up.
Here's what it looks like (formatting is tad wonky)
Code: Select all
devices:
- name: Device 1
width: 42
height: 69
margin:
top: 35
left: 0
bottom: 0
right: 0
holes:
- type: standoff
size: m3
point:
x: 2.5
y: 20
- type: standoff
size: m3
point:
x: 60
y: 4
- type: standoff
size: m3
point:
x: 60
y: 30
There are about 60+ computers, so doing this by hand is going to take a very, very long time.
Is there any way I can use parameters to generate a mounting tray?