STL to Solid - "Part object is not a shell" error
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
STL to Solid - "Part object is not a shell" error
Hi;
I am new to FreeCAD, trying to convert a 3D mesh in STL format to a solid to do cfd modeling.
First, I created a "part" and tried to convert it to a solid but came up with the following error message:
"Part object is not a shell."
Any help will be appreciated.
Thanks
I am new to FreeCAD, trying to convert a 3D mesh in STL format to a solid to do cfd modeling.
First, I created a "part" and tried to convert it to a solid but came up with the following error message:
"Part object is not a shell."
Any help will be appreciated.
Thanks
Re: STL to Solid - "Part object is not a shell" error
Hello,
To convert a mesh object to a solid, here are the steps:
To convert a mesh object to a solid, here are the steps:
- Switch to the Part workbench
- Select the mesh, and go to the Part menu --> Create shape from mesh
- Click OK to the dialog
- Select the newly created shape
- Go to Part --> Convert to solid
- Select the newly created solid
- Go to Part --> Refine shape
Re: STL to Solid - "Part object is not a shell" error
Hi;
Thanks for your response.
This is exactly what I do, but still I get the
"cannot convert because shape is not a shell"
error message!
Thanks for your response.
This is exactly what I do, but still I get the
"cannot convert because shape is not a shell"
error message!
Re: STL to Solid - "Part object is not a shell" error
After you created the Part object enter this into the Python console:
What does it say then?
Code: Select all
App.ActiveDocument.ActiveObject.Shape.ShapeType
Re: STL to Solid - "Part object is not a shell" error
Then it probably means that the mesh does not form a valid enclosed volume (shell).
Switch to the Mesh design workbench, select the mesh object then go to the menu Meshes --> Analyze --> Check solid mesh.
What does it tell you?
Also, can you attach the mesh so we can have a look at it?
Switch to the Mesh design workbench, select the mesh object then go to the menu Meshes --> Analyze --> Check solid mesh.
What does it tell you?
Also, can you attach the mesh so we can have a look at it?
Re: STL to Solid - "Part object is not a shell" error
Hi again;
It says: "The mesh is not a solid."
Anyways, the STL file is attached.
FYI, this is a dinosaur!
It says: "The mesh is not a solid."
Anyways, the STL file is attached.
FYI, this is a dinosaur!
- Attachments
-
- cryptocleidus.zip
- (86.12 KiB) Downloaded 452 times
Re: STL to Solid - "Part object is not a shell" error
Then the mesh has holes or self-intersecting surfaces and thus cannot be made a solid.
The Mesh design workbench has analysis tools to evaluate a mesh, you could try it.
The Mesh design workbench has analysis tools to evaluate a mesh, you could try it.
Re: STL to Solid - "Part object is not a shell" error
The stl file has problems
Re: STL to Solid - "Part object is not a shell" error
If you look at how the model was made, you'll see why it has problems. I converted it to a shape and them used transparency on it to reveal the fact that the fins were just "stuck into" the body. Not the way to model such a critter. Espicialy if you intend to do anything with it after it is modeled. You might be better off modeling a new one from scratch and doing it right.
Mark
OS: Kubuntu 14.04 LTS
Platform: 64-bit
Version: 0.14.3624 (Git)
Branch: master
Hash: 581d88485dfab42292cdec63a6e0d34a216d772c
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1
Mark
OS: Kubuntu 14.04 LTS
Platform: 64-bit
Version: 0.14.3624 (Git)
Branch: master
Hash: 581d88485dfab42292cdec63a6e0d34a216d772c
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: STL to Solid - "Part object is not a shell" error
If he has them as separate "blobs" in some application somewhere...maybe a work around might be to export the body and fins as independent stl files, then "import" them into a single FreeCAD document as 5 separate stl files, convert them independently to solids and then use Part Boolean Fuse to make one solid?
A fuse of the stl file might work, but stl Booleans often give problematic results. So I would think you would be best to convert them to solid shapes first.
A fuse of the stl file might work, but stl Booleans often give problematic results. So I would think you would be best to convert them to solid shapes first.