Editing Parametric 3D Printed Electronics Case/Enclosure

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
Cases/Enclosures for electronics project are often a bit of a pain.  They cost too much, it is hard to find the right size, and after one is in hand it can be quite a bit of work to finish off all the holes, mounting bits and so on.  Perhaps 3D printing can come to the rescue.  I looked around for what are called parametric models of cases -- I did not find any that were quite what I had in mind so I designed my own.
+
Cases/Enclosures for electronics project are often a bit of a pain.  They cost too much, it is hard to find the right size, and after one is in hand it can be quite a bit of work to finish off all the holes, mounting bits and so on.  Perhaps 3D print can come to the rescue.  I looked around for what are called parametric models of cases -- I did not find any that were quite what I had in mind so I designed my own.
  
This is an article started by Russ Hensel, see [[http://www.opencircuits.com/User:Russ_hensel]] for a bit of info.  This project is now at github: [[https://github.com/russ-hensel/Parametric-Case-Enclosure Parametric-Case-Enclosure]].
+
This is an article started by Russ Hensel, see [["http://www.opencircuits.com/index.php?title=Russ_hensel#About My Articles" '''About My Articles''']] for a bit of info.  This project is just about ready for upload to github.
 
 
[[Image:Case tb.png|500px]]
 
 
 
* '''For a bunch more pictures of this object see: [[Pics of 3D Printed Case]] ''' 
 
* For the instructable version see: '''[https://www.instructables.com/id/Any-Size-Enclosure-You-Want/ Any Size Enclosure You Want: 4 Steps ]'''
 
  
 
= Requirements =
 
= Requirements =
Line 22: Line 17:
  
 
== Get the Files ==
 
== Get the Files ==
 +
 +
See github: .......
  
  
See github: [[https://github.com/russ-hensel/Parametric-Case-Enclosure Parametric-Case-Enclosure]]
 
  
 
== Modifications I Might Make ==
 
== Modifications I Might Make ==
Line 30: Line 26:
 
* Perhaps slide in slots for boards.
 
* Perhaps slide in slots for boards.
 
* Better control of the bolt holes.
 
* Better control of the bolt holes.
* Chamfers would be easy to add at least non parametrically.
 
  
 
= Use =
 
= Use =
Line 48: Line 43:
  
 
== Spreadsheet ==
 
== Spreadsheet ==
 
So simple just open the file, open the spreadsheet ( double click on the spreadsheet in the model ) and enter the values ( no units, assumes mm ). 
 
The values that are supposed to work ( let me know if they do not ) are:
 
 
*height -- the case height
 
*width -- the case width
 
*length -- the case length, x direction
 
*thick -- the case thickness.  I started with 3 but 2 mm also seems ok.  Up to you, your printer and material.
 
*leave the rest alone
 
 
 
== Sketches ==
 
== Sketches ==
 
Each face has a sketch associated with a face.  Find them in the model and edit.  All are pockets.  Unused items can be slid to the side.  Sketches need not be fully constrained, but it is a good idea ( unless off to the side )
 
 
Sketch names:
 
 
*RightEdgePunch
 
*LeftEdgePunch
 
*BotPunch
 
*ToipPunch
 
*RearPunch
 
*TopPunch
 
 
 
== Fusions and Export ==
 
== Fusions and Export ==
 
 
Pick the sides you want to print:  for example lets say you want to print in 2 parts, the top and rear as one and the rest as one part with them bolted together.
 
 
The punched ( with holes ) sides are named:
 
*FrontPunchedDrilled ( or FrontPunched if you do not want the bolt holes )
 
*RearPunchedDrilled
 
*BotPunchedDrilled
 
*TopPuhchedDrilled
 
*LeftEdgePunched
 
*RightEdgePunched
 
 
First create the fusion.  Go to the part workbench.  Select:
 
*FrontPunchedDrilled
 
*RearPunchedDrilled
 
 
Then apply the union operation.  You will get a new part:  Fusion xx, you might rename it top_and_rear, but you need not keep it around long, so perhaps it does not need a rename.
 
 
Next, go to the mesh workbench and then select your last fusion/union object and apply the Meshes Create Mesh from Shape ( I use .1mm standard mesh ).  You will again get a new object, xxx ( meshed )
 
It will appear right on top of the fusion so you may or may not want to tinker with the part visibilities.
 
 
The mesh workbench has a Meshes -> Evaluate and Repair  function.  Use it.  Sometimes it finds things other times not.  Why not be safe.
 
 
With the meshed selected go to the File export and export the mesh as an stl file.  Give this a good name to make it easy to find later top_bot.stl perhaps.
 
 
Repeat the above but using the parts:
 
 
*BotPunchedDrilled
 
*TopPuhchedDrilled
 
*LeftEdgePunched
 
*RightEdgePunched
 
 
The stl files are now ready for your 3D printer workflow. ( Which may ask for additional mesh fix up, this has always gone fine for me. )
 
  
 
== Configuration Examples ==
 
== Configuration Examples ==
  
This will be coming later, perhaps just in pictures, for now one example see:  [[https://github.com/russ-hensel/Parametric-Case-Enclosure Parametric-Case-Enclosure]]
 
 
= Related Links =
 
 
== GitHub ==
 
 
Some results from github search on FreeCad and Enclosure or Case
 
 
*'''[https://github.com/russ-hensel/Parametric-Case-Enclosure russ-hensel/Parametric-Case-Enclosure: Parametric Case-Enclosure in FreeCad for electronics or other projects. In FreeCad ]'''
 
*'''[https://github.com/maygli/EnclosureGenerator maygli/EnclosureGenerator: FreeCAD plugin to generate enclosures for electronic devices ]'''
 
*'''[https://github.com/DaniDiaz71/DSS-SG100-Signal-Generator-Case DaniDiaz71/DSS-SG100-Signal-Generator-Case: FreeCad files and other stuff about DSS SG100 Signal Generator Case // SP: Caja para generador de señales DSS SG100 ]'''
 
*'''[https://github.com/afiskon/freecad-rtlsdr-case afiskon/freecad-rtlsdr-case: Simple 3D-printed case for RTL-SDR ]'''
 
*'''[https://github.com/dejongh/raspberrypicase dejongh/raspberrypicase: FreeCAD files and Python script for a Raspberry Pi case that can be 3D printed and customised with your text. ]'''
 
 
== Search Thingiverse ==
 
  
Not all I found.  All these should link to FreeCad source.
 
 
*'''[https://www.thingiverse.com/search/page:4?q=freecad+enclosure&sa=&dwh=345a5ce9095b62b Search Thingiverse - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:2741239/#files TRONXY P802 Power Supply Switch Cover by justsean - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:721859/#files RaspberryPi Squeezebox by reparator - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:214167/#files Raspberry Pi enclosure remix by papergeek - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:1986658 Orange Pi Zero Case by xoan - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:941903/#files DivMMC EnJoy Enclosure (Sinclair ZX Spectrum) by LCD - Thingiverse ]'''
 
*'''[https://www.thingiverse.com/thing:13655 Parametric Project Enclosures by thehans - Thingiverse ]'''
 
  
  
[[category:FreeCad]]  [[Category:CAD/3DPrint]]
+
[[category:FreeCad]]

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)