public void CreateSphere(Model model1) { Brep brep = Brep.CreateSphere(30); brep.Color = Color.YellowGreen; brep.ColorMethod = colorMethodType.byEntity; model1.Entities.Add(brep); model1.Invalidate(); }
public void CreateSphere(Model model1) { Brep brep = Brep.CreateSphere(30); brep.Color = Color.YellowGreen; brep.ColorMethod = colorMethodType.byEntity; model1.Entities.Add(brep); model1.Invalidate(); }