<< Click to Display Table of Contents >> Navigation: User DLLs > Add-In DLLs > Extra DLLs > MTM Library 2 (dcu_mtmLib2.dll) |
The purpose of this module is to add various MTM (Move, Tolerance and Measurement) routines for certain specialized requirements.
|
|
Within this section:Virtual Clearance Routines (Measures)Maximum Inner Diameter (dcsMsInsideVirtualClearance) Minimum Outside Diameter (dcsMsOutsideVirtualClearance) Calculated Root-Squared-Sum: Difference between Paired Points.(dcsMsRtSqSumDifBtwnPairedPoints) Calculated Root-Squared-Sum: Difference between Points and Planes (dcsMsRtSqSumBtwnPointsAndPlane) Calculated Root-Squared-Sum: Difference between Points and a Circle (dcsMsRtSqSumBtwnCircleAndPoints) Best Fit Routines (Moves)Translate Point to LSQ-Plane (dcsMvPtToLsqPlane) Translate Point to LSQ-Circle (dcsMvPtToLsqCircle) Translate Point to LSQ-Cylinder (dcsMvPtToLsqCylinder) Translate LSQ Plane to Plane (dcsMvLsqPlaneToPlane) Best Fit 2D (dcsMvLsqPlaneFit2D) - now included in the Best-Fit move Best Fit 3D (dcsMvLsqPlaneFit3D) -now included in the Best-Fit move Translate Point to Point Direction (dcsMvTranslatePtToPtDir) X-Plane move (dcsMvMinDistFit) - now included in the Best-Fit move 3D Best Fit Pattern (dcsMvPattern3dFit) - now called Pattern-Fit Move |
Calculates Virtual Clearance: maximum inner diameter. Input:• n Group1 features. Each feature has to be associated with either a DCS circle or Feature circle. •One direction is required Output:The maximum inner diameter as measured along the direction is reported. This routine is obsolete and the Virtual Clearance measure should be used instead. |
---|
Calculates Virtual Clearance: minimum outside diameter. Input:•n Group1 features. Each feature has to be associated with either a DCS circle or Feature circle. •One direction is required Output:The minimum outer diameter as measured along the direction is reported. This routine is obsolete and the Virtual Clearance measure should be used instead. |
---|
Calculated Root-Squared-Sum: Difference between Paired Points. (dcsMsRtSqSumDifBtwnPairedPoints)
This routine calculates the square of the sum of a set of squared distances between features. Inputs:•n object features •n target features •0 to n directions Output:The distance between each pair of features is measured. If a Direction is defined, then the distance is projected along the vector. Otherwise, the true distance is measured. Each of these n distances is squared. The results are summed and the square root of the sum is the measure result. |
---|
Calculated Root-Squared-Sum: Difference between Points and Planes (dcsMsRtSqSumBtwnPointsAndPlane)
This routine calculates the square of the sum of a set of squared distances between features and a plane. Inputs:•n object features •1, 2, or 3 target features •One optional direction Output:The distance between each object feature and the plane is measured. If a Direction is defined, then the plane is normal to the direction and passes through the first target feature. If a direction is not defined then the plane location and direction is defined by the target features. •If one target feature is selected, the plane is normal to its associated direction and passes through the feature. •If two target features are selected, the plane is normal to the line through the two features and passes through the first feature. •If three target features are selected, the plane is defined by these three features. Each of the n distances between the object features and the plane is squared. The results are summed and the square root of the sum is the measure result. |
---|
Calculated Root-Squared-Sum: Difference between Points and a Circle (dcsMsRtSqSumBtwnCircleAndPoints)
This routine calculates the square of the sum of a set of squared distances between features and a circle. Inputs:•1 or 2 object features •n target features •One direction is required Output:The projected on plane distance between each target feature and the closest point on the circle edge is measured. If two object features are selected, the first feature is the center of the circle and the projected on plane distance between the two features is the radius of the circle. If one object feature is selected, the feature is the center of the circle and the size associated to the feature is the radius of the circle. •If no size is associated to the object feature, a radius of zero is used. The plane used for these calculations is normal to the direction defined. Each of the n distances between the object features and the circle is squared. The results are summed and the square root of the sum is the measure result. |
---|
Volume Measure (dcsMsClosedVolume)
This routine calculates the volume of the closed surface. Requirements for volume calculation: 1. All features on the part need to be selected and form an enclosed space/volume. 2. All surfaces vectors need to point towards outside - switch feature direction if necessary. 3. Activate "Facet part deviation' in Preferences to connect the individual DCS meshes at the common nodes between adjacent faces to make them deviate together when applying tolerances. 4. Increase mesh density in Preferences (then Update Geometry) for more accurate results. 5. Make sure you select the Main Surface (master) for cylindrical features.
Inputs: Select the surfaces in the Object features list of the part that will fill the space. Notes: •Tolerances will cause the output to change. •Users can utilize the User-DLLs Zip Pair Points (dcsMvZipPairPoints) and Zip Surfaces (dcsMvZipObjectsToTargets). These User-DLLs will sew features to create a shell of the part that will measure the volume of the closed surface.
|
---|
Translate Point to LSQ-Plane (dcsMvPtToLsqPlane)
This routine translates a point and changes its vector to match a least squares plane location and direction calculated from Target points. Inputs:•1 or 2 object points •n target features •One optional direction •One optional value - can be used as an offset •Move Parts are ignored Method:If two object points are selected, the true distance x between them is measured. The first object point is translated to the center of the least squares plane through the target features (the average location of the target features.) The first object point is updated so that its vector matches the vector normal to the least squares plane through the target features. •If a value (offset) is defined, the first object point is translated that amount away from the least squares plane. By default, it is translated along the vector normal to the least squares plane. •If a direction is defined, the first object point is translated along the direction away from the least squares plane by the amount defined by the value (offset). If a second object point is selected, then it is translated so that it is a distance of x from the first object point as measured along the first object point's vector. Its vector is changed to be the same as the first object point's vector. |
---|
Translate Point to LSQ-Circle (dcsMvPtToLsqCircle)
This routine translates a point and changes its vector to match a least squares circle location and direction. Inputs:•1 or 2 object points •n target features •One direction is required •Move Parts are ignored Method:A least squares circle is calculated from the target features projected into the plane normal to the direction. The circle is located at the average location of the features as measured along the direction of the move. The first object point is translated to the center of the least squares circle and its vector updated so that it is parallel to the move's direction. If a second object point is selected, then it is translated so that it is on the edge of the least squares circle and its vector is set normal to the circle's edge. |
---|
Translate Point to LSQ-Cylinder(dcsMvPtToLsqCylinder)
This routine translates a point and changes its vector to match a least squares cylinder location and direction. Inputs:•1, 2, 3 or 4 object points •n target features •Directions are ignored •Move Parts are ignored Method:A least squares cylinder is calculated from the target features. The object points are translated as follows •The first object point is translated to the center of the base of the cylinder and its vector is set parallel to the cylinder's axis •The second object point is translated to the center of the top of the cylinder and its vector is set parallel to the cylinder's axis •The third object point is translated to the edge of the base of the cylinder and its vector is set normal to the cylinder's edge. •The third object point is translated to the edge of the top of the cylinder and its vector is set normal to the cylinder's edge. |
---|
Translate LSQ Plane to Plane (dcsMvLsqPlaneToPlane)
This routine best-fits an object part(s) to a set of target parts by aligning a pair of least-squares planes. Inputs:•m object features •n target features •Directions are ignored •At least one Move Part Method:A least-squares plane is created from the object features. A second least-squares plane is created from the target features. The object parts are located by moving their least-square plane until it is coplanar with the target least-squares plane. The average location of the object features and the average location of the target features are also aligned. |
---|
Translate Point to Point Direction (dcsMvTranslatePtToPtDir)
This routine translates and rotates a point to match a target location and direction. Inputs:•1 or 2 object points •1, 2, or 3 target points •Directions are ignored •Move Parts are ignored Method:If two object points are selected, the true distance x between them is measured. The first object point is translated to the first target point. The first object point is rotated so that its vector matches the vector defined by the target point(s.) •If one target point is selected, its associated direction is used. •If two target points are selected, the direction between them is used. •If three target points are selected, the direction normal to the plane they define is used. If a second object point is selected, then it is translated so that is it a distance of x from the first object point as measured along the first object point's vector and rotated so that its vector is the same as the first object point's vector. |
---|
This routine best-fits an object part(s) to a set of target parts within a plane. It controls two translation and one rotation degrees of freedom in the plane. This move is similar to the Pattern floating fastener move except it doesn't consider feature sizes. Inputs:•n object features •n target features •The object and target features must be selected in pairs. The pairs can be in any order. •One direction is required •At least one Move Part Method: All the object and target features are projected into a plane normal to the direction. The distance between each projected object feature and its projected target feature is measured. The object part will be best-fit by minimizing the sum of the squares of the distances. The distance between the average of the target features and the average of the object features measured along the direction is the same before and after the move. |
---|
This routine best-fits an object part(s) to a set of target parts by minimizing the sum of the squared true distances between the paired object and target features. That is, it treats each pair of locators as 6-way locators. Inputs:•n object features •n target features •The object and target features must be selected in pairs. The pairs can be in any order. •Directions are ignored •At least one Move Part Method: The true distance between each object feature and its target feature is measured. The object part will be best-fit by minimizing the sum of the squares of the distances. |
---|