Memory issues converting meshes to .stls - workaround?

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!
KarenI
Posts: 1
Joined: Wed Jul 15, 2020 8:36 pm

Memory issues converting meshes to .stls - workaround?

Postby KarenI » Wed Jul 15, 2020 9:22 pm

I have only run Freecad once now after finding information on how to convert meshes to .stls - a friend found a CNC mesh she wants to 3d print, and I've also bought some smaller files online to do the same. She and I both want to do these in 1/12th scale. I'm familiar with Mastercam and Sketchup, so Freecad wasn't too hard to figure out.

Information I've found online to open and convert a mesh to .stl worked (I checked the file for errors and there were none), except for the amount of memory Freecad took up in doing it - I shut it down when it was up to 7 of the 8G I have in this box.

Is there a way to keep Freecad from eating memory when converting?
chrisb
Posts: 30662
Joined: Tue Mar 17, 2015 9:14 am

Re: Memory issues converting meshes to .stls - workaround?

Postby chrisb » Wed Jul 15, 2020 10:07 pm

Hi and welcome to the forum!
KarenI wrote:
Wed Jul 15, 2020 9:22 pm
Is there a way to keep Freecad from eating memory when converting?
No.
FreeCAD is not at all optimized for meshes and representing them in FreeCAD requires a lot of overhead. Yet the mesh bears less information. Think of a cylinder: for FreeCAD you have the base with a center and the radius, and the height. An STL would have a hole bunch of triangles to approximate the cylinder surface, yet it stays a tesselation.
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
vocx
Posts: 5206
Joined: Thu Oct 18, 2018 9:18 pm

Re: Memory issues converting meshes to .stls - workaround?

Postby vocx » Wed Jul 15, 2020 10:15 pm

KarenI wrote:
Wed Jul 15, 2020 9:22 pm
...She and I both want to do these in 1/12th scale. ...
An STL file is a Mesh already.

If you just want to manipulate a mesh and scale it down, maybe you'd have better luck with a different program, like Blender, which is designed to work with meshes in a better way than FreeCAD could. FreeCAD's strengths are in solid modelling in a parametric way, which is different from manipulating meshes.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
TheMarkster
Posts: 2059
Joined: Thu Apr 05, 2018 1:53 am

Re: Memory issues converting meshes to .stls - workaround?

Postby TheMarkster » Wed Jul 15, 2020 11:41 pm

Should be able to scale them in cura without needing to open them in FreeCAD first.
My FreeCAD video series on youtube: https://www.youtube.com/c/mwganson
mrdic
Posts: 86
Joined: Wed May 10, 2017 4:25 am

Re: Memory issues converting meshes to .stls - workaround?

Postby mrdic » Thu Jul 16, 2020 3:51 am

Cura slices .obj and other formats as well as .stl, so conversion to .stl mightn't even be needed. Fused filament printing and Cura aren't even fussy about watertightness and shared edges and vertices that return error flags as .stl faults.
User avatar
Roy_043
Posts: 2359
Joined: Thu Dec 27, 2018 12:28 pm

Re: Memory issues converting meshes to .stls - workaround?

Postby Roy_043 » Thu Jul 16, 2020 7:27 am

Note that there is a Mesh_Scale command. I can't imagine that this command would consume a lot of memory.
jmaustpc
Posts: 10523
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Memory issues converting meshes to .stls - workaround?

Postby jmaustpc » Fri Jul 17, 2020 4:41 pm

KarenI wrote:
Wed Jul 15, 2020 9:22 pm
a friend found a CNC mesh she wants to 3d print
do you know exactly which mesh format the file is?
KarenI wrote:
Wed Jul 15, 2020 9:22 pm
rom eating memory when converting?


Sounds like it is a very complex mesh. Is it freely publicly available to view or download from somewhere?