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

With which Command(api), make reverse the SplitKinty process? Convert Openbrep to Untrimsrf

$
0
0

With which Command(api), make reverse the SplitKinty process? {Convert Openbrep to Untrimsrf}

For example, I want Sweep1 output asEdge SurfaceUnsplitof Untrimsurface type
How should I do this? Is the API to vote the SplitKinty action?

private void RunScript(Curve rail, List<Curve> shape, bool closed, ref object A, ref object w)
  {
    if(rail != null && shape != null){
      Brep [] x;;
      x = Brep.CreateFromSweep(rail, shape, closed, RhinoDocument.ModelAbsoluteTolerance);
      w = x[0].Faces.ShrinkFaces();
      x[0].Edges.MergeAllEdges(0.01);
      x[0].Edges.RemoveNakedMicroEdges(0.01);
      x[0].CullUnusedEdges();
      A = x[0];}

splitKinty.gh (18.0 KB)
@Mahdiyar

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4176

Latest Images

Trending Articles



Latest Images