Problem slicing STL exported from FreeCAD

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
JanErik
Posts: 5
Joined: Thu Apr 08, 2021 5:10 pm

Problem slicing STL exported from FreeCAD

Post by JanErik »

I have initially created an enclosure, intended for 3D printing, using an OpenSCAD model. Then imported it to FreeCAD and somehow made a Part from a Mesh.
Cut some holes in it using Boolean Cut and now I have tried to export it as STL again.
But it does now slice correctly neither with PrusaSlicer nor Curaengine;

Looks OK when opened in RepetierHost even though it complains it is not manifold;
Screenshot_20210407_175814.png
Screenshot_20210407_175814.png (19.32 KiB) Viewed 638 times
But sliced, it looks like this.
Screenshot_20210407_175208.png
Screenshot_20210407_175208.png (147.4 KiB) Viewed 638 times
I have tried to run the Analyze and repaired inconsistencies but that did not help. What could I be doing wrong here?
User avatar
chennes
Veteran
Posts: 3914
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Problem slicing STL exported from FreeCAD

Post by chennes »

Can you post your FCStd (and possible SCAD) files here?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
JanErik
Posts: 5
Joined: Thu Apr 08, 2021 5:10 pm

Re: Problem slicing STL exported from FreeCAD

Post by JanErik »

http://users.abo.fi/jskata/equalizer.zip
customizable_enclosure_equalizer.stl is the original output from the SCAD file with the same name.
equalizer_meshed.stl is exported from FreeCAD.

Tried both Standard and Mefisto mesher, as well as just taking File->Export on the Cut16 object.
JanErik
Posts: 5
Joined: Thu Apr 08, 2021 5:10 pm

Re: Problem slicing STL exported from FreeCAD

Post by JanErik »

So, any ideas on this?
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Problem slicing STL exported from FreeCAD

Post by jmaustpc »

JanErik wrote: Mon Apr 19, 2021 10:57 am So, any ideas on this?
Can you [post the FCstd (FreeCAD) file?

You can see in your second image that the holes in your object are showing as cylinder walls rather than a hole. That could explain why your other program says that the STL is non-manifold. I have often seen STL files from other applications that actually contain several STL components with in it, for example a hole may have a separate cylinder, there are some tools that you can edit those with varying degrees of success. I wonder if you had the wrong thing selected when you ran the FreeCAD Export? FreeCAD does not export at the "complete file" level, you select just the object required from within your file and export that.

That may be you problem if you selected both the cylinders that you used for the Boolean cut and the result of the cut and then exported, for example.
JanErik
Posts: 5
Joined: Thu Apr 08, 2021 5:10 pm

Re: Problem slicing STL exported from FreeCAD

Post by JanErik »

Uploaded it here;
http://users.abo.fi/jskata/equalizer.zip
customizable_enclosure_equalizer.stl is the original output from the SCAD file with the same name.
equalizer_meshed.stl is exported from FreeCAD.

Tried both Standard and Mefisto mesher, as well as just taking File->Export on the Cut16 object.
jeno
Veteran
Posts: 1854
Joined: Sun Jun 29, 2014 10:41 am

Re: Problem slicing STL exported from FreeCAD

Post by jeno »

JanErik wrote: Mon Apr 19, 2021 10:57 am So, any ideas on this?
If I take a closer look at your model I see the follwing
JanErik.png
JanErik.png (55.68 KiB) Viewed 443 times
Your Model is a compound constisting of two shells. They are hollow. Booleans make it worse. Then the shells are open.
JanErikopenshell.png
JanErikopenshell.png (18.89 KiB) Viewed 443 times
Of course then slicers are throwing "non-manifold" errrors. Probably you forgot to make the Part->Convert to solid step.
I would suggest to start with the orignal mesh and split box and lid. Save the lid as it is, it is fine for the slicer. Then delete the lid. Convert the box to a solid Part-> Shape from Mesh followed by a refine Shape and Convert to Solid afterwards. Then apply your Booleans. In your case Draft Array would be a time saver ;)

Regards
JanErik
Posts: 5
Joined: Thu Apr 08, 2021 5:10 pm

Re: Problem slicing STL exported from FreeCAD

Post by JanErik »

Great, thanks! I am making progress now.
Post Reply