예제 #1
0
        public MillingAttributes Initialize()
        {
            SafeSpeed   = SafeSpeed.CloneWithName <Speed>(nameof(SafeSpeed));
            PlungeSpeed = PlungeSpeed.CloneWithName <Speed>(nameof(PlungeSpeed));
            CutSpeed    = CutSpeed.CloneWithName <Speed>(nameof(CutSpeed));

            SafeZone   = SafeZone.CloneWithName <Zone>(nameof(SafeZone));
            PlungeZone = PlungeZone.CloneWithName <Zone>(nameof(PlungeZone));
            CutZone    = CutZone.CloneWithName <Zone>(nameof(CutZone));

            Frame = Frame.CloneWithName <Frame>(nameof(Frame));
            return(this);
        }
예제 #2
0
    public ExtrusionAttributes Initialize()
    {
        SafeSpeed      = SafeSpeed.CloneWithName <Speed>(nameof(SafeSpeed));
        ApproachSpeed  = ApproachSpeed.CloneWithName <Speed>(nameof(ApproachSpeed));
        ExtrusionSpeed = ExtrusionSpeed.CloneWithName <Speed>(nameof(ExtrusionSpeed));

        SafeZone      = SafeZone.CloneWithName <Zone>(nameof(SafeZone));
        ApproachZone  = ApproachZone.CloneWithName <Zone>(nameof(ApproachZone));
        ExtrusionZone = ExtrusionZone.CloneWithName <Zone>(nameof(ExtrusionZone));

        Frame     = Frame.CloneWithName <Frame>(nameof(Frame));
        BeadWidth = Util.GetWidth(NozzleDiameter, LayerHeight);

        return(this);
    }