Mesh Surface
Creates surface defined by four splines. The order of picking the splines matters - they should form a closed loop. If you get a weird looking mesh, try once again starting with another of the four splines:
Note that if any of the splines are animated, the resulting mesh is animated, too.
Installation:
Copy the .ms file to your scripts\startup folder or run as a script if you only want to try it out. The object primitive will be available under Examples in the Create panel.
There's also an additional .mcr file - after you've installed the .ms file, it's enough to run the .mcr file once. It creates a Make Surface From Selection item in the Shortcuts category under Customize UI, which you can then add to a quadmenu or assign a shortcut to it (that's what I'm showing in the preview gif). To use it, select the four individual splines in a circular manner (counter-clockwise is preffered but will work with either - you can always flip normals) and press the button/keyboard shortcut.
Attachment | Size |
---|---|
meshSurface.ms | 6.38 KB |
meshSurfaceFromSelection.mcr | 558 bytes |
Comments
I want to Help for Mesh Surface script Install
Its must be helpful tools, but i couldn't installed it, i have used 3d max 13,
error using script
thanks it worked
it would be great if it worked with more than 4 splines but nonetheless its great script helped my work very much thanks again
Both files are needed
The meshSurface.ms file must be installed first, the macroscript is just the shortcut to use that, nothing else. That means, copy the file to your scripts/startup folder (so that it will work out of the box after starting a new max instance) - and if you want to avoid having to restart max for it to take effect, run the .ms script once. After that, the macroscript will work as expected.
If you are unsure where to find the scripts/startup folder, run this command in maxscript listener:
shellLaunch (getdir #scripts + "\Startup") ""
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
error using script
hi sword slayer thanks for the reply ,i hope this is what you ewre asking thanks.
-- Error occurred in anonymous codeblock; filename: C:\Users\viki\AppData\Local\Autodesk\3dsMaxDesign\2015 - 64bit\ENU\usermacros\Shortcuts-meshSurfaceFromSelection.mcr; position: 255; line: 8
-- Frame:
-- meshSurface: undefined
>> MAXScript MacroScript Error Exception:
-- Type error: Call needs function or class, got: undefined <<
Have a screenshot?
I'd need the full stack trace to tell you what's wrong, what function, what are the values etc.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
error using script
hi swordslayer,
my first post so please bear with me, when i use script it gave me this error (class needs function got undefined ).i dont know what a am doing wrong. please help me and thanks for your wonderful script.
...+1
Another amazing tool. Thanks for sharing this.
Cheers!
bga
Thanks
Thanks