algorithmic modeling for Rhino
Could somebody please give me a heads up as to why i cant create this brep (temp) with this code?. Im basically trying to create my own Planar_Srf command. but for the life of me im losing this battle... note "myCurves" are just three lines that form a triangle.
Brep temp = new Brep.CreatePlanarBreps(myCurves);
M
Tags:
F#@k it, i give up, if somebody out there knows what the equivalent to the planar Surface node in C# is im sending out a general S.O.S.
Brep[] temp = Brep.CreatePlanarBreps(myCurves);
CreatePlanarBreps is a static method, therefore it must be called on the type name rather than an instance of the Brep class. Also it returns an array of breps. If you're certain that the function doesn't fail in your case and only ever returns a single brep, you can use the following shorthand:
Brep temp = Brep.CreatePlanarBreps(myCurves)[0];
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by