The MEL Companion: Maya Scripting for 3D Artists (Charles River Media Graphics)

P

Paint Weights tool, 366

Pane layout, 278-279

Panels

available in Maya, 368

modeling panel, 374-376

scripted, 382-408

with focus vs. under pointer, 368-369

Parent controls and layouts in UI, 287-289, 303-304

Parenthesis () and order of operations, 11

Parsing

arrays, 58, 59-60

selection list, 237-238, 255-256

Paths

for scripts, 67

tokenizing, 244-245

.PDF file format, 412. See also Files

Performance and rendering speed, 145

Platonic Solids, 86

Polygonal cone, 109

Polygonal smoothing, 251-252

Polygons

Create Polygon tool, 92

primitives for creating, 86-106

Polyhedrons, regular, 86

Popup menus

adding to window, 359-360

button to execute set procedure, 360-361

on controls, 354

design for improved UI using, 355-356

procedure called from, 362-363

procedure to set values of selected objects, 361-362

text control labels, 358

window and layout for, 357-358

Post Render Mel script, 261-263

Pre Render Mel script, 261-263

Pre-Alpha software, 134

Precision

of floating-point numbers , 9, 43

of variable conversion, 47-48

workaround to floating-point problem, 440-442

Primitives, creating. See Projects

Print statement, 174, 420

Printing to Script Editor, 420, 422

Procedures

filenames, 363

multiple, 73-75

overview, 61-63, 66-67

updating multiple, 194

Programming code. See Scripts

Progress window, 272, 274-275, 311-312

Prompt dialog, 272, 273-274

.PSD file format, 412. See also Files

Категории