1 / 15

CATIA import through CATScript

CATIA import through CATScript. Catia import through CATScript.

Download Presentation

CATIA import through CATScript

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CATIA import through CATScript

  2. Catia import through CATScript • If the environment variable SET CATIA_IMPORT_METHOD=THROUGH_STEP_CONVERSION is set in vp_init.bat, then the CATIA files will be imported into SimLab by converting it into STEP file through CATIA Script. The “Parameters” and “Selection Sets” defined in CATIA file will be imported into SimLab as design variables and groups respectively. The following variables are also to be set in vp_init.bat to define the batch(Ex:Catia.bat) file which will be spawned from SimLab to start CATSTART.exe. User need to create the catia.bat file to spawn CATSTART.exe. This catia.bat is to be kept in CATIA_SCRATCH_DIR. CATIA_SCRATCH_DIR can point to any of user defined scratch directory with write permission. • SET CATIA_SCRATCH_DIR=E:\Users\CATIA Dir\Scratch • SET CATIA_CMD=catia.bat • SET PATH=%CATIA_SCRATCH_DIR%;%PATH%

  3. Catia import through CATScript (Contd.) • catia.bat - should spawn CATSTART.exe following with the arguments to define the settings for licensing feature. Example catia.bat • “C:\Apps\Catia\R19\intel_a\code\bin\CATSTART.exe” -run "%1" -env CATIA.V5R19_APPS.B19 - direnv "C:\Apps\Catia\R19 \CATEnv" • Note: Change the path for CATSTART.exe, variable for -direnv and -env according to the installation.

  4. CATIA – Knowledge ware • CATIA knowledge ware allows to create parameters and assign it to features. SimLab gives access to these parameters and allows the definition of parameters inside SimLab to study there influence in results without redesigning the CAD model.

  5. Creating parameters in CATIA • Step 1. Clicking the icon will display the dialog box. • Step 2. To create a new parameter, click “New Parameter of type” after selecting its type(Length). The new parameter appears in the “Edit name” field. Define its name, value and click “Apply”

  6. Create the following two parameters • BigEndRadius=26.0 • SmallEndRadius=10.0

  7. The new parameter will be listed in the specification tree. User can create any number of parameters with predefined value.

  8. Parameters and Relations in Specification tree • Tools | options | Infrastructure | Part infrastructure | Display tab provides options for customizing the display of elements in the specification tree. Checking “Parameters” and “Relations” will display those in specification tree

  9. Using parameters • This is an example to show how the parameters is associated to a feature. In this example the radius of big end is associated to a parameter “BigEnd_Radius”. • Step 1. Clicking the icon (from Knowledge tool bar) will display the dialog box. • Step 2. Select Pad.1/Sketch.1 from specification tree and select the dimension for big end radius. The selected dimension will be highlighted in the formula dialog

  10. Using parameters (Contd.) • Step 3. Select Add Formula

  11. Using parameters (Contd.) • Step 4. Select parameter “BigEnd_Radius” from specification tree and click “OK”

  12. Using parameters (Contd.) • The new relation will be listed in the specification tree

  13. CATIA – Selection Sets • Selection Sets allows to group set of entities. While importing CATIA part into SimLab, SimLab will create corresponding face group for each selection set. The name of SimLab group will be the name of CATIA selection set. These groups are used to assign loads and boundary condition. The entities in selection set will remain unchanged when the design parameters are modified. This will facilitate the process of assigning load and boundary condition through SimLab script after regenerating the part.

  14. CATIA – Selection Sets (Contd.) • Clicking the icon (Edit/Selection Sets Edition) will display the dialog box. • Click “Create Set”, define name in “Name” field, check “Select a face, an edge, an axis or a vertex” and select the faces. Click “OK” to create the set

  15. Step export settings • To export the “Selection Sets” defined in CATIA file as STEP group, the application protocol is to be set as “214 iso” Select Tools | Options | General | Compatibility | STEP and set “Application Protocol(AP) to “214 iso” and click “OK”. This will enable the user to import the selection sets as “SimLab group” while importing Catia files into SimLab through STEP conversion.

More Related