//// ======================================================================================= public void Create_Stripe() { GH_Path pthA = new GH_Path(0); GH_Path pthB = new GH_Path(1); GH_Path pthC = new GH_Path(2); Tri_Loop_Stripe StripeA = new Tri_Loop_Stripe ( PlanarPentagonL01.Branch(pthA), PlanarPentagonL02.Branch(pthA), PlateCrvPts.Branch(pthA)[0], PlateCrvPts.Branch(pthA)[1], CurvesPts.Branch(pthA)[0], CurvesPts.Branch(pthA)[1], StripeID.Branch(pthA) ); Tri_Loop_Stripe StripeB = new Tri_Loop_Stripe ( PlanarPentagonL01.Branch(pthB), PlanarPentagonL02.Branch(pthB), PlateCrvPts.Branch(pthB)[0], PlateCrvPts.Branch(pthB)[1], CurvesPts.Branch(pthB)[0], CurvesPts.Branch(pthB)[1], StripeID.Branch(pthB) ); Tri_Loop_Stripe StripeC = new Tri_Loop_Stripe ( PlanarPentagonL01.Branch(pthC), PlanarPentagonL02.Branch(pthC), PlateCrvPts.Branch(pthC)[0], PlateCrvPts.Branch(pthC)[1], CurvesPts.Branch(pthC)[0], CurvesPts.Branch(pthC)[1], StripeID.Branch(pthC) ); Stripes.Add(StripeA); // [0] Stripes.Add(StripeB); // [1] Stripes.Add(StripeC); // [2] }
//// ======================================================================================= // Added by Gene public void Create_Stipe_SinSrf() { GH_Path pthA = new GH_Path(0); GH_Path pthB = new GH_Path(1); GH_Path pthC = new GH_Path(2); Tri_Loop_Stripe StripeAS = new Tri_Loop_Stripe( ExtendedCurves.Branch(pthA)[0], ExtendedCurves.Branch(pthA)[1], cuttingPoints.Branch(pthA)[0], documentTolerance); Tri_Loop_Stripe StripeBS = new Tri_Loop_Stripe( ExtendedCurves.Branch(pthB)[0], ExtendedCurves.Branch(pthB)[1], cuttingPoints.Branch(pthB)[0], documentTolerance); Tri_Loop_Stripe StripeCS = new Tri_Loop_Stripe( ExtendedCurves.Branch(pthC)[0], ExtendedCurves.Branch(pthC)[1], cuttingPoints.Branch(pthC)[0], documentTolerance); StripesSingle.Add(StripeAS); StripesSingle.Add(StripeBS); StripesSingle.Add(StripeCS); }