Hola a todos estoy viendo un tutorial en YouTube cómo hacer un. Plugin lidbox. Les dejo este código: - Estoy en la primera parte.
Tutorial Maxscript: scripting a plug-in part 1a -.
Plugin simpleobject lidbox.
Name:lidbox.
Classid:#(0x34570181, 0 por 6e9f1c72).
Category:por mavdigital.
Parameters main ut:parámetros.
Length type:#float default:0 ui:spn_length.
Width type:#float default:0 ui:spn_width.
Thickness type:#float default:1 ui:spn_thickness).
Rollout parámetros lidbox parameters.
Spinner spn_length length range:[0,100000,0].
Spinner spn_width width range:[0,100000,0].
Spinner spn_thickness thickness range:[0.01,100000,1]).
On buildmesh do.
Bottombox = createinstance box width:width length:length height:thickness.
Mesh = bottombox.Mesh).
Tol create.
On mousepoint click do.
Case click of.
1: nodetm.translation = gridpoint.
2: #estop).
).
On mousemove click do.
Case click of.
2: (width = abs griddist.x*2, length = abs griddist, y*2) - Ya pude resolver el problema gracias -.
) - Acabo de corrgir este código que está arriba.
).
)--- End plugins - Saludos.v.
Les dejo este video, por fin está funcionando de maravilla ok, saludos a todos-v.