r/FreeCAD • • 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!

16 Upvotes

30 comments sorted by

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.

5

u/Vilro-Gall Jun 29 '26

Yeah, exactly, I feel like it's the best method. But the issue is how to manipulate that modeled motherboard in FreeCAD. Using sketches for that doesn't feel optimal to me. Do you have any tutorials to recommend?

3

u/Th3J4ck4l-SA Jun 29 '26

Aaaah. Try using assembly or assembly 4. This way you can put all the parts together in space?

1

u/Vilro-Gall Jun 29 '26

OK, I'll take a look at that. The thing is, how do you use the model to design around it? Do you make clones of the components to use them as cutting objects for the holes? Sorry if my questions don't make sense.

2

u/DesignWeaver3D Jun 29 '26

IMO, Assembly workbench is not needed for this project because there are no moving parts to simulate.

As recommended by others, you start by modeling the internal components that need separate mounting in separate PartDesign bodies. Use the Transform tool to position them relative to each other. Create the case bottom in a new body.

Use SubshapeBinders in the case body to reference the geometry of other components. The binders will stay synchronized in position relative to the source object. So, if you move the components, the binders will move too.

1

u/Vilro-Gall Jun 29 '26

Ok, thank you, I think I have a clearer idea of what to do now. Thanks, everyone :)

2

u/Th3J4ck4l-SA Jun 29 '26

To each their own flow I guess.

2

u/BoringBob84 Jun 29 '26

I agree that an Assembly is not necessary, but I think it would be helpful in this project. Fixed Joints are simple, but they have the advantage of placing the interfacing faces or edges exactly.

2

u/DesignWeaver3D Jun 29 '26

The new Transform Tool options can also place objects exactly based on faces, edges, etc. The only difference is that they won't stay synchronized. But you cannot synchronize objects relative to a part (the case) that hasn't been design yet.

How would you use fixed joints in the Assembly workbench for separate components going into a case that has yet to be designed?

In my proposed workflow, the case will be exactly positioned based on the SubshapeBinders.

My concern is that combing both workflows creates a cyclic dependency. I may be wrong though.

2

u/BoringBob84 Jun 29 '26

How would you use fixed joints in the Assembly workbench for separate components going into a case that has yet to be designed?

I typically make the model of the interfacing part first, then I make the model of the part that I want to manufacture, and finally, I mate them in the Assembly.

An Assembly is even more useful to me when I have multiple instances of parts. That is probably not the case (pun intended) here.

In my proposed workflow, the case will be exactly positioned based on the SubshapeBinders.

I think that is a good workflow. Maybe it is just a personal preference, but I usually define interface sizes and locations with variables in a Spreadsheet or Variable Set, rather than with Sketch Attachments, External Geometry, or SubShapeBinders. I want maximum robustness against the TNP as my design evolves.

3

u/Th3J4ck4l-SA Jun 29 '26 edited Jun 29 '26

You measure it. So choose a point of refference that make sense and use the measure tool to reference everything from there.

1

u/FForthman Jun 29 '26

No, sorry, I don't have a tutorial. I just started with a sketch of the card (with the holes), then I added a sketch with the different blocks, enabled “make internals” on that sketch, and create Pads of different heights.

1

u/Vilro-Gall Jun 29 '26

Oh ok, but do you manipulate the MB in FreeCAD to change its position and so on? Or do you just create around it without touching it?

1

u/Steve_1st Jun 29 '26

Best practice would be use the same origin/datum for both bodies (and you do need to model them as separate bodies)

But to move the motherboard model body once you have made it use "transform" on that body (right click on the body on the tree)

1

u/Vilro-Gall Jun 29 '26

OK thank you ^^

1

u/FForthman Jun 29 '26 edited Jun 29 '26

Yes, you can move the object wherever you want; the origin used to define the motherboard doesn't have to be the same as the one used by your enclosure

For example, to make modeling the board easier, you might use a corner as the 0,0,0 point, and when you define your case, its origin will be at the center of one of its faces.

You can move the motherboard using the Transform tool, for example, and you can even use Sub-ShapeBinder to extract the motherboard’s geometry and transfer it to the case.

That way, if you move the MB later because you realize you need a little more space to accommodate a connector, the mounting points will be automatically updated in the enclosure

Edit: I just made a short video to show you how it works; you can find it here: https://youtu.be/YdW4Vrnl7MY

1

u/Vilro-Gall Jun 29 '26

Thank you for the video, it's very clear. So there's no problem moving parts arbitrarily (by hand).
I'm still stuck on making models fully parametric, but I see that sometimes it's fine to just make a model for a single use.

1

u/FForthman Jun 29 '26

Yes, it's pointless, but it's always more convenient to have “exact” dimensions (±0.5 or even ±0.25).

Personally, I can't think of anything more tedious than reverse engineering a model with random dimensions :p

1

u/NormalGuy500 Jun 30 '26

I like to not move anything. Get familiar with the sub shape binders. That's the most helpful thing you can do. And not sure if you are having a hard time because it seems from your questions that you are trying to do it all in the same body. Make multiple bodies. You can show or hide them as needed. You can start with binders and draw on and with them.

2

u/BoringBob84 Jun 29 '26

But it’s not essential to create an exact representation;

I want to emphasize this point. Only the interfaces are important. The rest can be approximate.

2

u/Vilro-Gall Jun 29 '26

Yeah so, in my project that could be:

  • PCB boundaries and holes

  • connector positions

  • SATA SSD

  • fan exhaust and intake

Thanks for the comment !!

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

u/Vilro-Gall Jun 29 '26

Ahhh ok,thank you ^^

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

u/Vilro-Gall Jun 29 '26

Thanks for the advice, I'll try it :)

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.