And I very much doubt it ever will. Blender is a polygon mesh modeller; .stp or STEP (ISO 10303) is a CAD exchange format for B-rep models. Only a CAD program with a CAD kernel can import and display a CAD model, I'd think that a STEP plug-in for Blender would need to rely on a third-party library that would convert the STEP file into a mesh format.
I believe this is a bug that was introduced in FreeCAD 0.17 with the new Std Part container, and the STEP import utility updated to use it to structure imported STEP assemblies. Part containers are used to group sub-assemblies of components; each Part container has its own coordinates, but the export utility does not recognize them properly. AFAIK this was fixed in v0.18, which while still in development, is approaching release (no date is set though). Development builds are available, and they've been quite stable for a long time.
That's typically what STL export does. STL is a rapid prototyping format developed originally for stereolithography, now widely used for 3D printing. It is not well suited for your purpose; you should rather export to Wavefront OBJ (not Alias Mesh). If you did choose OBJ and the whole object seems to be a fused mesh, then this may be a different issue; difficult to troubleshoot without the original STEP file.
There's plenty of enthusiasm to get a STEP addon up and running, someone called Jaume Bellet has got a test bed running but it's apparently being converted to be 2.80 compatible, see https://www.youtube.com/watch?v=qCy0zZ0r3nA
Code: Select all
import bpy C = bpy.context scene = C.scene C.tool_settings.mesh_select_mode = (True, False, False) for ob in C.selected_objects: if ob.type == 'MESH': scene.objects.active = ob #set active object bpy.ops.object.mode_set(mode='EDIT') #switch to edit mode bpy.ops.mesh.select_all(action='SELECT') bpy.ops.mesh.remove_doubles() #remove doubles bpy.ops.mesh.tris_convert_to_quads() #tris to quads bpy.ops.mesh.customdata_custom_splitnormals_clear() #remove custom normals bpy.ops.object.mode_set(mode='OBJECT') #switch to object mode
If it imports as a single solid, it's possible that you have "Enable STEP Compound merge" checked in Preferences/Import-Export/STEP.mark1791 wrote: ↑Sun Feb 03, 2019 4:20 amOpening the step file in FreeCAD via File import, imports the model as a single solid, where as if you import via Part workbench import, imports it as 194 sepearte solids, as picture below. Why the difference, i don't know someone else may be able to explain the differences in FreeCAD import.