Header file Z88.FCD for Prof.Dr. Frank Rieg's free FEA program Z88 V11. This file fits well for SGI's This file lets you choose fonts, colors and dimensions for Z88 X-programs Please see hints at end of file In dieser Datei koennen Sie Fonts, Farben und Abmessungen fuer Z88 X-Programme waehlen. Bitte Hinweise am Dateiende beachten 14.4.2004 Rieg ******************************************************************************** Z88COM START ******************************************************************************** -------------------------------------------------------------------------------- WINDOW START -------------------------------------------------------------------------------- Your editor for use with Z88 Ihr Editor fuer Z88 CEDITOR nedit Your HTML-Browser or Internet-Browser for use with Z88 Ihr HTML- oder Internet- Browser fuer Z88 CBROWSER mozilla Your HTML-or Internet Browser's prefix Prefix fuer Ihren HTML- oder Internet Browser CPREFIX file:///usr/people/frank/z88v11/ volume of alert bell Warnton-Staerke IBELL 100 large font for pushbuttons and labels grosser Font Tasten und Texte CF_FLARGE 10x20 small font for pushbuttons and labels kleiner Font Tasten und Texte CF_FSMALL fixed font for textfield entries Font Textfeld-Eintraege CF_ENTRIES -schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso8859-1 color for pushbutton backgrounds Hintergrundfarbe Tasten CO_BACKGR orange color for pushbutton foregrounds and labels Farbe Tasten und Texte CO_FOREGR RoyalBlue2 color for textfield entries Farbe Textfeld-Eintraege CO_ENTRIES purple3 dimensions of main window Abmessungen des Hauptfensters IX_WINDOW 5 IY_WINDOW 5 IW_WINDOW 940 IH_WINDOW 405 dimensions of EDITIN radiobox Abmessungen EDITIN Radiobox IX_EDITIN 30 IY_EDITIN 160 IW_EDITIN 150 IH_EDITIN 230 dimensions of EDITOUT radiobox Abmessungen EDITOUT Radiobox IX_EDITOUT 225 IY_EDITOUT 160 IW_EDITOUT 150 IH_EDITOUT 195 dimensions of FE-Solver radiobox Abmessungen FE-Prozessor Radiobox IX_FEA 770 IY_FEA 160 IW_FEA 155 IH_FEA 230 dimensions of CAD-Converter radiobox Abmessungen CAD-Converter Radiobox IX_CAD 400 IY_CAD 160 IW_CAD 150 IH_CAD 195 dimensions of PLOT radiobox Abmessungen PLOT Radiobox IX_PLOT 580 IY_PLOT 160 IW_PLOT 155 IH_PLOT 195 dimensions of MAIN frame (Info,Exit,Help) Abmessungen MAIN Rahmen (Info,Ende,Hilfe) IX_MAIN 10 IY_MAIN 60 IW_MAIN 236 IH_MAIN 40 dimensions of TITLE frame (Z88 Commander) Abmessungen Titel Rahmen (Z88 Commander) IX_TITLE 400 IY_TITLE 10 IW_TITLE 150 IH_TITLE 40 dimensions of PROC frame (Z88V,Z88N,Z88D,Z88E,Z88G,Z88H) Abmessungen PROC Rahmen (Z88V,Z88N,Z88D,Z88E,Z88G,Z88H) IX_PROC 400 IY_PROC 60 IW_PROC 535 IH_PROC 40 dimensions of START frame (Edit In,Edit Out,CAD<>Z88,Plot,Z88F) Abmessungen START Rahmen ( Edit In,Edit Out,CAD<>Z88,Plot,Z88F) IX_START 10 IY_START 110 IW_START 925 IH_START 40 dimensions of ITER frame (nonlinear Iteration) Abmessungen ITER Rahmen (nichtlineare Iteration) IX_ITER 770 IY_ITER 275 IW_ITER 155 IH_ITER 70 NC_ITER 3 dimensions of Status Line Abmessungen der Statuszeile IX_STATUS 225 IY_STATUS 360 IW_STATUS 510 IH_STATUS 32 WINDOW END Z88COM END ******************************************************************************** Z88P START ******************************************************************************** -------------------------------------------------------------------------------- WINDOW START -------------------------------------------------------------------------------- volume of alert bell Warnton-Staerke IBELL 100 font for pushbuttons and labels Font Tasten und Texte CF_BUTTONS fixed font for textfield entries Font Textfeld-Eintraege CF_ENTRIES -schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso8859-1 color for pushbutton backgrounds Hintergrundfarbe Tasten CO_BACKGR orange color for pushbutton foregrounds and labels Farbe Tasten und Texte CO_FOREGR RoyalBlue2 color for textfield entries Farbe Textfeld-Eintraege CO_ENTRIES purple3 dimensions of main window Abmessungen des Hauptfensters IX_WINDOW 5 IY_WINDOW 5 IW_WINDOW 1200 IH_WINDOW 1000 dimensions of upper pushbutton row Abmessungen obere Tastenreihe IX_UPBROW 15 IY_UPBROW 905 IW_UPBROW 690 IH_UPBROW 40 dimensions of lower pushbutton row Abmessungen untere Tastenreihe IX_LPBROW 15 IY_LPBROW 950 IW_LPBROW 625 IH_LPBROW 40 dimensions of radio box "Undeflected..." Abmessungen Radiobox "Unverformt..." IX_RBSTRUC 1040 IY_RBSTRUC 10 IW_RBSTRUC 150 IH_RBSTRUC 105 dimensions of radio box "XY..." Abmessungen Radiobox "XY..." IX_RBVIEW 1040 IY_RBVIEW 120 IW_RBVIEW 150 IH_RBVIEW 80 dimensions of radio box "No Labels..." Abmessungen Radiobox "No Lables" IX_RBLABEL 1040 IY_RBLABEL 210 IW_RBLABEL 150 IH_RBLABEL 130 dimensions of frame "Structure File" and "Plotter File" Abmessungen gemeinsam fuer "Structure File" and "Plotter File" IX_RCSPLOT 890 IY_RCSPLOT 910 IW_RCSPLOT 300 IH_RCSPLOT 80 NC_RCSPLOT 33 dimensions of frame "FUX" & "FUY" & "FUZ" Abmessungen gemeinsam fuer "FUX" & "FUY" & "FUZ" IX_RCFXYZ 1040 IY_RCFXYZ 350 IW_RCFXYZ 150 IH_RCFXYZ 150 NC_RCFXYZ 11 dimensions of frame "FXCOR" Abmessungen gemeinsam fuer Text und Textfeld "FXCOR" IX_RCFXCOR 1040 IY_RCFXCOR 510 IW_RCFXCOR 150 IH_RCFXCOR 50 NC_RCFXCOR 5 dimensions of drawing area Abmessungen der Zeichenflaeche IX_DRAWAR 10 IY_DRAWAR 8 IW_DRAWAR 1015 IH_DRAWAR 882 WINDOW END -------------------------------------------------------------------------------- GRAFIC START -------------------------------------------------------------------------------- font for grafic operations Font fuer alle grafischen Aktionen CF_GRAFICS -schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso8859-1 color for drawing area background Hintergrundfarbe der Zeichenflaeche CO_DRAWAR white color for undeflected structure Farbe der unverformten Struktur CO_NORMAL blue color for deflected structure Farbe der verformten Struktur CO_DEFLECTED red color for element numbers Farbe der Elementnummern CO_ELEMENTS blue color for node numbers Farbe der Knotennummern CO_NODES magenta colors for stresses Farben der Spannungen CO_STRESS0 MidnightBlue CO_STRESS1 DodgerBlue CO_STRESS2 DeepSkyBlue CO_STRESS3 cyan CO_STRESS4 SpringGreen CO_STRESS5 LawnGreen CO_STRESS6 yellow1 CO_STRESS7 orange1 CO_STRESS8 DarkOrange CO_STRESS9 OrangeRed GRAFIC END Z88P END ******************************************************************************** Z88O START ******************************************************************************** -------------------------------------------------------------------------------- WINDOW START -------------------------------------------------------------------------------- volume of alert bell Warnton-Staerke IBELL 100 font for pushbuttons and labels Font Tasten und Texte CF_BUTTONS fixed font for textfield entries Font Textfeld-Eintraege CF_ENTRIES -schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso8859-1 font for OpenGL operations Font fuer alle OpenGL Aktionen CF_GRAFICS -adobe-courier-*-r-*-*-24-*-*-*-*-*-*-* color for pushbutton backgrounds Hintergrundfarbe Tasten CO_BACKGR orange color for pushbutton foregrounds and labels Farbe Tasten und Texte CO_FOREGR RoyalBlue2 color for textfield entries Farbe Textfeld-Eintraege CO_ENTRIES purple3 dimensions of main window Abmessungen des Hauptfensters IX_WINDOW 5 IY_WINDOW 5 IW_WINDOW 1200 IH_WINDOW 1000 dimensions of upper pushbutton row Abmessungen obere Tastenreihe IX_UPBROW 15 IY_UPBROW 905 IW_UPBROW 710 IH_UPBROW 40 dimensions of lower pushbutton row Abmessungen untere Tastenreihe IX_LPBROW 15 IY_LPBROW 950 IW_LPBROW 625 IH_LPBROW 40 dimensions of radio box "Undeflected..." Abmessungen Radiobox "Unverformt..." IX_RBSTRUC 1040 IY_RBSTRUC 10 IW_RBSTRUC 150 IH_RBSTRUC 80 dimensions of radio box "Light..." Abmessungen Radiobox "Licht..." IX_RBVIEW 1040 IY_RBVIEW 110 IW_RBVIEW 150 IH_RBVIEW 240 dimensions of radio box "No Labels..." Abmessungen Radiobox "No Lables" IX_RBLABEL 1040 IY_RBLABEL 370 IW_RBLABEL 150 IH_RBLABEL 110 dimensions of frame "Structure File" Abmessungen gemeinsam fuer "Structure File" IX_RCSPLOT 890 IY_RCSPLOT 950 IW_RCSPLOT 300 IH_RCSPLOT 40 NC_RCSPLOT 33 dimensions of frame "FUX" & "FUY" & "FUZ" Abmessungen gemeinsam fuer "FUX" & "FUY" & "FUZ" IX_RCFXYZ 1040 IY_RCFXYZ 600 IW_RCFXYZ 150 IH_RCFXYZ 150 NC_RCFXYZ 11 dimensions of frame "from" & "to" Abmessungen gemeinsam fuer "von" & "bis" IX_RCFRTO 1040 IY_RCFRTO 500 IW_RCFRTO 150 IH_RCFRTO 80 NC_RCFRTO 11 dimensions of frame "ZLIMIT" Abmessungen gemeinsam fuer Text und Textfeld "ZLIMIT" IX_RCFXCOR 1040 IY_RCFXCOR 770 IW_RCFXCOR 150 IH_RCFXCOR 80 NC_RCFXCOR 15 dimensions of drawing area Abmessungen der Zeichenflaeche IX_DRAWAR 10 IY_DRAWAR 8 IW_DRAWAR 1015 IH_DRAWAR 882 WINDOW END -------------------------------------------------------------------------------- OPENGL START -------------------------------------------------------------------------------- DEFAULT START FYCOR 1.00 COLOR 0.00 0.15 1.00 1.00 DEFAULT END STRESS START RED 0.00 0.00 0.50 0.75 0.00 0.00 1.00 1.00 1.00 GREEN 0.00 0.00 0.50 0.75 1.00 1.00 1.00 0.50 0.00 BLUE 0.00 1.00 1.00 1.00 1.00 0.00 0.00 0.00 0.00 STRESS END LIGHT0 START SPECULA0 0.75 0.75 0.95 1.00 DIFFUSE0 0.70 0.70 0.70 1.00 AMBIENT0 0.20 0.20 0.20 1.00 POSITIO0 -100. +100. -100. 0.00 LIGHT0 END LIGHT1 START SPECULA1 0.75 0.75 0.95 1.00 DIFFUSE1 0.70 0.70 0.70 1.00 AMBIENT1 0.20 0.20 0.20 1.00 POSITIO1 +100. +100. -100. 0.00 LIGHT1 END LIGHT2 START SPECULA2 0.95 0.45 0.00 1.00 POSITIO2 -50. -50. +100. 0.00 LIGHT2 END MAT START DIFF_MA 0.90 0.90 0.90 1.00 SPEC_MA 0.60 0.60 0.60 1.00 SHINING 50. MAT END HIDDENLINE START COLOR 0.90 0.90 0.90 OFFSET 1.00 0.00 HIDDENLINE END LABEL START NODES 1.00 0.00 0.00 ELEMENTS 0.00 1.00 0.00 LABEL END OPENGL END Z88O END --------------------------------------------------------------------------- Hints: --------------------------------------------------------------------------- By changing the values of this file you can modify the look of Z88's X- programs. At the moment these are the Z88-Commander Z88COM (Section Z88COM START ..... Z88COM END), the plot program Z88P (Section Z88P START ... Z88P END) and the plot program Z88O (Section Z88O START... Z88O END). Make sure to store a copy of the original header file Z88.FCD. Z88COM and Z88P do only run with a correct Z88.FCD file. Z88's X-programs read the keywords in capital letters, for example Z88COM START : keyword Z88COM START : empty line, read as a comment WINDOW START : keyword WINDOW START : empty line, read as a comment Your editor for use with Z88 : no function, read as a comment Ihr Editor fuer Z88 : no function, read as a comment CEDITOR joe : keyword CEDITOR, "joe" is read : empty line, read as a comment Your Internet-Browser for Z88 : no function, read as a comment Ihr Internet- Browser fuer Z88 : no function, read as a comment CBROWSER arena : keyword CBROWSER, "arena" is read : empty line, read as a comment Your Internet Browser's prefix : no function, read as a comment Prefix fuer Ihren Internet Browser : no function, read as a comment CPREFIX : keyword CPREFIX, an empty string ........ 1) Internet Browsers -------------------- If you would like to use the Netscape Navigator, then enter CBROWSER /home/johndoe/netscape/netscape assuming Netscape is located in a directory /home/johndoe/netscape and CPREFIX file:///home/johndoe/z88/ assuming the Z88 files are located in a directory /home/johndoe/z88 The Arena Browser does not need a prefix. Therefore, an empty string following the keyword CPREFIX works fine. 2) Dimensions and Fonts ----------------------- You can modify the dimensions of the pushbutton rows, the radioboxes etc. But keep in mind that the X-Window system and Motif always try to write a complete string on a pushbutton or into a textfield. The size of a string depends heavily on the used font. Thus, you must adjust the font AND the dimensions to get a proper button or textlabel. Otherwise, complete pushbuttons can disappear ! The size of all the buttons in a complete pushbutton row is determined by the size of the largest pushbutton, i.e. of the longest text string ! You can easily verify this when you look at the pushbutton row "Edit Input F", "Edit Output F", "DXF<->Z88", "Plot Feature", "Z88F". The size is determined by the text "Edit Output F". You can define your own font names by adding entries into e.g. /usr/X11R6/lib/X11/fonts/misc/fonts.alias 3) Colors --------- The colors are defined by name and RGB values in the UNIX default file /usr/X11R6/lib/X11/rgb.txt Make up your own colors by entering new color names and proper RGB values. 4) Special hints for OpenGL plot program Z88O --------------------------------------------- With the keyword FYCOR you may adjust your screen. Load a square or circular structure and make sure that the X dimensions meet the Y dimensions. Warning: Be carefull when changing values in the section OPENGL START! Consult the OpenGL Programming Guide and the OpenGL Reference Manual from Addison-Wesley for proper understanding of the OpenGL state machine. If you are an OpenGL newcomer inproper entries will result in sometimes funny but mostly odd rendered scenes. All colors in OpenGL are of the type Red-Green-Blue with values varying from 0. to 1.0. Usually, Z88 reads one line with the entry for red, the entry for green and the entry for blue. This is true for the background color, the lights, the material (MAT), the hidden lines and the labels. Let the 4th entry -if it exists- unchanged (the so-called Alpha value). Pay attention to the section STRESS START: There are 9 columns for the ranges of stresses and deflections, but the first columns with 0., 0., 0. has no meaning. Start editing with the second column = the first color. The light positions have four entries: X,Y and Z. The 4th entry is the W value for the so-called homogeneous coordinates. If W is 0 then the point lies in infinity and the beam meets the point X, Y, Z. Consult the OpenGL Reference Manual for further informations. The value for SHINING (= GL_SHININESS) may vary from 0. to 128. The HIDDENLINE section features the color for the lines and in the second line the "factor" and "units" for the command glPolygonOffset. Very special. Consult the OpenGL Reference Manual for further infomations. --------------------------------------------------------------------------- Hinweise: --------------------------------------------------------------------------- Sie koennen das Aussehen der Z88 X-Programme durch Modifizieren der Werte dieser Datei veraendern. Dies betrifft momentan die X- Programme Z88COM (Sektion Z88COM START ..... Z88COM END), Z88P (Sektion Z88P START ..... Z88P END) und Z88O (Sektion Z88O START ..... Z88O END). Verwahren Sie eine Originalkopie von Z88.FCD. Denn Z88COM und Z88P laufen nur mit einer korrekten Datei Z88.FCD. Z88 X- Programme lesen die grossgeschriebenen Schluesselworte, z.B. Z88COM START :Schluesselwort Z88COM START :Leerzeile,als Kommentar gelesen WINDOW START :Schluesselwort WINDOW START :Leerzeile,als Kommentar gelesen Your editor for use with Z88 :keine Funktion,als Kommentar gelesen Ihr Editor fuer Z88 :keine Funktion,als Kommentar gelesen CEDITOR joe :Schluessel CEDITOR, "joe" einlesen :Leerzeile,als Kommentar gelesen Your Internet-Browser for Z88 :keine Funktion,als Kommentar gelesen Ihr Internet- Browser fuer Z88 :keine Funktion,als Kommentar gelesen CBROWSER arena :Schluessel CBROWSER,"arena" einlesen :Leerzeile,als Kommentar gelesen Your Internet Browser's prefix :keine Funktion,als Kommentar gelesen Prefix fuer Ihren Internet Browser :keine Funktion,als Kommentar gelesen CPREFIX :Schluessel CPREFIX, Leerstring lesen ........ 1) Internet Browser ------------------- Falls Sie den Netscape Navigator nutzen wollen, dann geben Sie ein CBROWSER /home/harry/netscape/netscape unter der Annahme, dass Netscape im Directory /home/harry/netscape steht und CPREFIX file:///home/harry/z88/ unter der Annahme, dass die Z88-Dateien im Directory /home/harry/z88 stehen. Der Arena Browser braucht kein Prefix. Daher kann dem Schluesselwort CPREFIX ein Leerstring folgen. 2) Abmessungen und Fonts ------------------------ Sie koennen alle Abmessungen der Pushbutton- Reihen, der Radioboxen usw. aendern. Beachten Sie aber, dass das X-Window System und Motif immer versuchen, einen kompletten String auf einen Pushbutton oder in ein Textfeld zu schreiben. Die Groesse und Laenge eines Strings haengt stark vom verwendeten Font ab. Daher muessen Sie Font UND Abmessungen anpassen, um einen sauber beschrifteten Pushbutton oder Textfeld zu bekommen. Andernfalls koennen ganze Pushbuttons verschwinden ! Die Groesse aller Buttons in einer kompletten Pushbutton- Reihe wird von der Groesse des groessten Pushbuttons bestimmt, also von dem mit dem laengsten String ! Das koennen Sie leicht feststellen an der Reihe "Edit Eingabe", "Edit Ausgabe", "DXF<->Z88", "Plotauswahl", "Z88F". Die Groesse wird durch die Texte "Edit Eingabe" bzw. "Edit Ausgabe" (gleiche Laenge) bestimmt. Sie koennen Ihre eigenen Font-Namen definieren durch Eintrag in z.B. /usr/X11R6/lib/X11/fonts/misc/fonts.alias 3) Farben --------- Die Farben sind durch Name und RGB- Werte definiert im UNIX Default File /usr/X11R6/lib/X11/rgb.txt Erfinden Sie Ihre eigenen Farben durch Eintragen neuer Namen und RGB- Werte. 4) Spezielle Hinweise fuer das OpenGL Plotprogramm Z88O ------------------------------------------------------- Mit dem Schluesselwort FYCOR koennen Sie Ihren Bildschirm anpassen. Am besten laden Sie eine quadratische oder kreisrunde Struktur und stellen durch Veraendern von FYCOR sicher, dass X- und Y- Abmessungen gleich sind. Achtung: Seien Sie vorsichtig beim Veraendern von Werten in der Sektion OPENGL START! Ziehen Sie den OpenGL Programming Guide und das OpenGL Reference Manual von Addison-Wesley zu Rate, damit Sie die Hintergruende der Werte verstehen. Falls Sie OpenGL-Neuling sind, dann kann unbedachtes Aendern der Werte fuer zwar mitunter lustige, meist aber merkwuerdige Darstellungen sorgen. Alle Farben in OpenGL sind vom Typ Rot-Gruen-Blau mit Werten von 0. bis 1. Normalerweise liest Z88 jeweils eine Zeile mit den Werten fuer Rot, Gruen und Blau ein. Das gilt fuer die Hintergrundfarbe, die Lichter, die Materialeigenschaften (MAT), die verdeckten Linien und die Knoten- und Elementnummern. Lassen Sie den 4. Wert -wenn er vorhanden ist- unveraen- dert (das ist der sog. Alpha- Wert). Die Sektion STRESS START weicht davon ab: Es sind zwar 9 Spalten fuer die Bereiche der Spannungen und Verformungen vorhanden, aber die erste Spalte mit 0., 0., 0. hat keine Bedeutung. Die zweite Spalte repraesentiert die erste Farbe. Die Lichtpositionen haben vier Eintraege: X, Y und Z. Der 4.Wert ist der W-Wert fuer die sog. homogenen Koordinaten. Wenn dieses W 0 ist, dann liegt der eigentliche Beleuchtungspunkt unendlich weit weg und sendet einen Lichtstrahl durch den Punkt X, Y, Z. Sehen Sie im OpenGL Reference Manual nach. Der Wert fuer SHINING (= GL_SHININESS) muss zwischen 0. und 128. liegen. Die HIDDENLINE Sektion definiert in der ersten Zeile die Farben fuer die verdeckten Linien und in der zweiten Zeile die Werte "factor" und "units" fuer den Befehl glPolygonOffset. Sehr speziell. Sehen Sie im OpenGL Reference Manual nach.