Script for polygon -> linear patch

Hi all!

I'd like to convert quad polygons into linear NURBS patches, is there a MEL script to perform this automatically?

I'm not looking for the poly->subd, subd->nurbs path. I just want a set of linear NUBRS patches for use in a separate solids modeler CAD software.

Thanks!

-pm

Well not thet i know of. In any case im not sure yoru cad app would like this because theres no b-represtentation involved. Im not 100 sure but there might actually be a option for this in your iges export.

Tough i do know thet atleast pro|engineer does this automatically well, but not all of the software are so blessed

I wrote a MEL script for this already, it works pretty far for my purposes although there seems to be something still missing.. could be related to brep stuff.

Yes making one without any b-rep, if the surfaces are flat and mostly quad, data count is not concern.

Just turn the shape to subdiv, crease all edges, turn to nurbs, rebuild to linear 1-1 spans.

If its all tris and quads you can also do boundary form edges per cycle for better results for the tris at lower datacounts.

for arbitrary flat nsided faces you can do a planar for each faces edge conversion.