Products

Reverse Engineering Tutorial Part 1 – Get Your Feet Wet

A few weeks back an article on reverse engineering appeared in the community blog and got a great response, followed by another inquiry on the forum about a beginner tutorial on this topic.

This tutorial shows just one of the many ways in which scanned data in the form of a mesh can be converted into a Solid Edge model.

The reverse engineering process can typically be accomplished in the following 5 steps:

    1. Import and optimize the mesh.
    1. Identify regions based on various boundary representation type.
    1. Extract surfaces based on the identified regions.
    1. Post-process the surfaces to make them fit for body creation.
    1. Combine the surfaces to create the final Solid Edge model.

This process is illustrated in the following infographic with the Solid Edge commands involved at each step.

REBLAT01.png

Ball01.png  Import and Optimize the Mesh

    1. Download the BearingBlock.STL file.
    1. In Solid Edge press Ctrl+O.
    1. In the File Open dialog, select STL documents from the drop-down list at the bottom.
    1. Select the downloaded STL file.
    1. Click the Options… button.
    1. Check ON the boxes for the base feature and heal mesh.

REBLAT02.png

    1. Select the ISO metric part template.
    1. When the model loads, change the view style to wireframe.
    1. Note there are no regular faces.

REBLAT05.png

Ball0P.png  A Quick Primer

A mesh body is made up of triangular polygons, called facets. Each facet has three vertices and three edges.

REBLAT09.png

The facets of a mesh can be collected into faces. These faces are similar to the faces in Solid Edge BREP bodies, except that mesh faces do not have a geometric description.

For example, two or more facets of a mesh can make up a rectangle, but that face is defined simply as a collection of facets, not as a rectangle with a height and width.

    1. Back to the mesh model open in Solid Edge
    1. Note the blue i symbol in the Pathfinder and read its tooltip.

REBLAT06.png

The Optimize command mentioned can be found on the ribbon bar – Reverse Engineering tab.

    1. Start the Optimize command, which selects the model automatically.
    1. Right-click to finish.
    1. Close the report dialog if it appears.

This finishes the first of five steps in the reverse engineering process in which you imported the mesh model by opting to create a base feature – a part copy and to heal any faults in the mesh. After this, you optimized the imported model, though I am not sure how relevant this command is for an imported mesh.

Later in this tutorial, you will see an example of using the Optimize command to simplify curves and surfaces.

Ball02.png  Identify Regions

This can be done either manually or automatically. The Manual command is shown in the video below which also illustrates some tips about rectifying mistakes while painting facets.

It is clear from the video that Solid Edge designated colors should be used for each type of face. Here’s the full list of the color codes:

ColorCodes.png

These colors are in fact used by Solid Edge internally to identify regions in the Automatic command.

Open the BearingBlock.STL (if you have already downloaded) file one more time and try out the Automatic  REBLAT08.pngcommand which produces the results as seen below which are not quite as expected, perhaps because this is not really a scanned model, but in fact, I have saved out a Solid Edge regular model to an STL and shared for this beginner tutorial.

REBLAT07.png

Close this file without saving and continue with the one that has regions identified manually as per the steps in the video.

This finishes the second step in the process of building a solid model from an imported mesh.

Ball03.png  Extract Surfaces

The steps involved are shown in this 45 seconds video:

TipIcon.png Note: Instead of the manual method using the Fit command, you can also use the Extract command which produces the same surfaces – automatically.

In both cases, lots of surfaces are generated and in some other cases additionally, spherical, conical and BSpline surfaces are generated too. If you want to toggle the display of these surfaces based on the type, here’s a free macro that does this in a jiffy:

REBLAT10.png

dnicon.png  Download the macro from this page.

This finishes the third step of the reverse engineering workflow discussed in this beginner tutorial.

Ball04.png  Post-Processing

The extracted surfaces leave a large gap between them at several places as you would have noticed and these need to be closed by extending them.

Another important operation is adding tangent ‘face’ relationship at a couple of places where the top cylindrical face connects the planar faces, since they have all been created from different mesh facets, independent of each other, and may not be actually tangent.

The video below shows all the steps involved.

TipIcon.png Note: If you want to skip this laborious process, download this Solid Edge 2019 part file with the surfaces extended.

TipIcon.png Tip: You can still use the part to cross-check the edges which need to be extended by hovering the mouse cursor over each Extend feature in the Pathfinder.

This completes the fourth step in the process.

Ball05.png  Combine

The Intersect method is used to combine the surfaces to create several distinct bodies which can be further combined automatically by setting an option in the same command as seen in the short video below:

The ‘Create design bodies’ option is perhaps new to Solid Edge 2019, but I am not sure about this.

This finishes the core reverse engineering workflow.

The next part of this tutorial shows:

    • Several techniques to extract the holes and the rounds from the mesh model.
    • Best practices for reverse engineering with Solid Edge.
    • How to perform modeling operations directly on the mesh model.

Go to Part 2…

Tushar Suradkar

www.SurfAndCode.IN

www.CADVertex.com

Tushar Suradkar

Solid Edge blogger, Programmer

More from this author

Comments

24 thoughts about “Reverse Engineering Tutorial Part 1 – Get Your Feet Wet

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.stage.sw.siemens.com/solidedge/reverse-engineering-tutorial-part-1-get-your-feet-wet/