public SphereFunction() : base(FunctionNames.Sphere)
 {
     // Center coordinate
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     // Radius
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #2
0
 public Box1PFunction() : base(FunctionNames.Box1P)
 {
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Real);
     Dependency.AddAttributeType(InterpreterNames.Real);
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #3
0
 public SolverPointMarker()
     : base(FunctionNames.SolverPointMarker)
 {
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Real);
     Dependency.AddAttributeType(InterpreterNames.Integer);
 }
 protected DottedLineCommon(string name)
     : base(name)
 {
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     //Direction
     Dependency.AddAttributeType(InterpreterNames.Point3D);
 }
Beispiel #5
0
 public LineTwoPointsFunction() : base(FunctionNames.LineTwoPoints)
 {
     // First point of line
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Second point of line
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
 public CircleFunction() : base(FunctionNames.Circle)
 {
     // Circle center
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Circle radius
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
 public RectangleWidthConstraint() : base(FunctionNames.RectangleWidthConstraint)
 {
     // Reference shape that contains the rectangle
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // the value or ranged constraint
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
 public ArrowFunction()
     : base(FunctionNames.Arrow)
 {
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Integer);
 }
Beispiel #9
0
 public Offset3DFunction() : base(FunctionNames.Offset3D)
 {
     // Reference shape on which offset applies
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Offset length
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #10
0
 public MirrorPlaneFunction() : base(FunctionNames.MirrorPlane)
 {
     // Profile
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Reference
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
 public PointFunction() : base(FunctionNames.Point)
 {
     // Sketch reference
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Point
     Dependency.AddAttributeType(InterpreterNames.Point3D);
 }
 public SewingFunction()
     : base(FunctionNames.Sewing)
 {
     // Profile
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Path
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
Beispiel #13
0
 public WireTwoPointsFunction()
     : base(FunctionNames.WireTwoPoints)
 {
     // First point of line
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     // Second point of line
     Dependency.AddAttributeType(InterpreterNames.Point3D);
 }
 public EvolvedFunction()
     : base(FunctionNames.Evolved)
 {
     // Profile
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Path
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
Beispiel #15
0
 public PlaneFunction() : base(FunctionNames.Plane)
 {
     // points defining visible rectangle
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     Dependency.AddAttributeType(InterpreterNames.Point3D);
 }
Beispiel #16
0
 public BoxFunction() : base(FunctionNames.Box)
 {
     // The 2 base points and direction that describe a rectangle
     Dependency.AddAttributeType(InterpreterNames.Axis3D);
     Dependency.AddAttributeType(InterpreterNames.Point3D);
     // The height
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #17
0
 protected ConstraintOneRealFunction(string name, int index) : base(name)
 {
     _index = index;
     // Reference shape that contains the circle
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // the value or ranged constraint
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #18
0
 public Fillet2DFunction() : base(FunctionNames.Fillet2D)
 {
     // Reference shape - list of wires
     Dependency.AddAttributeType(InterpreterNames.ReferenceList);
     // Fillet radius
     Dependency.AddAttributeType(InterpreterNames.Real);
     // Operation type: 2 fillet2D or 3 chamfer2D
     Dependency.AddAttributeType(InterpreterNames.Integer);
 }
 public BooleanFunction() : base(FunctionNames.Boolean)
 {
     // Reference shape on source shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Reference shape on destination shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Extrusion type
     Dependency.AddAttributeType(InterpreterNames.Integer);
 }
 public FixedSizeConstraint() : base(FunctionNames.FixedSizeConstraint)
 {
     // Reference shape on source shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Source value intentifier
     Dependency.AddAttributeType(InterpreterNames.Integer);
     // Expected value
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #21
0
 public ArcFunction() : base(FunctionNames.Arc)
 {
     // Point node that describes the arc center
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Arc starting point
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Arc end point
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
 public EdgeDistanceConstraint() : base(FunctionNames.EdgeDistanceConstraint)
 {
     //source shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     Dependency.AddAttributeType(InterpreterNames.Real);
     //constrained shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     Dependency.AddAttributeType(InterpreterNames.Integer);
 }
Beispiel #23
0
 public TorusFunction() : base(FunctionNames.Torus)
 {
     // Center location and torus orientation
     Dependency.AddAttributeType(InterpreterNames.Axis3D);
     // Internal radius
     Dependency.AddAttributeType(InterpreterNames.Real);
     // External radius
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #24
0
 public Arc3PFunction() : base(FunctionNames.Arc3P)
 {
     // First point of arc
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Second point of arc
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Third point of arc
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
Beispiel #25
0
 public TrimFunction()
     : base(FunctionNames.Trim)
 {
     // Trimming wires
     Dependency.AddAttributeType(InterpreterNames.ReferenceList);
     // Wire to be trimmed
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Clicked point
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
 public LineHintsFunction()
     : base(FunctionNames.LineHints)
 {
     // Line reference
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Constraints references list
     Dependency.AddAttributeType(InterpreterNames.ReferenceList);
     // plane axis
     Dependency.AddAttributeType(InterpreterNames.Axis3D);
 }
Beispiel #27
0
 public RevolveFunction()
     : base(FunctionNames.Revolve)
 {
     // Shape to revolve
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Shape considered revolve axis
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Angle
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #28
0
 public BeamFunction()
     : base(Constant.FunctionBeam)
 {
     // PropertyIndex
     Dependency.AddAttributeType(InterpreterNames.Integer);
     // 1. structural node
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // 2. structural node
     Dependency.AddAttributeType(InterpreterNames.Reference);
 }
 public ExtrudeFunction()
     : base(FunctionNames.Extrude)
 {
     // Reference shape on which extrusion applies
     Dependency.AddAttributeType(InterpreterNames.Reference);
     // Extrusion type
     Dependency.AddAttributeType(InterpreterNames.Integer);
     // Extrusion height
     Dependency.AddAttributeType(InterpreterNames.Real);
 }
Beispiel #30
0
 public PointToPointConstraint()
     : base(FunctionNames.PointToPointConstraint)
 {
     //original shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     //original shape
     Dependency.AddAttributeType(InterpreterNames.Reference);
     //distance point
     Dependency.AddAttributeType(InterpreterNames.Point3D);
 }