algorithmic modeling for Rhino
Brep, BrepFace and a free bonus, he he (BTW: hole??).
public void MakeBrep (Circle circle, double offsetD, double offsetTol, bool bothSides, bool createSolid,
out Brep brepOUT, out BrepFace brepFaceOUT, out Brep thickenOUT){
Brep brep = Brep.CreatePlanarBreps(circle.ToNurbsCurve())[0]; // or any closed planar Curve
BrepFace brepFace = brep.Faces[0];
Brep thicken = Brep.CreateFromOffsetFace(brepFace, offsetD, offsetTol, bothSides, createSolid);
brepOUT = brep;
brepFaceOUT = brepFace;
thickenOUT = thicken;
}
simple, versatile, fast
as usual LOD... thnks...
attached the comp. to get a surface from any closed curve and optionally extrude it
http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_...
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