Notifications
Clear all

[Closed] Draping a spline over a mesh

Hi guys, I got a bit of a problem I could really use a hand on. I’m going to have to appologise as I’m still relatively new in the maxscript game and am still learning. Ive been through the maxscript help files and read the how to move objects to a surface and I understand it pretty much and I get the genereal idea, however I’m trying to adapt that to moving the verts on a spline to a surface and I really have no clue.

Basicly, I have been given a heap of line markings for a job I’m working on in 2D and I have already modeled the 3D road surfaces and I really don’t want to have to attempt to do it manually.

Any help would be GREATLY appreciated,

Thanks
Luke

4 Replies

Hi!

Have you considered using a reactor rope?

~Simon~

 rdg

There is a free plugin called ‘glue tool’:
http://www.itoosoft.com/

It projects complex splines to terrains.

Georg

1 Reply
(@lukec)
Joined: 11 months ago

Posts: 0

Ah fantastic – i completely forgot about that one, thanks for that!

joconnell – yeah i had a play with that as i mentioned. I understand it but couldnt adapt it to work with verts on a spline unfortunately.

Also there’s a tutorial in the maxscript reference that makes a script called move to surface – it uses raytracing along the z axis to see where a ray hits a mesh surface so you could modify that to make the vertices of your spline move down until they hit the mesh surface. alternatively use shape merge.