3D print of PCB mounting brackets using openscad

×

Overview

module url N/A
git repository https://bitbucket.org/arrizza-public/3d-print-mount-brackets
git command git clone git@bitbucket.org:arrizza-public/3d-print-mount-brackets.git
verification report https://arrizza.com/web-ver/3d-print-mount-brackets-report.html
version info
OS Language #Runs Last Run Cov%

Summary

This project is my first 3D printing project. I used openscad since it was much easier to figure out (for me!) than Fusion360.

The project generates mounting brackets to be used in the corners of a PCB. They provide bolt holes to be able to mount the PCB without drilling holes in it.

To run

See doc/test_process.md to do the initial install.

And then do these steps:

  • run openscad
  • load the .scad file
    • click "File"
    • click "Open File"
    • navigate to the directory
    • click Open
  • render it by doing one of these (the image will go all yellow):
    • click Design | Render
    • press F6
    • or, click icon with cube and corner arrows
  • export it by doing one of these:
    • click File | Export | Export as STL
    • press F7
    • or, click icon with page and "STL" on it
  • navigate to this directory and save the .stm file into ./out directory

In your 3d printer (see below for Bambu Studio):

  • import the .stm file from ./out
  • slice it
  • print it
  • check if it fits on your PCB and bolts fit correctly, etc.

If it works for you, and you're using a BambuLab A1 Mini, do these steps to create a few more brackets:

  • open Bambu Studio
  • import the stm file into your 3D printer
  • ensure you are in the "Prepare" tab
  • right-click on the model
  • select "clone"
  • click "+" 3 times to get a total of 4 brackets on the plate
  • select them: press ctrl and then click on each of the 4 brackets
  • right-click on the plate (not the model)
  • select "arrange"; Bambu Studio will move and orient the 4 brackets for efficient printing
  • click "Slice plate"
  • click "Print plate"
  • get a "Send print job" dlgbox
  • click "Send"

To use the brackets

  • Put a bracket in each corner
  • rotate it as needed to put the bolt holes where your project requires them
  • use small wire ties or small elastics to hold the brackets in place.
  • use 6-32 bolts to mount them as needed.

This shows brackets on a small PCB using elastics to hold them in. sample

Those elastics can be found in the "hair care" section of stores. They typically have many sizes for putting hair in a ponytail.

The reason these work is that they are stretchy but with fairly low force. That makes brackets stay put on the PCB corners long enough to bolt everything down.

This shows the same but also has a wire tie. sample

Wire ties can be used hold the brackets in place more permanently.

Note: the wire ties are the smallest I could find at the hardware store. The bigger ties will be more applicable to larger PCBs.

These are the dimensions used in the scad file:

strip_thick = 0.97;
strip_width = 2.46;

Next steps

  • create generic "feet" that the bolts can screw into.
  • create similar brackets for a servo I'm using in a project.
  • create similar brackets for larger PCBs (if necessary)

- John Arrizza