Difference between revisions of "Exporting Parasolid from SolidWorks"
Conrad54418 (talk | contribs) |
Conrad54418 (talk | contribs) |
||
Line 3: | Line 3: | ||
If you do not have a parasolid model of your own, you may use the On Ramp example file located at: | If you do not have a parasolid model of your own, you may use the On Ramp example file located at: | ||
− | /projects/tutorials/ | + | /projects/tutorials/On_Ramp/On_ramp_example.x_t |
Ensure that you are on one of the viznodes and not portal1. You may tunnel to viz003 by opening a terminal and running: | Ensure that you are on one of the viznodes and not portal1. You may tunnel to viz003 by opening a terminal and running: |
Revision as of 10:58, 11 June 2021
Save out your Model as a parasolid from SolidWorks. Note that you will want the geometry as close to ready for meshing as possible, as performing model "surgery" in SimModeler is not always straight forward. The outputted file from SolidWorks will have the format <file_name>.x_t
.
If you do not have a parasolid model of your own, you may use the On Ramp example file located at:
/projects/tutorials/On_Ramp/On_ramp_example.x_t
Ensure that you are on one of the viznodes and not portal1. You may tunnel to viz003 by opening a terminal and running:
vglconnect -s viz003
Navigate to and copy your file into your working directory. Typically, we create a folder where all the simulation files are stored. For example, after opening a terminal I could run the commands:
mkdir OnRamp cd OnRamp
This would place me in my working directory 'OnRamp'.
Next, you'll want to change the parasolid file extension from .x_t
to .xmt_txt
. To do this, run mv <file_name>.x_t <file_name>.xmt_txt
from your terminal. From here, you are ready for the convert step. Copy over the convert script by running:
cp /projects/tutorials/convertParasolid2Sim.sh .
The convert step is documented here: https://fluid.colorado.edu/tutorials/Convert2Sim_Tutorial.mp4
Summary of video:
1. EnsureconvertParasolid2Sim.sh
and<file name>.xmt_txt
are in your working directory.
2. Set environment with soft adds found in more ~kjansen/soft-core.sh
3. Run ./convertParasolid2sim.sh <file name>.xmt_txt
in your terminal
4. Convert step is complete and your directory now contains 3 new files:model.smd
relations.log
&translated-model.smd
. Thetranslated-model.smd
file is the one we need moving forward in this tutorial.
Once the convert step is complete, you are ready to move onto the next step and use SimModeler to create a mesh for the new translated-model.smd
file we created!