DriveWorks Pro 16: How To: Implement 3D Mixed Mode [send feedback...]

How To: Implement 3D Mixed Mode

Mixed Mode is an implementation method for DriveWorks 3D. Mixed Mode is the combination of a SOLIDWORKS & DriveWorks Autopilot 3D Preview and Static DriveWorks 3D files.

The idea of this method is that complex geometry is generated through SOLIDWORKS and simple standard components are saved as static 3D files. The two are then combined in a DriveWorks 3D Document and assembled together to create the final assembly.

Example

In this example, the legs of the Conveyor only change in Height and Width. There are about 50 variations of legs that can be added to the Conveyor. I have therefore created and saved each permutation as a DriveWorks 3D File.

The Conveyor Bed is different. This changes in Length, Width, Quantity of Rollers and Side Rails. This model is a little more complex. We can therefore generate the bed through SOLIDWORKS & Autopilot and combine the two in a DriveWorks 3D Document.

Method

On your DriveWorks Form, you will need a 3D Preview Box Control, a Macro Button and any other Controls required to drive your SOLIDWORKS Model.

You will also need SOLIDWORKS and DriveWorks Autopilot setup to run 3D Previews. You can find out more about this from the following Help File topics:

3D Preview Settings

How To: Troubleshoot Autopilot 3D Preview


Below are the order of events that are carried out to make Mixed Mode possible in DriveWorks.

  1. You begin by clicking the Macro Button on the Form to trigger the Preview.
  2. This runs a Specification Macro that contains the Task called Run 3D Preview. This points at the 3D Preview Box on the Form.
  3. The Run 3D Preview Task triggers a 3D Preview in DriveWorks Autopilot.
  4. DriveWorks Autopilot processes the request, creates the model and saves out a Drive3D file.
  5. When a Preview is complete it triggers the event on the Preview Control called On Preview Complete Macro. This runs another Specification Macro.
  6. This Specification Macro takes the generated Drive3D file path and drives it into a Constant in the Project.
  7. This Constant is then used in a Replacement File Path Rule on a Replace File Entity in a DriveWorks 3D Document. The Constant is populated with the file path of the model to swap into the 3D Document.
  8. The DriveWorks 3D Document updates with the new model and it is shown in the Preview Box on the Form
  9. The 3D Preview Box should be set to display this 3D Document.
  10. Any other 3D files can be swapped into the 3D Document using normal Replace File Entities.

DriveWorks Tech Tips Portal

3D Preview - Dynamic

This Tech Tip demonstrates how to use a DriveWorks 3D Document with pre-created files.

View all Tech Tips

3D Preview - Mixed Mode

This Tech Tip combines a number of different 3D Preview methods. It uses static files within 3D Documents along with Previewed Models generated from SOLIDWORKS.

View all Tech Tips

3D Preview

Set up a 3D Preview control on your form, allowing you to display 3D Models on your form.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://hub.driveworks.co.uk/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

Table of Contents