I don't think its as simple as just adding the surfaces.  I haven't
done any real B-Rep work, but there is a function in the SDK to join
Breps, so I'd imagine that that method would be a better way to
go....RhUtil.RhinoJoinBreps

-Damien

On Jan 20, 11:52 am, rompompom <[email protected]>
wrote:
> 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