Engineering Talk - DCS's Blog on Quality and Engineering

CAD Joints and Constraints - How to Use CATIA, NX and CREO Joints and Constraints in 3DCS Tolerance Analysis

Mechanical Modeler Add-on Expands 3DCS to Support Kinematic Joints and Constraints

Extracting Joints and Constraints from CAD can make model creation easy. With embedded GD&T (PMI, FTA) tolerancing your model and Joints and Constraints brought in as 3DCS Moves, a user only has to create Measurements to complete their Tolerance Analysis Model. 

Mechanical Modeler is an inexpensive add-on for all versions of 3DCS Variation Analyst Software

You can learn more about the Module herehttps://www.3dcs.com/tolerance-analysis-software-and-spc-systems/add-ons/mechanical-modeler

3DCS Mechanical Modeler is an easy-to-use variation analysis solution for mechanical and kinematic assemblies. It provides a library of joints and constraints to model assembly processes beyond the 3-2-1 object-to-target method. Assemblies can be fixed or move through a range of motion. If the assembly moves through a range of motion, the Simulation results can be calculated at different steps along the motion. Over-constrained parts will be automatically accommodated.

The 3DCS Mechanical Modeler toolbar is located in the 3DCS Add-ons tab of the Menu ribbon. The ribbon with the expanded joints and constraints menu is shown below. The 3DCS Mechanical toolbar with expanded joints and constraints is shown below.

Creo 7401 Mechanical Toolbar

Moves differentiate between an Variation Analyst (standard 3DCS) model and a Mechanical model in 3DCS. With Standard Variation Analyst moves, the parts are fully constrained with no degrees of freedom remaining for motion. With Mechanical moves, degrees of freedom may remain available for motion. A single model may use a combination of both Analyst and Mechanical to simulate the assembly. The tolerances (or embedded GD&T PMI/FTA) and measurements used in a Mechanical model are the same as in a Variation Analyst model.

The library of Mechanical joint and constraint moves allows users to directly model the assembly process of mechanisms. For example, a four-bar linkage could be modeled with three revolute joint moves and one cylindrical joint move. 3DCS Mechanical will be able to validate functionality of mechanical systems such as suspension systems, engines, landing gear, doors, switches and other mechanisms.

For this example, we will look at modeling a four cylinder internal combustion engine model composed of 11 parts: a Base, Block, Crankshaft, four Pistons, and four Rods. The parts will be assembled and animated based on mechanical joints and constraints. The final model will visually demonstrate a working mechanical model of an internal combustion engine.

The default location of the files used for this tutorial is: (Replace CAD with your system - NX, Creo, MultiCAD, CATIA)

C:\Users\Public\Documents\DCS\[CAD]\Tutorials\[CAD]_Mechanical_Tutorial

Before starting, Learn more about:

Jointshttps://blog.3dcs.com/joints-in-3dcs-how-to-use-cad-joints-in-3dcs-tolerance-analysis

Constraintshttps://blog.3dcs.com/constraints-in-3dcs-how-to-use-cad-constraints-in-3dcs-tolerance-analysis

 

Mechanical Modeler Example Build

For a given attachment between parts, the user may be able to choose between multiple moves or multiple sets of moves.  For example, a hinge could be modeled with a Revolute joint or with a Cylinder joint followed by a Planar joint.  

When modeling, users should select joints first instead of constraints when possible.  Joints are easier to validate and work better with (Kinematic) Motion moves. The joint moves do not include every possible type of attachment, however, so a typical model will include both types of moves.

Once a move is made, its Type can easily be changed.

Joints and constraints can act similar and have two main differences.  The first difference is that a constraint will locate parts differently based on the types of features selected in a move.  For example, a coincidence move with a hole and pin selected will locate them like a cylinder joint. A coincidence move with two planes selected will locate them like a planar joint.  Joints are coded for just one type of feature.  For example, a Planar joint with a hole and pin selected (not recommended) will attempt to locate them as though they were planes.  The other main difference is that joints have Drop DOF set to No by default while most constraints have Drop DOF set to Yes by default.

The Drop DOF setting controls the method of trying to solve over-constrained systems.  All the moves are used to generate a set of equations for the system.  If Drop DOF is active for a move or set of moves, 3DCS searches through a set of cases (e.g. Plane,Plane, Plane; Plane, Axis, Axis; etc.) and finds the case that best represents the moves.  It then uses the equations for that case to solve the model.  Moves with drop DOF active are recommended for fully or over constrained parts because the locators should fit one of the cases.   The over-constraining locators will be projected into planes so that the moves will always be solved.  3DCS has about 120 cases representing the most typical sets of locators.  The move summary will tell you what case was chosen for debugging purposes.  No list of the cases is available.  If it is deemed no case represents the situation, a solver error will occur.

