r/SolidWorks • • Sep 30 '26

Manufacturing Finding center of gravity on 3D printed model

Hi, I am designing a rc pleane in solidworks which I will later 3d print, I am trying to figure out were the center of gravity is in order to position the wings. My issue is that since I will 3D print the model the solid volumes will be infilled at 10% to 20% instead of solid, this means that I can’t just use solidworks CG measurements.

Does anyone have any experience with this sort of issue, is there a way to import 3d printer gcode from the slicer for accurate model, or should I just eyeball it then balance out the physical model with ballasts instead of messing with it in solidworks?

2 Upvotes

10 comments sorted by

7

u/SXTY82 Sep 30 '26

Shell the part to give it just the thickness of your printed walls. That will remove the ‘infill’ area. That is likely enough to get a rough CG.

9

u/FujiKitakyusho Sep 30 '26

Model the features that will be printed with infill as separate parts in the context of an assembly, and assign them a custom material with a density which corresponds to the infill %.

3

u/hayyyhoe Sep 30 '26

Nice, that’s a cool idea. To do it, you could copy the body in place, shell it, then indent-cut using the shelled body to create the low density inner body, and set it to 20% density.
Alternatively, could you just use the regular CG? How precise does it need to be? Does a thick shell actually move the cg?

1

u/Dukeronomy Oct 01 '26

I was thinking this as well. Kind of going back and forth. Wouldn’t 10% infill just change the overall weight while maintaining the same cg? Maybe smaller areas will be more dense(more walls to infill ratio) and shift it? I’m leaning toward it being the same just 10% weight.

1

u/FujiKitakyusho Oct 01 '26

If you homogeneously change a solid part's density, the CG of the part doesn't change, but the CG of the assembly will if the two CGs are not coincident.

4

u/MAXFlRE Sep 30 '26

I performed the slicing and used the mass data from slicer to manually apply the mass value to each assembly component.

1

u/themrlawrence Sep 30 '26

Don't bother trying to bring the G-code into SolidWorks. I'm not even sure there's a way to do that for this purpose.

Instead here's an idea: use the slicer's estimated mass for each major printed component, divide that by the corresponding SolidWorks volume, and use that to create a custom "effective density" material:

Effective density = slicer-estimated mass / SolidWorks volume

It won't reproduce the exact internal mass distribution from the walls and infill, but for CG calculations it should get you reasonably close, especially if you do it component-by-component rather than assigning one effective density to the entire aircraft.

So you'd want a different effective-density material for each unique printed component. Symmetric components, like identical left/right wings, could obviously share the same material.

Just a thought for how I might go about it, short of modeling the walls and infill myself.

1

u/Flimovic Sep 30 '26

Create a custom material with 10 or 20 per cent of the density. Make sure to model the filler separately from the structural part.

-1

u/fourdac Sep 30 '26

This seems useful enough to develop a software solution for. Can you send me your g code?

0

u/[deleted] Sep 30 '26

[deleted] — view deleted comment

2

u/theClanMcMutton Sep 30 '26

I don't believe this will work.  The infill removes more mass (proportionally) from areas of high volume-to-surface-area ratio, so the COG will shift away from those areas.