lei2yu 发表于 2011-5-6 12:59:05

灰常好的pcl资料,好多练习,不敢独享,奉献大家

两卷资料共有20个左右练习,作为pcl半拉子选手看一看会很有收获的……
摘抄自百思论坛,不知道simwe原来的帖子中有没有。

Exercise10.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 10-1 Exercise 10 Objectives: n Write a function to create a pull down menu from the top menu bar in the main window. n The pull down menu will be used to call the rest of the exercises you will create in this training class. Training Pull Down Menu MSC.Patran 5-Dec-95 03:38:15 95 03:36:58 PM s)... u Propertiesu Load Cases uuFields uAnalysis uu Results uuInsight uuXY Plot eferences Tools Training Help Exercise 1 Exercise 2 Exercise 3 Exercise 4 E



- Exercise03.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 3-1 Exercise 3 Objectives: n Write a function to determine the size of a file in a directory n Learn to use Unix pipes and redirection with utl_process_spawn ( ) File Size file_size (“settings.pcl”) The size of file settings.pcl is 1365 bytes. The file settings.pcl not found! file_size (“settings.pcl”) 3-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 3 File Size PAT304 -PCL and Cusomization for MSC.Patran: v9.0 3-3 Exercise De



- Exercise07.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 7-1 Exercise 7 Objectives: n Write a function to add all elements of the same shape into a new group. Put Elements In Groups 7-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 7 Put Elements In Groups PAT304 -PCL and Cusomization for MSC.Patran: v9.0 7-3 Exercise Description: This exercise, put_element_in_group ( element_type, group_name), creates a group named group_name, with all elements of shape element_type. The function needs



- Exercise08.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 8-1 Exercise 8 Objectives: n Write a function to apply loads to an array of nodes. Apply Load to Selected Nodes 8-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 8 Apply Load to Selected Nodes PAT304 -PCL and Cusomization for MSC.Patran: v9.0 8-3 Exercise Description: In the exercise, apply_load_to_selected_nodes ( nodes, numnod, loads, lname ), you will pass an array of nodes, the length of the array, and a string array containing



- Exercise04.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 4-1 Exercise 4 Objective: n Write a function to create the geometry of the lug. Create Lug Geometry 4-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 4 Create Lug Geometry PAT304 -PCL and Cusomization for MSC.Patran: v9.0 4-3 Exercise Description: The exercise, lug_create ( ), creates a 2-dimensional model of a lug using parametric cubic patches. Use the global variables radius, width, and length to create the lug. Geometry is crea



- Exercise01.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 1-1 Exercise 1 Objectives: n Write a function to open an external file called records.out. n Write a given number of records to the file. Write Number Function write_number (5,“this is record number”) this is record number 1 this is record number 2 this is record number 3 this is record number 4 this is record number 5 1-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 1 Write Number Function PAT304 -PCL and Cusomization for MSC.P



- Exercise06.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 6-1 Exercise 6 Objective: n Write a function to apply the loads and element properties to the finite element mesh of the lug. Load Lug Model 6-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 6 Load Lug Model PAT304 -PCL and Cusomization for MSC.Patran: v9.0 6-3 Exercise Description: This exercise, lug_load ( ), applies the loads and boundary conditions, material and element properties to the lug model. When complete, the model will



- Exercise09.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 9-1 Exercise 9 Objectives: n Write a function to move a node from the midpoint of an edge to the first quarter point of that edge toward a user specified corner node. This function is useful for modeling crack tip elements in some analysis codes. Move Mid-side Node to the Quarter Point 9-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 9 Move Mid-side Node to the Quarter Point PAT304 -PCL and Cusomization for MSC.Patran: v9.0 9-3 Ex



- Exercise02.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 2-1 Exercise 2 Objectives: n Write a function to open an external file with a variable name. n Read the contents of the external file into a virtual array. n Dump the contents of the array Read Text Record read_text_record(“records.out.01”) INTEGER = 1 INTEGER = 2 INTEGER = 3 INTEGER = 4 INTEGER = 5 Read_text_record completed. 2-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 2 Read Text Record PAT304 -PCL and Cusomization for MS