If Drop DOF is inactive for a move or set of moves, 3DCS generates equations based on the features and moves chosen.  If the system is over-constrained 3DCS will keep dropping equations until it can be solved.  If all the equations have to be dropped then a solver error will occur.

See also (for Mechanical FAQ): https://community.3dcs.com/viewforum.php?f=15

3DCS contains several types of mechanical joints to give users the ability to model a large range of assembly processes. This section divides move routines groups based on frequency of use and briefly defines the routines.

Joints Available in Mechanical 

Click to Read: How to Use Joints in 3DCS 

A chart summarizing the degrees of freedom controlled by each joint is shown below.

Joints-3dcs-degree-of-freedom-controlled

Frequently used Joints

DVTI_RevoluteJnt Revolute locates two axes to one another, controlling four DoF's, and uses the plane constraints to control a fifth, translation, DoF (usually the tertiary locators).

DVTI_CylindricalJnt Cylindrical locates two axes to one another, controlling four DoF's.

Intermittently used Joints

DVTI_PrismaticJnt Prismatic locates two axes to one another, controlling four DoF's, and uses the plane constraints to control a fifth, rotational DoF.

DVTI_SphericalJnt Spherical locates two spherical centers to one another, controlling three translation DoF's.

DVTI_PlanarJnt Planar locates two features to be coplanar, controlling three DoF's (one translation and two rotation).

DVTI_LineOnPlaneJnt Point on Plane locates a point to a plane, controlling one DoF (one translation).

DVTI_PointOnLineJnt Point on Line locates a point to an axis, controlling two DoF's (two translation).

DVTI_LineOnPlaneJnt Line on Plane locates an axis to a plane, controlling two DoF's (one translation and one rotation).

 

Rarely used Joints

DVTI_UJnt Universal attaches two parts at their closest ends.

 

 

Constraints Available in Mechanical

Click to Read: How to Use Constraints in 3DCS 

3DCS contains several types of part constraints to give users the ability to model a large range of assembly processes. The list of moves, however, can be confusing to a new user. This document divides move routines groups based on frequency of use and briefly defines the routines.

Frequently used Constraints

DVTI_FixedJnt Fixed holds all of the parts in the Move Parts list in their current location and orientation. Any moves that list one of the parts as the "object" will force the "target" part to move instead.

DVTI_FixTogetherConst Fix Together holds all of the parts in the Move Parts list perfectly rigid relative to one another. If one of the parts is moved then the other parts will move with it.

Intermittently used Constraints

DVTI_CoincidenceConstraint Coincidence locates the features to be coplanar, coaxial or coincident.  

DVTI_ContactConstraint Contact locates the features so that their surfaces touch.

DVTI_OffsetConstraint Offset locates the features to be parallel (if applicable) and separated by an offset value.

DVTI_AngleConstraint Angle locates the features to be rotated apart from one another so that the angle between then is the specified value.

 

Mechanical Functions - Range of Motion Simulation

In addition to joints and constraints, 3DCS Mechanical provides a graphical representation of the motion of an assembly with kinematics options.  Creating a Kinematic Motion move will step the assembly through a range of motion while maintaining the other constraints and joints in the model.

These options allow the impact of motion to be visualized with Kinematic Animation and measured with the Kinematic Simulation.

Kinematic Functions

DVTI_KinSimul Kinematic Simulation repeats the analysis at each step of the Kinematic Motion move during Simulation.

DVTI_KinAnimation Kinematic Animation graphically animates the selected Kinematic Motion move.

DVTI_KinMotion Kinematic Motion rotates or translates a part while maintaining the other joint and constraints allowing the assembly to be analyzed at various positions.

Kinematic Simulation

The DVTI_KinSimul Kinematic Simulation function repeats the Simulation analysis at each step of the selected kinematic motion move.

3DCS Mechanical Simulation

Mechanical Options

The following fields can be modified based on user requirements.

Motion Selection:

  • This pull-down menu allows the user to select the motion move used to repeat the simulation.  The simulation will be repeated for each step in the motion move.  Only one motion move can selected at a time.

Total Runs:

  • Specifies how many builds are to be assembled and analyzed for each step in the selected motion.

Initial Seed:

  • Is used to commence the random number generator for a simulation run.

Total Measures:

  • The total number of active measurements in the model that will be reported from the Simulation analysis.

Browse DB_browse_24:

  • Directory where results of the simulations will be saved in both .hst and .csv format.

Start:

  • Begins the simulation run.

Close:

  • Closes the dialog box discarding any changes\entries.

Mechanical Outputs

After the simulation has finished, it will save and open a .csv file containing statistical results for each step from the Kinematic Motion move.

Separater

Notes:

