p3cm.close_2 | (detail ) |
Description: | ||
This function closes the Laminate Modeler Layup database. | ||
Input: | ||
INTEGER | detail | Value is 0 for closing the file. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None. |
p3cm.create_book_layup2 | (num_plies_in, index_in, report_it, state, rep_togs, display_it, material, view_arrow, init_vector, disp_area, max_strn, angles, pattern, cutout, offval, pat_igs, pat_dxf, cut_igs, cut_dxf, curve_str, layer_str, hardcopy_it, options ) |
Description: | ||
This function creates the book report of the layup existing in the Laminate Modeler database. The layup report file “./filename.lm_report” is created. The postscript file “./filename.1_ply_1.ps.01” is also created. | ||
Input: | ||
INTEGER | num_plies_in | Number of plies in the database. |
INTEGER | index_in() | Array of the index. |
LOGICAL | report_it | Layup report option display. |
STRING | state[] | Status of the layup report i.e. “Expand” or “Compress” |
LOGICAL | rep_togs(6) | Array of the report which toggles display options “Index”, “Name”, “Type”, Multiplier”, “Side” & “Angle Offset” |
LOGICAL | display_it | Ply data display option. |
LOGICAL | material | Material . This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | view_arrow | Application Direction . This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | init_vector | Reference Direction . This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | disp_area | Selected Area. This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | max_strn | Maximum Strain . This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | angles | Angles. This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | pattern | Draped Pattern. This is the Laminate Modeler Ply Graphics Display Option. |
LOGICAL | cutout | Flat Pattern. This is the Laminate Modeler Ply Graphics Display Option. |
REAL | offval | Offset value. By default, value is 0.0. |
LOGICAL | pat_igs | This is the Laminate Modeler Ply “Draped Pattern IGES files” Export Option. |
LOGICAL | pat_dxf | This is the Laminate Modeler Ply “Draped Pattern DXF files” Export Option. |
LOGICAL | cut_igs | This is the Laminate Modeler Ply “Flat Pattern IGES files” Export Option. |
LOGICAL | cut_dxf | This is the Laminate Modeler Ply “Flat Pattern DXF files” Export Option. |
STRING | curve_str[] | “POLYLINE” or “SPLINE” |
STRING | layer_str[] | Layer String. |
LOGICAL | hardcopy_it | Image creation display option. |
STRING | options[] | “printer=Postscript Default, driver=Postscript, destination=Unknown, window=Current Viewport, save=YES, output_file=, paper=Letter, left_margin=0.5 in, right_margin=0.5 in, top_margin=0.5 in, bottom_margin=0.5 in, default_units=Inches, orientation=Landscape, copies=1, format=Black to White, background=White, lines_&_text=Black, line_weight=0.5 pts, text_scale=100%, image_size=Fit on Page, scale_factor=1.0, center=Yes, draw_borders=Yes, quality=Normal, color_model=RGB, gcr=75 %” |
Output: | ||
<Return Status> | This function creates the layup report file “./filename.lm_report.0*”. and postscript file “./filename.1_ply_1.ps.0*” . | |
Error Conditions: | ||
None |
P3cm.create_laminates_layup_2 | (areaspec, an_code_name, an_type_name, orientation, prim_entity, switch_angle_in, sec_entity, num_tols, ang_tols, thick_tols, tol_areas, element_type, prefix, first_laminate_id, first_property_id, preview ) |
Description: | ||
This function creates the laminate layup in the Laminate Modeler database. | ||
Input: | ||
STRING | areaspec[] | “Select Area”, “ALL” or “Select Elements” |
STRING | an_code_name[] | “MSC.Nastran” |
STRING | an_type_name[] | “STRUCTURAL” |
STRING | orientation[] | Laminate Orientation i.e. “Coordinate System”, “Vector”, “Angle” or “Laminate Only”. |
STRING | prim_entity[] | Primary Coordinate System. |
REAL | switch_angle_in | Switch Angle Value. |
STRING | sec_entity[] | Secondary Coordinate System |
INTEGER | num_tols | Tolerance number. |
REAL | ang_tols() | Angle tolerance array. By default value is 5.0 degrees. |
REAL | thick_tols() | Thickness tolerance array. By default value is 5.0 % |
STRING | tol_areas[]() | Array of the define overrides |
STRING | element_type[] | Selection of the element type for analysis model as below: "2D_Stan. Lam. Plate (CQUAD4/PCOMP)", "2D_Rev. Lam. Plate (CQUAD4/PCOMP)" |
STRING | prefix[] | Prefix i.e. LM_Layup. |
INTEGER | first_laminate_id | First laminate identifier. |
INTEGER | first_property_id | First property identifier. |
LOGICAL | preview | Preview Option. TRUE for Display. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.create_layup_add_2 | (layup_name, layup_description, num_plies, ply_names, type_names, instances, sides, offsets, num_offs, off_values, off_flags, off_starts, off_views, off_areas, num_tols, ang_tols, thick_tols, tol_areas, model_flag, element_type, solid_flag, bacon_flag ) |
Description: | ||
This function creates the layup in the Laminate Modeler database. | ||
Input: | ||
STRING | layup_name[] | Laminate Modeler layup name. |
STRING | layup_description[] | As Default, the description is: "LM_Layup created from : ./Filename by LAMINATE MODELER" |
INTEGER | num_plies | Number of Laminate Modeler plies |
STRING | ply_names[]() | Array of Laminate Modeler ply names |
STRING | type_names[]() | Array of Laminate Material material types. |
INTEGER | instances() | Array size depends upon the number of plies. |
STRING | sides[]() | Array of sides. “Top”, “Bottom” and “Middle”. |
REAL | offset() | Array of offsets values. By default it is 0. |
INTEGER | num_offs | Offsets number. |
REAL | off_values() | Offsets values array. By deault value is 0.0. |
STRING | off_flags[]() | Offsets flags array. |
REAL | off_starts() | Offsets starts array. By default value is 0.0. |
REAL | off_views() | Offsets views array. By default value is 0.0. |
STRING | off_areas[]() | Array of the define offsets selected areas values. |
INTEGER | num_tols | Tolerance number. |
REAL | ang_tols() | Angle tolerance array. By deault value is 5.0 degrees. |
REAL | thick_tols() | Thickness tolerance array. By default value is 5.0 % |
STRING | tol_areas[]() | Array of the define overrides |
LOGICAL | model_flag | Analysis Model Display Option. |
STRING | element_type[] | Selection of the element type for analysis model as below: "2D_Stan. Lam. Plate (CQUAD4/PCOMP)", "2D_Rev. Lam. Plate (CQUAD4/PCOMP)" |
LOGICAL | solid_flag | Solid element Option. |
LOGICAL | bacon_flag | BACON Option. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not create layup due to insufficient input data. |
p3cm.create_material_add | (type_name, material_name, analysis_material_name, thickness, max_strain, warp_weft_angle) |
Description: | ||
This function creates the material name for Laminate Modeler database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project” |
STRING | material_name[] | Laminate Modeler material name |
STRING | analysis_material_name[] | Created material name in the database. |
REAL | thickness | Additional property of the material. By default the value of thickness is 0.1 unit. |
REAL | max_strain | Additional property of the material. By default the value of the Maximum Strain is taken 60.0 degrees. |
REAL | warp_weft_angle | Additional property of the material. By default the value of the Warp/Weft Angle is 90.0 degrees. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Material name already used. Layup Module Error. |
p3cm.create_ply_add_2 | (type_name, material_name, ply_name, start_pt, view_dirn, ref_dirn, ref_ang, warp_weft_angle, max_strain, step_length, axis_type, warpaxis_str, weftaxis_str, extn_type, max_sweeps, bounds, num_areas, area_strs, split_str) |
Description: | ||
This function creates the new ply for Laminate Modeler database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project” |
STRING | material_name[] | Laminate Modeler Material Name |
STRING | ply_name[] | Laminate Modeler Ply Name |
REAL | start_pt(3) | Starting Point (3D coordinate) |
REAL | view_dirn(3) | Application Direction as a 3D vector . |
REAL | ref_dirn(3) | Reference Direction, by default it is [0., 0., 0.] |
REAL | ref_ang | Reference Angle, by default it is 0.0. |
REAL | warp_weft_angle | Additional Material Property. By default the value of the Warp/Weft Angle is 90.0 degrees. |
REAL | max_strain | Additional Material Property. By default the value of the Maximum Strain is taken 60.0 degrees. |
REAL | step_length | Step Length is the parameter of geometry. By default value is 1.0 |
INTEGER | axis_type | This is a Control Parameter used for Geometry i.e. 0 - None Axis type 1 - Geodesic Axis type 2 - Planner |
STRING | warpaxis_str[] | Warp Axis String, By default value ““ |
STRING | weftaxis_str[] | Waft Axis String, By default value ““ |
INTEGER | extn_type | This is the extension type used for geometry control parameters: 1 - Geodesic 2 - Energy 3 - Maximum |
INTEGER | max_sweeps | By default value is 0 |
REAL | bounds() | Boundaries Parameters Array for limit fabric size. This is the array of four elements for example: [minimum warp, maximum warp, minimum weft, maximum weft] |
INTEGER | num_areas | Number of selected areas. |
STRING | area_strs[]() | Array of the selected areas. |
STRING | split_str[] | Split Definition selected either by Geometry or by FEM data. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not create ply due to insufficient input data. |
p3cm.create_results_failure | ( res_name, area, criterion, basis, num_mats, mat_names, mat_allows, name, ply_sort, ply_results,f ailure_index, reserve_factor, margin_safety, critical_component, critical_ply ) |
Description: | ||
This function creates the Laminate Modeler results by using the LM_Ply Failure Calculation method. | ||
Input: | ||
STRING | res_name[]() | Array of the results names, i.e. load case, subcase, primary result case, secondary result case & layer result case. |
STRING | area[] | Selected area for results data. |
STRING | criterion[] | Criteria set for getting the results i.e. “Maximum”, “Tsai-Wu”, “Hill”, “Haffman”, “Hakinson”, “Cowin” & “User Defiened”. |
STRING | basis[] | Basis of the failure i.e. “STRESS” etc. |
INTEGER | num_mats | Number of materials. |
STRING | mat_names[]() | Array of the LM material for selected area and other parameters. |
REAL | mat_allows() | Array of the material allowables. |
STRING | name[] | Name of the created results. |
LOGICAL | ply_sort | “Ply_Sort” Option is not yet implemented in the Laminate Modeler. By default it is FALSE. |
LOGICAL | ply_results | Ply by Ply Results Display Option. |
LOGICAL | failure_index | Failure Index Display Option. |
LOGICAL | reserve_factor | “Reserve_Factor” Option is not yet implemented in the Laminate Modeler. By default it is FALSE. |
LOGICAL | margin_safety | Margin of Safety Display Option. |
LOGICAL | critical_component | Critical Component Display Option. |
LOGICAL | critical_ply | Critical Ply Display Option. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Module Error. |
p3cm.create_results_mid_sort | ( res_name, area, num_mats, mat_names) |
Description: | ||
This functions creates the Laminate Modeler results by using the material identifier sorting method. | ||
Input: | ||
STRING | res_name[]() | Array of the results names, i.e. load case, subcase, primary result case, secondary result case & layer result case. |
STRING | area[] | Selected area for results data. |
INTEGER | num_mats | Number of materials. |
STRING | mat_names[]() | Array of the LM material for selected area and other parameters. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Module Error. |
p3cm.create_results_sort | (res_name) |
Description: | ||
This functions creates the Laminate Modeler results by using the LM_Ply Sorting method. | ||
Input: | ||
STRING | res_name[]() | Array of the results names, i.e. load case, subcase, primary result case, secondary result case & layer result case. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Module Error. |
p3cm.delete_laminates | (num_laminates, laminates) |
Description: | ||
This function deletes the laminates from the Laminate Modeler database. | ||
Input: | ||
INTEGER | num_laminates | Number of laminates. |
STRING | laminates[](num_laminates) | Array of the laminates. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None. |
p3cm.delete_material_name | (type_name, material_name) |
Description: | ||
This function deletes the material name from the database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project”. |
STRING | material_name[] | Laminate Modeler material name. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not find specified material. |
p3cm.delete_ply_name | (type_name, ply_name) |
Description: | ||
This function deletes the ply name from the Laminate Modeler database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project” |
STRING | ply_name[] | Laminate Modeler ply name |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not find specified layer. |
p3cm.delete_propsets | (num_propsets, propsets) |
Description: | ||
This function deletes the property sets from the Laminate Modeler Database. | ||
Input: | ||
INTEGER | num_propsets | Number of property sets. |
STRING | propsets[](num_propsets) | Array of the property sets. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
13000119 | Property Sets could not retrieved from the database. 0 Property Sets deleted. |
p3cm.import_model_file_2 | (mesh, materials, node_id_offset, elem_id_offset, create_group, gr_name) |
Description: | ||
This function imports the model file from Laminate Modeler database. | ||
Input: | ||
LOGICAL | mesh | Mesh to be imported. |
LOGICAL | materials | Materials to be imported. |
LOGICAL | create_group | Created group to be imported. |
INTEGER | node_id_offset | Node ID offset. |
INTEGER | elem_id_offset | Element ID offset. |
STRING | gr_name[] | Name of the created group. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.import_plies_file_2 | (num_files, files, angle_tolerance, distance_tolerance, create_layup, preview, merge_nodes) |
Description: | ||
This function imports the ply file from Laminate Modeler database. | ||
Input: | ||
INTEGER | num_files | Number of imported ply files |
STRING | files[](num_files) | Array of the imported ply file names. |
REAL | angle_tolerance | Angle tolerance in degrees. By default value is 25. deg. |
REAL | distance_tolerance | Distance tolerance in % . By default value is 5.0 %. This value is either relative or absolute. |
LOGICAL | create_layup | Add plies to layup option. |
LOGICAL | preview | Preview plies before import option. |
LOGICAL | merge_nodes | Merge Nodes before import option. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not open file for reading. |
p3cm.modify_material | (type_name, old_material_name, material_name, analysis_material_name, thickness, max_strain, warp_weft_angle) |
Description: | ||
This function modifies the existing material properties for Laminate Modeler database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project” |
STRING | old_material_name[] | Laminate Modeler existing Material Name |
STRING | material_name[] | Laminate Modeler modified Material Name |
STRING | analysis_material_name[] | Created Material Name in the database. |
REAL | thickness | Additional property of the material. By default the value of thickness is 0.1 unit. |
REAL | max_strain | Additional property of the material. By default the value of the Maximum Strain is taken 60.0 degrees. |
REAL | warp_weft_angle | Additional property of the material. By default the value of the Warp/Weft Angle is 90.0 degrees. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not find Specified Material name. Layup Module Error. |
p3cm.modify_ply | (type_name, material_name, old_ply_name, ply_name, start_pt, view_dirn, ref_dirn, ref_ang, warp_weft_angle, max_strain, step_length, axis_type, warpaxis_str, weftaxis_str, extn_type, max_sweeps, bounds, num_areas, area_strs, split_str) |
Description: | ||
This function modifies the existing ply to the new ply name for Laminate Modeler database. | ||
Input: | ||
STRING | type_name[] | Material type in Laminate Modeler like “Paint”, “Scissor”, “Slide” or “Project” |
STRING | material_name[] | Laminate Modeler material name |
STRING | old_ply_name[] | Existing ply name |
STRING | ply_name[] | Modified ply name |
REAL | start_pt(3) | Starting point (3D coordinate) |
REAL | view_dirn(3) | Application direction as a 3D vector |
REAL | ref_dirn(3) | Reference direction, by default it is [0., 0., 0.] |
REAL | ref_ang | Reference angle, by default it is 0.0 |
REAL | warp_weft_angle | Additional material property. By default the value of the Warp/Weft Angle is 90.0 degrees. |
REAL | max_strain | Additional material property. By default the value of the maximum strain is taken 60.0 degrees. |
REAL | step_length | Step length is the parameter of geometry. By default value is 1.0 |
INTEGER | axis_type | This is a control parameter used for Geometry i.e. 0 - None Axis type 1 - Geodesic Axis type 2 - Planner |
STRING | warpaxis_str[] | Warp Axis String, By default value ““ |
STRING | weftaxis_str[] | Waft Axis String, By default value ““ |
INTEGER | extn_type | This is the Extension type used for Geometry Control Parameters like: 1 - Geodesic 2 - Energy 3 - Maximum |
INTEGER | max_sweeps | By default value is 0. |
REAL | bounds() | Boundaries Parameters Array for limit fabric size. This is the array of four elements for example: [minimum warp, maximum warp, minimum weft, maximum weft] |
INTEGER | num_areas | Number of selected areas. |
STRING | area_strs[](num_areas) | Array of the selected areas. |
STRING | split_str[] | Split definition selected either by Geometry or by FEM data. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
-1 | Could not modify ply due to insufficient input data. |
p3cm.new | (filename) |
Description: | ||
This function opens the new layup file for begining the Laminate Modeler session. | ||
Input: | ||
STRING | filename[] | The new layup file name. (As default “db_filename.layup”) |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None. |
p3cm.set_offsets | (num_offs, off_values, off_flags, off_starts, off_views, off_areas) |
Description: | ||
This function sets the offsets data for creating the new layup in Laminate Modeler database. | ||
Input: | ||
INTEGER | num_offs | Number of the defined offsets. |
REAL | off_values() | Array of the offset value for each defined offsets. |
STRING | off_flags[]() | Array of the offset flag for each defined offsets. There are three types of flags as Middle, Top & Bottom. These flag types represent the value as below: “0” for Middle type, “1” for Top type “-1” for Bottom type. |
REAL | off_starts() | Array of the 3D coordinate values of definition points for all defined offsets. It represents the starting points of the offsets. |
REAL | off_views() | Array of the 3D coordinate values of definition direction for all defined offsets. It represents the directional views of the offsets. |
STRING | off_areas[]() | This represents the array of the selected areas for each defined offset in the form of elements or surfaces. |
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None |
p3cm.open | (filename) |
Description: | ||
This function opens the existing laminate modeler database. | ||
Input: | ||
STRING | filename[] | The existing layup filename. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None. |
p3cm.save_as_2 | (filename, detail) |
Description: | ||
This function saves the Laminate Modeler database. | ||
Input: | ||
STRING | filename[] | The open layup file name. |
INTEGER | detail | Set this value = 0 |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None. |
p3cm.set_export_options_2 | (draped_pattern_iges, draped_pattern_dxf, flat_pattern_iges, flat_pattern_dxf, mold_surface_iges, curve, layer) |
Description: | ||
This function sets the export options for Laminate Modeler database. | ||
Input: | ||
LOGICAL | draped_pattern_iges | This is the Laminate Modeler Ply “Draped Pattern IGES files” Export Options. |
LOGICAL | draped_pattern_dxf | This is the Laminate Modeler Ply “Draped Pattern DXF files” Export Options. |
LOGICAL | flat_pattern_iges | This is the Laminate Modeler Ply “Flat Pattern IGES files” Export Options. |
LOGICAL | flat_pattern_dxf | This is the Laminate Modeler Ply “Flat Pattern DXF files” Export Options. |
LOGICAL | mold_surface_iges | This is the Laminate Modeler Layup Mold Surface IGES files Options |
STRING | curve[] | “POLYLINE” or “SPLINE” |
STRING | layer[] | “POLYLINE” |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.set_graphics_options_2 | (message, ply_graphics, layup_graphics, material, app_direction, ref_direction, max_strain, selected_area, flat_pattern, draped_pattern, surface_offset, angles, offset_val, scale) |
Description: | ||
This function sets the graphics options for Laminate Modeler database. | ||
Input: | ||
LOGICAL | message | TRUE for opening the message file . |
LOGICAL | ply_graphics | LM_ply Display Control. TRUE for Display. |
LOGICAL | layup_graphics | LM_Layup Display Control. TRUE for Display. |
LOGICAL | material | Material. This is the Laminate Modeler Ply Graphics Display Options. |
LOGICAL | app_direction | Application Direction . This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | ref_direction | Reference Direction . This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | max_strain | Maximum Strain . This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | selected_area | Selected Area. This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | flat_pattern | Flat Pattern. This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | draped_pattern | Draped Pattern. This is the Laminate Modeler Ply Graphics Display Options |
LOGICAL | surface_offset | Surface Offset. This is the Laminate Modeler Layup Graphics Display Options. |
LOGICAL | angles | Angles. This is the Laminate Modeler Ply Graphics Display Options. |
REAL | offset_val | Offset value. By default value is 0.0. |
REAL | scale | Scale value (0.1 to 10.0) |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.set_tolerance | (num_tols, ang_tols, thick_tols, tol_area) |
Description: | ||
This function sets the tolerance data for Laminate Modeler database. | ||
Input: | ||
INTEGER | num_tols | Tolerance number. |
REAL | ang_tols() | Angle tolerance array. By default value is 5.0 degrees. |
REAL | thick_tols() | Thickness tolerance array. By default value is 5.0 % |
STRING | tol_areas[]() | Array of the define overrides . |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.show_laminate | (elem_vstr, nprop, prop, nlam, lam, property, display_method, scale, nlay, lay) |
Description: | ||
This function shows the laminates from the Laminate Modeler database. | ||
Input: | ||
STRING | elem_vstr[] | Array of the selected elements to show the laminate. |
INTEGER | nprop | Number of selected properties. |
STRING | prop[](nprop) | Array of the selected properties sets. |
INTEGER | nlam | Number of selected laminates. |
INTEGER | lam(nlam) | Array of the selected laminates. |
STRING | property[] | Select properties i.e: “Material” “Orientation” “Thickness” |
STRING | display_method[] | Display method i.e: “Model Plot” “Scalar Plot” “Vector Plot” “XY Plot” |
REAL | scale | Thickness Scale. (0.1 to 10 value) |
INTEGER | nlay | Number of selected layers. |
INTEGER | lay(nlay) | Array of the selected layers. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.show_layup_exploded | (num_selected, index, offset_mult) |
Description: | ||
This function shows the selected laminate modeler layup from the database. | ||
Input: | ||
INTEGER | num_selected | Number of Laminate Modeler plys |
INTEGER | index(num_selected) | Array of ply ids |
REAL | offset_mult | Offset distance multiplier. By default, value is taken as 1.0 |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |
p3cm.show_ply | (type_id_name, ply_name, plot_flag) |
Description: | ||
This function deletes the ply name from the database. | ||
Input: | ||
STRING | type_id_name[] | ID string for various material types like “Paint”, “Scissor”, “Slide” or “Project”. |
STRING | ply_name[] | Laminate Modeler Ply Name. |
LOGICAL | plot_flag | TRUE to show the existing ply. |
Output: | ||
INTEGER | <Return Value> | 0 for success of the function. |
Error Conditions: | ||
None |