- Exercise15.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 15-1 Exercise 15 Lug Model Class clevis_ui Class clevis_loads Class dimension lug_create ( ) lug_mesh ( ) lug_load ( ) Objectives: n Write three classes to take user defined dimensions for the clevis and apply the user defined loads. n Create a form that calls other forms. 15-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 15 Lug Model PAT304 -PCL and Cusomization for MSC.Patran: v9.0 15-3 Exercise Description: In this exercise, yo



- Lesson_Appendix_C.pdf

摘要: C -1 Appendix C Icon and Text Editors Below are a list of icon and full screen text editors. Most icon editors and full screen text editors are dependent on platform, operating system and motif package installed. Some systems may have other custom editors available. Additionally, most unix systems support vi and a list of some essential commands are given. Icon Editors The following is a list of icon editors found on specific unix platforms. The table below is broken up by system, operating syst



- Exercise13.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 13-1 Exercise 13 Objectives: n Write a class to create the graphical user interface, GUI, for the apply_load_to_selected_nodes function. Apply Load Function Graphical User Interface 13-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 13 Apply Load Function Graphical User Inter-PAT304 -PCL and Cusomization for MSC.Patran: v9.0 13-3 Exercise Description: This exercise, load_form, will create a form that handles the user interface for



- Exercise14.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 14-1 Exercise 14 Properties Form Objectives: n To customize MSC.Patran forms by changing form headings, titles and widgets. group selection by prop or mat Groups by PIDMID Enter the Property name Prop_1 Enter the Material name steel Enter the Group name fem_elem_select_mat Create Groups By Property Material Both Auto Execute Select Elements u u -Apply-Cancel ? 14-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 14 Properties Form PA



- Exercise16.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 16-1 Exercise 16 Clevis Icon Objectives: n Revise the Clevis Parametric Design Form to include an icon 16-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 16 Clevis Icon PAT304 -PCL and Cusomization for MSC.Patran: v9.0 16-3 Exercise Description: In this exercise, you will modify class clevis_ui to present an icon at the top of the form. The icon will indicate the meaning of the input values for clevis radius, width, and length. The



- Exercise17.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 17-1 Exercise 17 Objectives: n Write a PCL function which creates a form which contains a File Selection Widget. The Select Files Form dallasusersgamelpfforms. Select File Directories Okay Filter Cancel Available Files dallasusersgamelpfforms. dallasusersgamelpfforms. [ ] Filter dallasusersgamelpfforms*.op2 Selected Results File 17-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 17 The Select Files Form PAT304 -PCL and Cusomization



- Exercise05.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 5-1 Exercise 5 Objective: n Write a function to mesh the geometry of the lug. Mesh Lug Model 5-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 5 Mesh Lug Model PAT304 -PCL and Cusomization for MSC.Patran: v9.0 5-3 Exercise Description: This exercise, lug_mesh ( ), meshes a 2-dimensional model of a lug with parametric cubic patches. When complete, the model will have mesh seeds and a QUAD4 mesh. Apply mesh seeds to the geometry resu



- Lesson_Appendix_A.pdf

摘要: A-1 Appendix A MSC.Patran Settings Listed By Category Geometry Directionality Show Parametric Direction: DISPLAYGEOMETRY Global Model Tolerance Global Tolerance: PREFERENCESGLOBAL Highlighting Highlighting: DISPLAYHIGHLIGHT Highlight Colors: PREFERENCESGRAPHICS Labels Entity Labels and Colors: DISPLAYENTITY COLORLABELRENDER PlotErase PlotErase: DISPLAYPLOT-ERASE Point Size Point Size: DISPLAYGEOMETRY Render Settings Alternative Light Sources: DISPLAYLIGHT SOURCES Chordal Tolerance: DISPLAYGEOMET



- Exercise11.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 11-1 Exercise 11 Objectives: n Write a class to create a form with a single button. Create a Simple Form 11-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 11 Create a Simple Form PAT304 -PCL and Cusomization for MSC.Patran: v9.0 11-3 Exercise Description: This exercise creates a new form called Push Me. The Push Me form contains a single button called Push Me. When pressed the button will execute a function which writes a text str



