Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Goal of this tutorial

  • Use a manual model set-up to realize Casting Regions

  • Modify the optimisation input accoridingly

  • Run the optimisation in the command line

Training:

Relevant data for this tutorial:

...

This Tutorial is based on the previous Tutorial for the Manufacturing Method: Casting. With some modifications it is possible to create Casting Regions. A Casting Region defines casting specific settings (e.g. draw direction / tapering angle) for separate regions of the Design Space.

Step 1: Open existing casting project

Open the already set up casting project of the Triple Clamp.

...

Step 2: Define Casting Regions

To define Casting Regions additional volumes have to be defined an and exported. In this case we want to create one Casting Region on the left-hand side and another on the right-hand side.

...

Two solids are created which are renamed to Solid 1 & Solid 2:

...

Step 3: Add Advanced User Settings - Casting Regions settings

The already defined settings for the previous casting optimisation are kept. These define the Casting optimisation as well as two draw directions with a tapering angle of 5°. This time positive Z-direction and negative Y-direction are defined as Draw directions.

configuration.strategy=Casting

tool.tool0.draft=5
tool.tool0.direction.x=0
tool.tool0.direction.y=0
tool.tool0.direction.z=1

tool.tool1.draft=5
tool.tool1.direction.x=0
tool.tool1.direction.y=0-1
tool.tool1.direction.z=-1

...

0

Additionally, the both casting regions are added and linked to the draw directions.

toolRegion.region0.geometryName= toolRegion0

toolRegion.region0.tools.tool0

toolRegion.region1.geometryName= toolRegion1

toolRegion.region1.tools.tool1

geometry.toolRegion0.path = Solid 1.stl

geometry.toolRegion1.path = Solid 2.stl

...

Info

There is no limitation in the number of draw directions (tools) and Casting Regions (toolRegions). Several draw directions can be linked to one Casting Region.

Step 4: Export of the optimisation scenario & casting regions

The optimisation scenario is exported to a freely selectable folder.

...

Into the same folder the created Casting Regions are exported as a .stl file. (Attention: The unit system has to be in meters!)

...

Step 5: Command line optimisation start

Now, inside the exported folder the optimisation input (configuration file & geometry files) as well as the manual created Casting Regions can be found:

...

After pressing enter the optimisation starts in the command line.

Step 6: Quick modification of the optimisation set-up

By opening the configuration file (.json) the optimisation parameters and the casting set-up can be modified easily.

In the tool section additional tools can be added and linked to the toolRegion. Each tool can be one draw direction with a specified tapering angle.

...

Step 7: Post Processing & Visualisation of the results

The optimisation results are saved in an additional subfolder with a timestamp.

...

These results can be imported back to MSC Apex GD (File → Import → Import GD Results).

...

You can go back to the model setup by clicking the Exit button in the right bottom corner.

The whole MSC Apex Generative Design project with all results can be downloaded here:

View file
nameTripleClamp_CastingRegions.zip