r/FreeCAD • u/Vilro-Gall • Jun 29 '26
Going from simple parts to a real project
Hey everyone,
I'd call myself a casual FreeCAD user. I can model plenty of simple parts, mostly for 3D printing. But the moment I try something more technical, I hit a wall. I feel like I could manage it, but I never end up with what I had in mind.
My current project is a case for a DIY Home Assistant server built around a laptop motherboard, and I'm not even sure how to start.
In a lot of the videos I've watched, people begin by modeling the part they're designing around (the motherboard, in my case), and then build the case on top of that reference. My own workflow is almost entirely sketch-based, mainly measure first, then design. For example, I designed an ethernet bracket for this same MB: I took all the measurements first, then modeled it in FreeCAD. But using that same technique for the whole motherboard feels impossible to me.
Could anyone recommend tutorials or articles to help me pick up these more advanced techniques? Thanks a lot!
2
u/SoulWager Jun 29 '26
For a laptop motherboard, I'd start by trying a flatbed scanner for a reference image. hopefully at least one side of the board doesn't have any tall components on it. If that's not practical for whatever reason, I'd go to a 3d scanner(smoke em if you got em), taking a reference photo with a camera(preferably from far away, to minimize distortion), measuring with calipers and modeling the motherboard manually, or photogrammetry.
I wouldn't go this far for a pcb I'm not designing myself, but when I was making my mouse I would model the major components in freecad(unless they already had a 3d model available from the manufacturer or component library), attach those models to the footprint in KiCAD, then export a step from KiCAD of the whole PCB with the components populated. Then I import THAT step back into freecad to use as reference for the rest of the mechanical design.
1
u/Vilro-Gall Jun 29 '26
Hey, I did this, I have a scan of the MB. Building around it is fine for me, but manipulating an object in FreeCAD to assemble it and build around it feels obscure to me. I'll try to find some tutorials on this specific topic.
1
u/SoulWager Jun 29 '26 edited Jun 29 '26
but manipulating an object in FreeCAD to assemble it
If it's already modeled, like an imported step file I just transform it into place. If I'm modeling it in place I use transform to position the body where it makes sense to have the body's origin, and then sketch attachment to position sketches. Usually attach either plane face on one of the base planes, offset to get it higher or lower, or pick three points and use align OXN, OXY, etc. to attach it to a sketch I'm using as a skeleton, or to other geometry. https://wiki.freecad.org/Part_EditAttachment
Do you make clones of the components to use them as cutting objects for the holes?
For this I'd use a subshape binder, and either use the offset property to add appropriate clearance and use the binder to pocket directly, or use the binder as external geometry in a sketch, usually as construction geometry.
I only use the assembly workbenches if I want to see a mechanism moving.
1
u/Vilro-Gall Jun 29 '26
Oh, very interesting. So do you use the Part workbench to design your models? Or do you use Part Design and then switch to Part?
1
u/SoulWager Jun 29 '26
That's just documentation for how attachment works, most often I use it by right clicking a sketch and selecting "edit attachment". Doesn't matter whether it's in part design or not.
1
2
u/Th3J4ck4l-SA Jun 29 '26
Start with the space you will need around the board. Then the points of contact. Model what you want to do rather than what you want it to look like. If that can help you at all.
One way to do this. Create a box of the size your whole "thing" cannot exceed then sink into that box the profile of the MB. Then create clearance for the MB. Then Create the standoffs for the MB. You will soon get the hang of it.
1
1
u/Ok_Worldliness_2037 Jun 29 '26
If you have some skill with digital photography and processing, you can take a picture of the board you are working with and import it onto a plane and draw your sketch directly on the image. It helps if you lay a ruler on it for reference to get the image to a 1:1 scale, it won't give you a final draft on the first try, but you can do the bulk of your modelling with it, and physical measurement becomes a quality control fuction rather than a design input.
11
u/FForthman Jun 29 '26
In your case, the problem is that it's unlikely you'll find a 3D model of this motherboard anywhere.
But yes, the process will be the same: model the motherboard before modeling the case. Even though it seems like more work, it actually simplifies the design in the end because you can
I’m actually doing something similar right now (integrating a motherboard, a screen, and buttons into a case)
But it’s not essential to create an exact representation;
in my case, I just represented the connectors as blocks and the solder points as raised areas on the board. The main thing is to have the holes in the right places and to know the dimensions of the various components.