algorithmic modeling for Rhino
Hi, all,
Could I know why SweepOneRail generates 'Brep[]' rather than 'Brep'?
-------------------------------------------
Brep mybrep; //works with 'Brep[] mybrep' here
sweepOneRail beam = new SweepOneRail();
mybrep = beam.PerformSweep(rail, section);
//Error: Canonot implicitly convert type 'Rhino.Geometry.Brep[]' to 'Rhino.Geometry.Brep'
-------------------------------------------
Thanks!
Tags:
then, above code's
------------------
A = mybrep;
------------------
gave me a out 'Untrimmed Surface'.
but, when I tried to use this in DataTree.
-----------------
DataTree<Brep[]> beams = new DataTree<Brep[]>();
beams.Add(mybrep, path);
A = beams;
-----------------
then, output are 'Rhino.Geometry.Brep[]' in each path.
Help me to know clearly about this, please!!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by