Difference between revisions of "Exporting Parasolid from SolidWorks"
Jeffhadley (talk | contribs) |
Jeffhadley (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | 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 | + | 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 <code><file_name>.x_t</code>. |
− | '''Note:''' if you do not have a parasolid model of your own, please | + | '''Note:''' if you do not have a parasolid model of your own, please copy <code>On_ramp_example.x_t</code> into your working directory from the following directory <code> /projects/tutorials/On_Ramp_parasolid</code>. |
− | Next, you'll want to change the extension from <code>.x_t</code> to <code>.xmt_txt</code>. To do this, run <code>mv <file_name>.x_t <file_name>.xmt_txt</code> from your terminal. From here, you are ready for the ''convert'' step, which is demonstrated [https://fluid.colorado.edu/tutorials/Convert2Sim_Tutorial.mp4 here] (See note below before clicking video link). | + | Next, you'll want to change the parasolid file extension from <code>.x_t</code> to <code>.xmt_txt</code>. To do this, run <code>mv <file_name>.x_t <file_name>.xmt_txt</code> from your terminal. From here, you are ready for the ''convert'' step, which is demonstrated [https://fluid.colorado.edu/tutorials/Convert2Sim_Tutorial.mp4 here] (See note below before clicking video link). |
'''Note:''' For the convert step, you cannot be on portal1, and must be on one of the viz nodes (machine viz003 is good). Also, the file <code>convertParasolid2Sim.s</code> seen in the video may be found in the directory <code>/users/mabl7046/Group_Dir</code> (temporary fix). You need to copy this file into the directory where you will be working. | '''Note:''' For the convert step, you cannot be on portal1, and must be on one of the viz nodes (machine viz003 is good). Also, the file <code>convertParasolid2Sim.s</code> seen in the video may be found in the directory <code>/users/mabl7046/Group_Dir</code> (temporary fix). You need to copy this file into the directory where you will be working. | ||
'''Summary of video:''' | '''Summary of video:''' | ||
− | 1. Ensure convertParasolid2Sim.sh | + | 1. Ensure <code>convertParasolid2Sim.sh</code> and <code><file name>.xmt_txt</code> are in your working directory. |
2. Set environment with soft adds found in <code>more ~kjansen/soft-core.sh</code> | 2. Set environment with soft adds found in <code>more ~kjansen/soft-core.sh</code> |
Revision as of 10:04, 1 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
.
Note: if you do not have a parasolid model of your own, please copy On_ramp_example.x_t
into your working directory from the following directory /projects/tutorials/On_Ramp_parasolid
.
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, which is demonstrated here (See note below before clicking video link).
Note: For the convert step, you cannot be on portal1, and must be on one of the viz nodes (machine viz003 is good). Also, the file convertParasolid2Sim.s
seen in the video may be found in the directory /users/mabl7046/Group_Dir
(temporary fix). You need to copy this file into the directory where you will be working.
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
.
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!