How to repair this NURBS surfaces?

Hi,

after I imported a FBX model I got a lot of buggy NURBS surfaces. Is there a quick way to repair them? My current workflow: _UntrimBorder → set _KeepTrimObjects=yes, choose surface and untrim. Now trim the clean surface with the border curve again.

I tried _RebuildEdges, but it doesn’t help. Is there an other command to do it in one step?

-Micha


BuggySurface.3dm (78.3 KB)

IIRC @pascal had a script for that.

In general, something like this;
Duplicate boundary curves.
Untrim surface.
Retrim surface using the boundary curves.

2 Likes

Here’s a quick py version…

RetrimSrf.py (1.4 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

1 Like

Sorry, I should have read your entire post…

No problem, thanks for trying to help. :slight_smile:

1 Like