Feb 27, 2019 STL and OBJ are two common file types used to save 3D models. STL files store a model as many small triangles, while OBJ files are more flexible and can use different polygons as well as freeform curves. OBJ files can also store color and texture, which.
Issue:
You have imported a mesh file (.STL or .OBJ) into Fusion 360 and you would like to convert it to a solid body to edit.Causes:
Mesh files can be difficult to work with when adding features such as holes or extruded cuts compared to solid (b-rep) bodies. You may also need to include the mesh body in a STEP or IGES format export of the file, which will require all bodies to be solid bodies.Solution:
NOTE: Fusion 360 works best when converting meshes with less than 10,000 facets. If your mesh body contains more than 10,000 facets, it is possible the conversion process will fail or errors will occur. The Modify > Reduce and Modify > Remesh tools in the Mesh workspace can be used to reduce the count of mesh facets to promote a healthy conversion to b-rep.To convert a mesh body to a b-rep body in Fusion 360, you must be working in the direct modeling environment at least temporarily. If you would like to work with the design timeline enabled after inserting and converting a mesh, you can insert the mesh as a base feature. If you plan on working in direct modeling after inserting the mesh, you can simply disable the design timeline.
TO ENTER DIRECT MODELING MODE AND CONVERT A MESH BODY TO A SOLID B-REP:
- Click the gear icon in the bottom right hand corner of Fusion 360 and select 'Do not capture design history.' This will remove the design timeline and enter Direct Modeling mode.
- Insert the mesh file. To insert the mesh file into a Fusion 360 design, please refer to the link below;
- How to insert a mesh body into Fusion 360
- The mesh body can then be converted by using the Mesh to B-Rep conversion tool, available at the locations shown below;
- The Modify > Mesh menu in the Model workspace
- By right-clicking the mesh body in the Browser tree and selecting 'Mesh to BRep';
TO INSERT AND CONVERT A MESH AS A BASE FEATURE:
- Create a base feature by using the Create > Base Feature tool shown below;
- Insert the mesh file. To insert the mesh file into a Fusion 360 design, please refer to the link below;
- How to insert a mesh body into Fusion 360
- Use the Modify > Mesh menu in the Model workspace to invoke the Mesh to B-Rep command as pictured in the previous procedure.
- After the conversion is complete, select Finish Base Feature on the command ribbon to return to the model workspace.
See Also:
Related Knowledge Articles: Related Forum Discussions:Versions:
I want to convert an .stl file to .obj, without using blender interface.
To do that, i want to do it in two step :
1 STL to BLEND
2 BLEND to OBJ
Actually BLEND to OBJ work ok with this python code :
and with this batch :
This work perfectly.
The problem is with the STL to BLEND, its not working with this python code :
And the batch associated :
i got as an error : File format is not supported in file C:..turbine.stlBlender quit
I think the problem is in my python code, but i don't know what to change.
I found help for the first script here : https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/Wavefront_OBJ
![Convert Convert](http://3dprintingforbeginners.com/wp-content/uploads/2016/06/Netfabb-Repair01.png)
I thank you in advance for the help, maybe there is a better way to that. I don't want to have to launch blender and do it manually. I only need a prompt commande.
foufrixfoufrix44911 gold badge1010 silver badges2323 bronze badges
2 Answers
i got as an error : File format is not supported in file C:..turbine.stl Blender quit
The error you are getting means that Blender is trying to read first command argument as a .blend file. Just put your script's arguments after '--' (as it says in the script's comment), and it should work.
Made some changes to the script to import STL and export an OBJ in one step, to test if it works:
and launched it as follows:
Anna SirotaAnna Sirota
I ran this code with the following input on OSX
This code was very helpful, thanks guys!
BTW, I needed this code to do all files in the directory and they were numbers so I used the following code to have blender convert all the files for me:
CodeGuyRossCodeGuyRoss