This action might not be possible to undo. Are you sure you want to continue?
E X E R C I S E
Clean CAD Export From Mechanical Desktop
This demonstration shows how easy it can be: You define and control your geometry inside Mechanical Desktop and export to Working Model to add the physical components which drive the motion. This demonstration is made easy because the piston was assembled in Mechanical Desktop with the idea in mind that it would move inside of Working Model. This concept of Assembling With Motion In Mind is an important part of this training course and is discussed in detail in one of the following demonstrations. New Concepts Introduced • CAD Integration
3. The CAD assembly constraints map over as equivalent physical constraints. This includes a mapping of both parts and assembly constraints.1 Export Piston Model from Mechanical Desktop The Working Model CAD integration program exports all information from Mechanical Desktop that is pertinent to a Working Model simulation. 2.dwg.. . Select Open. mass properties. for example. it would not presume a CAD constraint to be a motor. The integration never presumes the connection is driven. Open the file Pistasm. it would instead map the constraint over as a non-driven revolute joint.7-2 Exercise 7— Clean CAD Export From Mechanical Desktop • CAD Associativity 7. Its path is shown in Figure 7-1. All parts defined in Mechanical Desktop come over as Working Model bodies. Open Piston Model in Mechanical Desktop: 1. and name. and move to the directory Corporate Demo (Piston). The importance here is that the location and orientation of the constraint be correct. Figure 7-1 Path to Piston Model. If it is to be a motor. The export for each part is very thorough in that it includes the geometry. This directory is part of the Working Model 3D installation. color. location. it can be modified quite simply inside Working Model as will be shown in this demonstration. Launch Mechanical Desktop.. from the File menu.
The installation of Working Model 3D modifies the Mechanical Desktop work space such that both a Motion menu and a Simulate Motion Toolbar appear. Selection of the menu drops down the list shown in Figure 7-2. You should select Simulate Motion from this list.1 Export Piston Model from Mechanical Desktop 7-3 Export to Working Model 1. All parts and constraints in the Mechanical Desktop document are mapped over to a Working Model file. Figure 7-2 Selection of Simulate Motion begins export to working Model Figure 7-3 Selection of Simulate Motion begins export to working Model . Select Simulate Motion from the Motion menu. This same export can be initiated also by choosing the simulate motion button from the toolbar which is shown in the left margin. as is shown in Figure 7-3.7. Working Model is then launched automatically with this file open. This initiates the CAD export.
Reorient Global Coordinate System Drawings are often made with little regard to orientation because in a CAD program there is no physical significance to any of the three drawing axes (X. We then complete the construction of the simulation model by adding two physical components. In a physics simulation like Working Model. Attach a Coord to the Body Anchor_1 1. a choice is made that gravitational acceleration is directed along the negative Z-axis. that assemblies come into Working Model with an incorrect orientation relative to gravity. we adjust the orientation of the World Coordinate System such that gravity acts along the piston head motion axis. choose Look At -> Front View. . The second component is a rigid slot joint to constrain the piston to a vertical motion only. this is the axis along which gravity acts. The problem occurs. Our objective with this maneuver is to align the piston with the Zaxis. Notice from this view that the z-axis points up. This constraint accounts for the motion restriction imposed on the piston by the inside wall of the piston cylinder.Y or Z). From the View menu.2 Add Physics in Working Model Once inside Working Model. therefore. A view like that shown in Figure 7-4 appears. The first is a motor to drive the rotation of the crankshaft relative to an anchored body. In this demonstration we correct the orientation of the piston such that the motion of the piston head occurs along the gravity axis. where gravity must exist.7-4 Exercise 7— Clean CAD Export From Mechanical Desktop 7.
Attach the selected coord to the selected body. A list like that shown in Figure 7-5 appears. Locate mouse over the highlighted word Anchor_1 in the object list and click once on the right mouse button. Add to this selection the body Anchor_1 by holding the control key down and by clicking the left mouse button on this object in the object list. Through Properties window Appearance tab.7. Through the Properties window Position tab assign the coord The New Global Coordinate System the position shown below. 5. Place a coord arbitrarily onto the sketch grid. 6. 3. We will attach this coord to the body called Anchor_1 and position it through the properties window. X=0 Y=0 Z=0 Rx = -90 Ry = 0 Rz = 0 . 4.2 Add Physics in Working Model 7-5 Figure 7-4 Initial Front View of Exported Piston 2. Choose Attach Coord to Body. name the new coord The New Global Coordinate System.
7-6 Exercise 7— Clean CAD Export From Mechanical Desktop Figure 7-5 Attach Coord to Body is accessible through right mouse click Attach World Coordinate System to New Coord 1. Select the coord The New Global Coordinate System. Select the option.. Attach to: The New Global Coordinate System. from the Grid menu. A dialog like that shown in Figure 7-6 appears. Figure 7-6 Attach Coordinate System Dialog 3. .. Select Attach Coordinate System. 2.
Open the properties window for this constraint and choose the Constraint tab.2 Add Physics in Working Model 7-7 4. there should be only one constraint on Anchor_1 and it should be called Constraint. From the View menu.7. Select the button marked Make the attachment permanent . Select OK. 3. 2. Through the Object List select the body Anchor_1. Figure 7-7 Front View Shows Piston Aligned with the Gravity Axis Driving the Motion with a Motor In this section we convert into a motor the revolute constraint connecting the bodies Anchor_1 and Crank_1. The view shows the piston aligned vertically as is shown in Figure 7-7. As is shown in the figure to the left. 5. all objects connected to it appear in the connections manager. Select the Revolute constraint connected to Anchor_1. A dialog stating that you cannot reverse this appears. 1. choose Look At -> Front View. . With Anchor_1 as the selected object.
1. as is shown in Figure 7-8. Apply a Rigid Slot Joint to Top Surface of Piston 1. 2. . Select run button. Select the constraint type to be a Revolute Motor from the constraint list to the left in this tab. Use Box Zoom and Rotate tools to attain a view of top surface of piston like that shown in Figure 7-9. The motion shows that the connections are correctly defined between the connecting rod and the crankshaft and between the connecting rod and the piston head. 2. vertical motion only. Figure 7-8 Constraint Tab of properties window Run Simulation Run simulation to make sure that constraints function as intended. as is shown in Figure 7-9. that is that the piston head is confined to a nonrotating. The piston head tumbles.7-8 Exercise 7— Clean CAD Export From Mechanical Desktop 4. Use coord tool to place a coord on the top surface of the piston. Let simulation run 50 frames before selecting stop button. The motor drives the rotation of the crank shaft. because we have not yet enforced the constraint that the combustion cylinder imposes on a real piston. however.
7. Create Constraint dialog appears as is shown in Figure 7-10. Select newly created coord and open the Create Constraint dialog.2 Add Physics in Working Model 7-9 Figure 7-9 Location of Slot Joint Coord on Top Surface of Piston Head 3. Figure 7-10 Create Constraint dialog .
Figure 7-11 Rigid Slot Joint attaches Piston Head to the background 5. choose rigid joint on a slot.7-10 Exercise 7— Clean CAD Export From Mechanical Desktop 4. Select Go Home from View menu. we make a measurement on the force required of the slot joint to impose the motion constraint on the piston head. 1. Measure Constraint Load on Slot Joint Here. This sort of measurement might be made to determine the type of wear and tear to expect for the piston head and for the inside wall of the combustion cylinder. A view with the original magnification and orientation appears. From the constraint list to the left side of the Create Constraint dialog. Select the rigid slot joint. . The complete piston appears with a rigid slot joint attaching the top surface of the Piston Head to the background as is shown in Figure 7-11.
Run Simulation Confirm that the model functions as intended by running the simulation for 200 frames. The force component references of F x.2 Add Physics in Working Model 7-11 It should appear in the Object List as Constraint. Select Force on Piston Head-1 expressed in Coord from the Measure menu.7. 2. This creates a meter measuring the force required by the constraint. Fy. Figure 7-12 Measurement of force carried by slot joint . Piston should move as expected. Constraint force measurement should appear as is shown in Figure 7-12. and F z refer to the coordinate axes defined for Coord . Observe the variation of the constraint force with the motion of the piston. 1. Let simulation run 200 frames before selecting stop button. Select run button. 2.
1. we show how the programs continue to be integrated with associativity. In this final part of the demonstration. Through associativity. 2. Figure 7-13 Expanded Display for Piston Assembly in Mechanical Desktop . Now.7-12 Exercise 7— Clean CAD Export From Mechanical Desktop 7.dwg if it is not currently launched with this file open. Launch Mechanical Desktop and open file Pistasm. changes in the geometry of a simulation can be made in Mechanical Desktop without altering the physical components previously defined in Working Model. and have added physical components to drive the motion of this simulation. Inside Mechanical Desktop. expand list of components for Pistasm assembly so that it appears as is shown in Figure 7-13.3 Modify Geometry Using CAD Associativity Up to this point we have defined geometry in Mechanical Desktop. we reenter Mechanical Desktop to lengthen the connecting rod. Modify Geometry in Mechanical Desktop With Working Model still open. we investigate the effect of lengthening the connecting rod. exported it to Working Model.
10. Update the assembly drawing by selecting the Update Assembly button. 9. 4. Locate mouse over connecting rod in workspace and click left mouse button.7. Select CON_ROD_1 from this list. 6. Figure 7-14 Right Mouse click on Base Extrude 7. The vertical dimension appearing to the left of the connecting rod indicates the length of the connecting rod. Update the part drawing by selecting the Update Part button.3 Modify Geometry Using CAD Associativity 7-13 3. Mechanical Desktop displays dimensions for the base extrusion of the connecting rod. Select vertical dimension indicating length of the connecting rod. Mechanical Desktop requests: “Enter new value for dimension <160>”. Mechanical Desktop asks you to select a feature for editing. . Enter a value of 250. 5. Select the Edit Feature Button. Select the Part Modeling Button in Mechanical Desktop. 8.
even though they were originally created in Working Model. Figure 7-15 Updated Assembly in Mechanical Desktop Re-export to Working Model 3D 1. . The Working Model simulation is automatically updated to include the new geometry definition as is shown in Figure 7-16. Through Associativity .7-14 Exercise 7— Clean CAD Export From Mechanical Desktop The drawing appears with the lengthened connecting rod integrated into the assembly as is shown in Figure 7-15. Select Simulate Motion from the Motion menu of Mechanical Desktop. the file is updated and does not require redefinition of the motor and rigid slot joint.
3 Modify Geometry Using CAD Associativity 7-15 Figure 7-16 Piston Geometry Modified for Working Model through Associativity Run Simulation Run the simulation with newly defined geometry. Select run button. The motor drives the motion as expected. . Let simulation run 200 frames before selecting stop button. 2. 1.7.
7-16 Exercise 7— Clean CAD Export From Mechanical Desktop .
This action might not be possible to undo. Are you sure you want to continue?