Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5745

Help for Mesh. MergeAllCoplanarFaces API(IN GRASSHOPPER)

$
0
0

HI i need merge Mesh. MergeAllCoplanarFaces API(IN GRASSHOPPER) for Mesh(or SubD)
In Python C # or Rhinoscriptsyntax,…???
Is there a way for MergeCoplanarFaces Work in grasshopper as well as this performance in Rhino for( Mesh Brep and Subd)?
Of course I wrote MergeCoplanarFaces command according to the relevant API for BREPOnly!!, but does not act for Mesh and SUBD


MergeCoplanarFaces(mesh).gh (13.5 KB)

  private void RunScript(Brep Brep, ref object brep, ref object Result)
  {
    if (null != Brep)
    { brep = Brep.MergeCoplanarFaces(RhinoDocument.ModelAbsoluteTolerance);
      Result = brep;
      brep = Brep;}

@dale
@Mahdiyar

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles