[Closed] how to interactive build Mesh when i change the line shape??
hello~
I want to create a script that can interactive build the Mesh follow a splineshape~.when I change the line shape (like move the knot, change the knot type…) the Mesh can change immediately .
I try this use the ‘When Constructs’ : when geomety theline changes id:#foo do (…) .but works not good~
So how to do this interactive works use Maxscript?
have you tried to create a simple geometry plugin?
If you put a reference to a shape it interactively refresh the geometry
[b]how to interactive build Mesh when i change the line shape?
[/b]to answer your question i need to know how you build the mesh using the shape.
I use “mesh vertices:<array_of_point3s> faces:<array_of_point3s> ” to build the Mesh.
Topological mesh points along the line, when I change line, mesh will interactive change.
i don’t understand why you keep hiding your code. well… never mind…
the best way that i see for you is to use:
when geomerty <shape> changes
and
when topology <shape> changes
constructs