Notifications
Clear all

[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?

7 Replies

have you tried to create a simple geometry plugin?
If you put a reference to a shape it interactively refresh the geometry

Only use plugin this a way? are there any other ideas?? 🙁

[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.

1 Reply
(@easyfrog)
Joined: 11 months ago

Posts: 0

I use “mesh vertices:<array_of_point3s> faces:<array_of_point3s> ” to build the Mesh.

good for you but how is the shape involved?

2 Replies
(@easyfrog)
Joined: 11 months ago

Posts: 0

Topological mesh points along the line, when I change line, mesh will interactive change.

(@denist)
Joined: 11 months ago

Posts: 0

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