Running an Analysis Simulation is also possible with Mechanical. Please take note of the following settings

  • For best results when using Mechanical, run a Mechanical Simulation
  • If desired to run an Analysis Simulation, Deactivate the Motion Move and run the analysis
  • Activate the setting HLM Run at Median. This will allow any tolerances with an offset to be built at their nominal position.

Kinematic Animation

The DVTI_KinAnimation Kinematic Animation graphically animates the selected kinematic motion move.  This function is used after Nominal Build.

MECHhelp_kineAni

Mechanical Options

The following options help to navigate through the steps of a kinematic motion move.

Motion List: This pull-down menu allows the user to select the motion move to animate.  Only one motion move can selected at a time.

Animation Commands:

onestepDCS        Performs one step of the motion move per click of the button (forward and reverse).

stepallDCS        Increments through all the steps of the motion move (forward and reverse).

pauseiconDCS        Pauses the motion move.

Kinematic Motion: 

The DVTI_KinMotion Kinematic Motion Move rotates or translates a part while maintaining the other joint and constraints, allowing the assembly to be analyzed at various positions. This move works in conjunction with the Kinematic Simulation and Kinematic Animation routines.  Using Run Analysis, GeoFactor, or Advanced Analyzer Optimizer AAO on a model with motion moves will run each analysis with the motion moves at their first step.  The motion moves are not activated during Nominal Build.

MECHhelp_motion

Motion Specification:

The steps of the motion are specified in this tab. First, choose a type of motion out of the four different actions specified in the drop-down menu. Depending on the type of move, the user can specify and start and end position of the assembly and how many steps the motion is divided into.

MECHhelp_kineMotion

Joint Type:

  1. Translate Comp translates the parts in the list in the Move Parts tab along the direction of the feature in the Direction field in the Feature tab.
  2. Rotate Comp (Deg) rotates the parts in the list in the Move Parts tab around the axis defined by the features in the Center of Rotation and Direction fields in the Feature tab.
  3. Translate By Steps translates the parts in the list in the Move Parts tab along the direction of the feature in the Direction field in the Feature tab.
  4. Rotate By Steps (Deg) rotates the parts in the list in the Move Parts tab around the axis defined by the features in the Center of Rotation and Direction fields in the Feature tab.

Motion Steps: The number of steps the translation or rotation will be divided into.

Motion Beginning Pos: With "Comp" motion types, this is the first value stepped to.

Motion End Pos: With "Comp" motion types, this is the last value stepped to.

Defined Motion Steps: With "By Steps" motion types, add the values to be stepped to from this list.

Procedure

Model kinematics allows the user to translate or rotate parts while maintaining defined constraints and joints to model the motion of an assembly. The motion definition can be modified based on cycle parameters.

STEP 1        Motion Tab:

Choose the Motion Type from the drop-down menu.

Based on whether the 'Comp' or 'By Steps' method is chosen, specify the start/end point of motion and the step size or the values to step the motion to.

STEP 2        Feature Tab:

Click in the white box of Center of Rotation and select the feature or axis about which the assembly will be rotated.  If translating parts, this field is not needed.

Click in the white box of Direction and select a feature or axis about which the assembly will rotate in the graphics window (it can be the same as the other field.)  If translating parts, select a feature or axis about which the assembly will translate along.

For example, the end of the crankshaft was chosen as both the Center of Rotation and Direction below.

MECHhelp_motion2

 

STEP 3        Move Parts Tab:

Select the part or parts that will be moved the exact amount specified by the motion.  In the engine above, only the crankshaft should be selected.  The other moves will cause the rods and pistons to move with it.  If a second part is listed, then the first part will be moved relative to the second part.  

This allows both parts to be moved later as a rigid sub-assembly.

STEP 4        Settings Tab:

Update settings as desired.

 

Joints and Constraints - Creating a Model in Ten Minutes

degree-of-freedom-counter-ug-nx-joints-and-constraints

3DCS Mechanical Modeler can extract the Joints and Constraints from a CAD model, especially when using the integrated versions of 3DCS (CATIA, NX UG). These are applied to the model as DCS Moves. When used in conjunction with embedded GD&T (FT&A or PMI), a user can essentially build an entire 3DCS model in minutes. 

The Degree of Freedom Counter can then be used to check your moves to make sure all of your parts are properly constrained and that your moves are set up correctly. If they are not, add moves to constrain additional degrees of freedom and run your analysis. 

degree-of-freedom-counter-joints-and-constraints

 

Learn more about 3DCS in the Digital GD&T Webinar Series

Like all the DCS Webinars, this one is FREE and open to all registrants. 

Click Here to Learn More

Digital GD&T Webinar Series

 

 

Topics: PTC Creo 3DCS Creo Siemens NX Webinar CATIA V6 Tolerance Analysis CATIA 3DCS