- Exercise18.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 18-1 Exercise 18 smith. Action: Object: Add Menu Item Prompt (1)Select postition within the PCL Selections spreadsheet to add a ‘menu item’ (2)Select PCL function to add from the PCl choices spreadsheet PCL Selections (1) Max = 100 Read ... Save As ... Cancel Clear All PCL Choices (104) 12345 PCL Functions Function Description PCL Function Description Classname: Function: Create Multiple Groups ... PCL to create single or multipl> Create groups



- Exercise19.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 19-1 Exercise 19 Objectives: n Write a PCL function which creates nodal results. n Understand how MSC.Patran stores results. Creating Nodal Results 19-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 Exercise 19 Creating Nodal Results PAT304 -PCL and Cusomization for MSC.Patran: v9.0 19-3 Problem Description: In this Exercise write a PCL function which creates nodal results based on the X, Y or Z location of the node. This will be done by us



- Lesson_Appendix_B.pdf

摘要: B -1 Appendix B Unix Quick Reference Command Example Description rlogin rlogin hp001 login into machine named hp001 logout logout Log the user off exit exit Same as logging out ______________________________________________________ man man pwd Online help, display manual page containing information about command “pwd” xman xman & Online help display program for X Window System. Has nifty features for browsing, searching . Has its own help section describing its use. history history Display pre



- Lesson_Appendix_D.pdf

摘要: PAT304 -PCL and Cusomization for MSC.Patran: v9.0 D-1 Appendix D The following is an example of a PCL funcion. n The following produces a form which does nothing but gives you a good example about how to build forms in MSC.Patran. D-2 PAT304 -PCL and Cusomization for MSC.Patran: v9.0 CLASS my_class * Classwide variables *CLASSWIDE WIDGET my_databox FUNCTION init () REAL y_loc WIDGET form_id form_id = ui_form_create ( @* callback *““, @* x *5., @* y *5., @* position *“UL”, @* width *5., @* h

bao_tiantian 发表于 2011-5-27 11:15:29

这么好的东西,怎么没人捧场呀!

sunrisezgsmw 发表于 2011-5-30 13:59:37

PCL,是好东西。。。。唉,可惜一直没有时间去弄。。。

happy2008wcb 发表于 2011-5-31 12:41:25

这个貌似很多人发过了吧

红颜有你 发表于 2011-6-1 13:40:45

好东西,下下来学习学习

xiaopor 发表于 2011-7-19 22:11:39

谢谢分享。

ken0503 发表于 2011-7-21 19:06:58

很好,哈哈 ,谢谢!

pchyuan 发表于 2011-7-29 21:09:03

有多多学习PCL才好

henlee99 发表于 2011-10-8 20:51:55

论坛已经有了,不过还是好东西.

maryjtt 发表于 2011-10-29 21:07:36

:handshake

yishivs 发表于 2012-7-11 20:31:40

谢谢楼主。我在疯狂地收集PCL资料,然后闭关修炼

蚕宝宝吃桑叶 发表于 2012-7-11 22:35:20

好东西,谢谢分享!

东风导弹 发表于 2012-8-30 20:57:51

非常感谢,要做二次开发,希望有帮助。

lijiaxing 发表于 2013-4-24 10:31:35

非常好的资料,感谢楼主啊

wait90 发表于 2013-4-24 10:43:41

谢谢分享:):):)

haoren2007 发表于 2013-4-24 15:43:31

好人呀 多谢

heshijiu1989 发表于 2013-7-27 10:05:55

好好学习下,谢谢楼主

bluehorse 发表于 2013-9-23 10:05:36

先看看。琢磨琢磨

alinheng 发表于 2013-9-26 09:50:48

刚开始学pcl,还不会用,要是有些更基础的操作在加上这几个例子就爽了、。

xiaoduan123 发表于 2014-10-8 16:48:09

谢谢楼主分享。。。
页: [1] 2
查看完整版本: 灰常好的pcl资料,好多练习,不敢独享,奉献大家