Fit Surface by Mesh

This module allow to fit Plane, Cylinder, Cone, Sphere, Torus, Extrusion, Revolve and B-Spline surface by mesh. The command is “FitAllSurfByMesh” .

Here is an example of fit surface by mesh.

Raw mesh model
After “MeshDecompose”
Remove small meshes using “ModelManage”
Fit surfaces using “FitAllSurfByMesh“, set Extend Ratio as 40%.
Trim surfaces using “TrimSurfMutual
Remove unmatched surface pieces using “SearchSurfByMesh

Here is an example of fit B-Spline surface by mesh.

Raw mesh model
Fit a B-Spline surface using “FitAllSurfByMesh
Get a boundary curve from mesh using “DupMeshHoleBoundary”
Final trimmed B-Spline surface using “Trim