Hi grasshoppers

As a test for a node that joins surfaces to polysurfaces i tried to
understand how to add a surface to a brep. next planned step would be
to eliminate double edges within a certain tolerance. but the
following script just delivers a bunch of "invalid topology"s

Sub RunScript(ByVal S1 As OnBrep, ByVal S2 As OnBrep)

    Dim bTmp As OnBrep : bTmp = New OnBrep()

    If S1.IsSurface Then bTmp.AddSurface(S1.m_S(0))
    If S2.IsSurface Then bTmp.AddSurface(S2.m_S(0))

    A = bTmp

End Sub

??? please help
matthias

Reply via email to