Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[MDL]stitch Mesh

$
0
0

Hello,

I have a cellule which is composed of several planar shapes.

I was converted it into many mesh element :

For each shape in cell

                MSBsplineSurface Surf;
                if (mdlBspline_convertToSurface(&Surf, pNext) == SUCCESS)
                {
                    MSElementDescr *pMesh;
                    if (mdlMesh_fromMSBsplineSurfaceExt(&pMesh, NULL, &Surf, 1, 0, TRUE, TRUE, TRUE, TRUE) == SUCCESS)
                    {

                        mdlElmdscr_setSymbology(pMesh, &color, &style, &weight, &color);
                        mdlElmdscr_setProperties(pMesh, &level, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

                        mdlElmdscr_replaceDscr(&pNext, pMesh);
                    }
                    mdlBspline_freeSurface(&Surf);
                }

end Foreach

and then I'd like to stitch all this mesh in order to have only one.

Like the command "Raccorder en maillage" 

Some suggestions ?

Rgds,

Goubier Sébastiejn


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>