OTHER SITES

escaMoney
You are here: HOME arrow TUTORIALS arrow 3dsmax Tutorials arrow Really Beginner Maxscript Tutorial Part 3

Really Beginner Maxscript Tutorial Part 3 PDF Print E-mail
User Rating: / 4
PoorBest 

by Didik Wijaya

Really Beginner Maxscript TutorialIn Part 1 and Part 2 tutorial, object modified using Maxscript is created manually in 3dsmax Command Panel. Now, you will try to create simple object from scratch using Maxscript.

 

1. In Maxscript Listener window, type:

mybox=box()

Press Enter. This line will create a box in coordinate (0,0,0). Delete box in viewport, now try again.

mybox = box length:100 width:100 height:100

This line will create a box with specified dimension. The word "mybox" is a variable name attached to box. Instead of using object name, later you can use this variable name to call the box. You can use your own word as variable name, just try to use unique and memorable word. The letter "()" means telling Maxscript to use the default value. Example below shows how to create sphere or torus

mysphere=sphere()

mytorus=torus()

 

2. Let's try to modify the box color. Type:

mybox.wirecolor=red

mybox.wireColor = (color 255 0 0)

You can use specific color word or RGB values. This time you don't need to recall box by its names, just use variable name defined earlier.

 

3. Let's try to move, scale box. Type:

move mybox [10,20,100]

scale mybox [1,1,2]

Top line will move box to specified coordinate. The bottom line will scale box along vertical axis (Z) as much as 200%

4. Now, try to add Modifier. Type:

mybox.lengthsegs = 10
mybox.widthsegs = 10
mybox.heightsegs = 10

addModifier mybox (twist angle:30)

mybox.twist.angle = 60

The first 3 line will add more segments to the box. Then, Twist modifier is added to the box with angle value=30. Later, if you want to modify angle value, you can type like the bottom line (Variablename(dot)modifier(dot)parameter=value).

That's all about the really basic things you should know about Maxscript.

 

Really Beginner Maxscript Tutorial Part 1 | Part 2 | Part 3

Any question or comments regarding this tutorial should be sent to:
Didik Wijaya, email: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

Discuss this tutorial

Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >
Random Free 3D Models
FileStinger X32
Low poly spaceship. Created based on my imagination. Lightweight super fast fighter
FileBed 01
Simple bed. Complete with bed cover
FileSuper Cannon
Super cannon. Imaginary cannon include cable to power source
FileBar Chair 01
Modern bar chair with futuristic design.
FileCute Cartoon Bear
Cute little cartoon bear. Tutorial about creating this model is also available here

Go to our free stuff section. You can find more free 3D models, vector art, clip art

 

Translate

EnglishFrenchGermanItalianPortugueseRussianSpanish

Login Form






Lost Password?
No account yet? Register

Your Shopping Cart

Your Cart is currently empty.

Recommended Ebook

 

Popular Download in Last 30 Days



FileSimple Bedroom
354

FileHardcover book - opened
297

FileCartoon Landscape
290