public void New() { if (detail != null) { detail.Clear(); } activeFeature = null; detail = new Detail(); var sk = new SketchFeature(); sk.shouldHoverWhenInactive = true; new PointEntity(sk.GetSketch()); detail.AddFeature(sk); sk = new SketchFeature(); detail.AddFeature(sk); UpdateFeatures(); ActivateFeature(sk); }
public void AddFeature(Feature feature) { detail.AddFeature(feature); meshDirty = true; UpdateFeatures(); }