Beispiel #1
0
 public LenticularPropertiesCapsule(string name, string text, System.Drawing.Image image, string hint, RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base(name, text, image, hint, parent, buttonSize)
 {
     Values[Resources.LenticularSweepAngle]     = new RibbonCommandValue(sweepAngle * 180 / Math.PI);
     Values[Resources.LenticularInterlaceCount] = new RibbonCommandValue(interlaceCount);
     Values[Resources.LenticularInterlaceWidth] = new RibbonCommandValue(interlaceWidth);
 }
Beispiel #2
0
 public TrackerLaunchButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Launch", Resources.LaunchCommandText, null, Resources.LaunchCommandHint, parent, buttonSize)
 {
 }
Beispiel #3
0
 public FaceToolPathToolButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("UV", Resources.FaceToolPathToolButtonText, Resources.ToolPath32, Resources.FaceToolPathToolButtonHint, parent, buttonSize)
 {
 }
 public TessellateLoftButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Loft", Resources.TessellateLoftCommandText, Resources.TessellateLoft, Resources.TessellateLoftCommandHint, parent, buttonSize)
 {
     Values[Resources.TessellateLoftStepSize] = new RibbonCommandValue(Settings.Default.TessellateLoftStepSize);
 }
 public TessellateFoldCornerButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("FoldCorner", Resources.TessellateFoldCornerCommandText, null, Resources.TessellateFoldCornerCommandHint, parent, buttonSize)
 {
 }
 public CopyCurvesButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("CopyCurves", Resources.CopyCurvesText, null, Resources.CopyCurvesHint, parent, buttonSize)
 {
 }
 public DashesButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Dashes", Resources.DashesText, null, Resources.DashesHint, parent, buttonSize)
 {
 }
 public UnfoldVerifyPlanarButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("VerifyPlanar", Resources.UnfoldVerifyPlanarCommandText, null, Resources.UnfoldVerifyPlanarCommandHint, parent, buttonSize)
 {
 }
 public UnfoldButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Unfold", Resources.UnfoldCommandText, Resources.Unfold, Resources.UnfoldCommandHint, parent, buttonSize)
 {
 }
Beispiel #10
0
 public CreateGyroidButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Gyroid", Resources.LawsonCreateCommandText, null, Resources.LawsonCreateCommandHint, parent, buttonSize)
 {
 }
 public UnfoldWithCurvesButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Unfold", Resources.UnfoldWithCurvesCommanText, null, Resources.UnfoldWithCurvesCommandHint, parent, buttonSize)
 {
 }
Beispiel #12
0
 public GyroidRelaxButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("GyroidRelax", Resources.GyroidRelaxText, null, Resources.GyroidRelaxHint, parent, buttonSize)
 {
 }
Beispiel #13
0
        public GyroidPropertiesButtonCapsule(string name, string text, System.Drawing.Image image, string hint, RibbonCollectionCapsule parent, ButtonSize buttonSize)
            : base(name, text, image, hint, parent, buttonSize)
        {
            Values[Resources.LawsonTabAngleForce]        = new RibbonCommandValue(angleForce);
            Values[Resources.LawsonVAlignmentForce]      = new RibbonCommandValue(vForce);
            Values[Resources.LawsonUAngleForce]          = new RibbonCommandValue(uAngleForce);
            Values[Resources.LawsonUTouchForce]          = new RibbonCommandValue(uTouchForce);
            Values[Resources.LawsonVAverageForce]        = new RibbonCommandValue(averageVForce);
            Values[Resources.LawsonTabAngleAverageForce] = new RibbonCommandValue(averageTabAngleForce);

            if (gyroid == null)
            {
                gyroid = new Gyroid(angleForce, vForce, uAngleForce, uTouchForce, averageVForce, averageTabAngleForce);
            }
        }
Beispiel #14
0
 public LenticularPlanarCommandCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("LenticularPlanar", Resources.LenticularPlanarCommandText, null, Resources.LenticularPlanarCommandHint, parent, buttonSize)
 {
 }
Beispiel #15
0
 public CreateFigure8ButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Figure8", Resources.CreateFigure8CommandText, null, Resources.CreateFigure8CommandHint, parent, buttonSize)
 {
 }
 public MergeComponentBodiesButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("MergeComponents", "Merge Components", null, Resources.UnfoldVerifyPlanarCommandHint, parent, buttonSize)
 {
 }
Beispiel #17
0
 public CreateAnimateButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Animate", Resources.CreateAnimateCommandText, null, Resources.CreateAnimateCommandHint, parent, buttonSize)
 {
 }
 public ConvexHullButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("ConvexHull", "Convex Hull", null, Resources.UnfoldVerifyPlanarCommandHint, parent, buttonSize)
 {
 }
 public DashesPropertiesButtonCapsule(string name, string text, System.Drawing.Image image, string hint, RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base(name, text, image, hint, parent, buttonSize)
 {
     Values[Resources.DashSizeText] = new RibbonCommandValue(dashMinSize);
 }
Beispiel #20
0
 public CreatePoincareDiskButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("PoincareDisk", Resources.CreatePoincareDiskCommandText, null, Resources.CreatePoincareDiskCommandHint, parent, buttonSize)
 {
 }
 public DashChainButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("DashChain", Resources.DashChainText, null, Resources.DashChainHint, parent, buttonSize)
 {
 }
Beispiel #22
0
 public SelectQuadrantButtonCapsule(string quadrantString, RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Quadrant" + quadrantString, quadrantString, null, "", parent, buttonSize)
 {
     this.quadrantString = quadrantString;
 }
 public TessellateButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Tessellate", Resources.TessellateCommandText, Resources.Tessellate, Resources.TessellateCommandHint, parent, buttonSize)
 {
     Values[Resources.TesselateSurfaceDeviationText] = new RibbonCommandValue(Settings.Default.TessellateLinearDeviation);
     Values[Resources.TesselateAngleDeviationText]   = new RibbonCommandValue(Settings.Default.TessellateAngularDeviation);
 }
Beispiel #24
0
 public SelectQuadrant011ButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("011", parent, buttonSize)
 {
 }
Beispiel #25
0
 public TrackerPropertiesButtonCapsule(string name, string text, System.Drawing.Image image, string hint, RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base(name, text, image, hint, parent, buttonSize)
 {
     //		Values.Add(Resources.DashSizeText, new RibbonCommandValue(dashMinSize, null));
 }
 public ApiGrooveToolCapsule(string commandName, RibbonCollectionCapsule parent, ButtonSize size)
     : base(commandName, Resources.ApiGrooveToolText, Resources.ApiGroove32, Resources.ApiGrooveToolHint, parent, size)
 {
 }
Beispiel #27
0
 public TrackerGetEnvironmentButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("GetEnvironment", Resources.GetEnvironmentCommandText, null, Resources.GetEnvironmentCommandHint, parent, buttonSize)
 {
 }
 public ThreadButtonCapsule(string name, RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base(name, Resources.ThreadToolCommandText, Resources.Threads32, Resources.ThreadToolCommandHint, parent, buttonSize)
 {
 }
Beispiel #29
0
 public AnimationToolButtonCapsule(RibbonCollectionCapsule parent, ButtonSize buttonSize)
     : base("Animate", Resources.AnimationToolButtonText, Resources.Animate32, Resources.AnimationToolButtonHint, parent, buttonSize)
 {
 }
 public DistributeSpheresToolCapsule(string commandName, RibbonCollectionCapsule parent, ButtonSize size)
     : base(commandName, Resources.DistributeSpheresToolText, Resources.DistributeSpheres32, Resources.DistributeSpheresToolHint, parent, size)
 {
 }