[Closed] why I can have bendAngle and can't have boxHeight?
Okey I’ve started to learn maxscript and one thing makes me wonder.
Why I can put:
myBend = bend angle:10
or myBend = bend bendAngle: 10
and both of them works
and can’t do the same for box
myBox = box height: 10 – this one works
and myBox = box boxHeight: 10 – doesn’t work
where do you find bendAngle and boxHeight ?
normally they are not in the documentation…
Are you trying to create your own commands ? :drool:
well boxHeight I didn’t find but I was trying to use it when I saw bendAngle in CGAcademy Fundamentials video tutorial.
the properties of a bend modifier shows these:
.BendAngle (Angle) : float
.BendDir (Direction) : float
.BendAxis (Axis) : integer
.FromTo (Limit) : boolean
.BendFrom (LowerLimit) : float
.BendTo (UpperLimit) : float
.center : point3
.gizmo : transform
so it shows that you could either use BendAngle or Angle to acces the parameter.
hope this helps.
galagast where did you find it in help?
I got only this
[left][b][b]Bend - superclass: modifier; super-superclass:MAXWrapper - classID: #(16, 0)[/b][/b]
[/left]
[left][b][b]Constructor[/b][/b]
[/left]
[left][b][b]Bend[/b][/b] ...
[/left]
[left][b][b]BendMod[/b][/b] ...
[/left]
[left][b][b]Properties[/b][/b]
[/left]
[left]<Bend>.[b][b]angle[/b][/b] Float default: 0.0 -- animatable
[/left]
[left]The angle to bend from the vertical plane.
[/left]
[left]<Bend>.[b][b]direction[/b][/b] Float default: 0.0 -- animatable
[/left]
[left]The direction of the bend relative to the horizontal plane.
[/left]
[left]<Bend>.[b][b]axis[/b][/b] Integer default: 2
[/left]
[left]Specifies the axis to be bent. Note that this axis is local to the Bend gizmo and not related to the selected entity:
[/left]
[left]0- X
[/left]
[left]1- Y
[/left]
[left]2- Z
[/left]
[left]<Bend>.[b][b]limit[/b][/b] Boolean default: false
[/left]
[left]When on, applies limit constraints to the bend effect.
[/left]
[left]<Bend>.[b][b]upperlimit[/b][/b] Float default: 0.0 -- animatable, alias: Upper_Limit
[/left]
[left]The upper boundary in world units from the bend center point beyond which the bend no longer affects geometry.
[/left]
[left]<Bend>.[b][b]lowerlimit[/b][/b] Float default: 0.0 -- animatable, alias: Lower_Limit
[/left]
[left]The lower boundary in world units from the bend center point beyond which the bend no longer affects geometry.
[/left]
[left]<Bend>.[b][b]center[/b][/b] Point3 default: [0,0,0] -- animatable
[/left]
[left]You can translate and animate the center, altering the Bend gizmos shape, and thus the shape of the bent object.
[/left]
[left]<Bend>.[b][b]gizmo[/b][/b] SubAnim
[/left]
[left]You can transform and animate the gizmo like any other object, altering the effect of the Bend modifier.
[/left]
[left]<Bend.gizmo>.[b][b]position[/b][/b] Point3 default: [0,0,0] -- animatable
[/left]
[left]The position of the gizmo object. Translating the gizmo translates its center an equal distance.
[/left]
[left]<Bend.gizmo>.[b][b]rotation[/b][/b] Quat default: (quat 0 0 0 1) -- animatable
[/left]
[left]The rotation of the gizmo object. Rotating the gizmo takes place with respect to its center.
[/left]
[left]<Bend.gizmo>.[b][b]scale[/b][/b] Point3 default: [1,1,1] -- animatable
[/left]
[left]The scaling of the gizmo object. Scaling the gizmo takes place with respect to its center.
[/left]
That’s a bit strange that showproperties $.modifiers[1] don’t return the “.angle” property like in the help file…
That’s maybe better to use the properties of showproperties ?
“boxHeight” is a mystery because showproperties don’t return this property
but this command also works
mybox=box width:200 radius:50
and there are no radius property for a box… I think that “radius” is just ignored.
galagast where did you find it in help?
hmm… its not in the help file…
create a sphere (sphere01)
type this in the listener:
show $sphere01
-- or select the sphere
show $
it would return the base properties of the sphere. (this doesnt include the common properties)