示例#1
0
    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);
    }
示例#2
0
 public void AddFeature(Feature feature)
 {
     detail.AddFeature(feature);
     meshDirty = true;
     UpdateFeatures();
 }