Splines From Holes
Simple example of a scripted spline primitive created by picking a scene node. This one makes closed splines for all the open edges.
Installation: Copy the .ms file to your scripts\startup folder or run as a script if you want to try it out first. The object primitive will be available under Shapes -> Examples dropdown menu in the Create panel (see gif above).
Attachment | Size |
---|---|
splinesFromHoles.ms | 3.05 KB |
Comments
I thought about primitive
I thought about primitive boxy geometry used in 99% of cases in Archviz. Of course with advanced geometry things get out of control easily, no doubt.
The holes are the same as borders that you mention. Borders are universal, 'vertical' or 'horizontal' edges is something that's pretty specialized and highly dependent on the actual topology. You don't even have to look at examples like geosphere just look at any little bit complex subdivision mesh where loops and rings change directions and intertwine with each other and doing a complete selection of one set of loops and running ring selection would actually select almost all the edges in effect and not half of them.But you're free to make it work for your case.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
Awesome, thanks for for
Awesome, thanks for for sharing! I just wanted to suggest.. What about making it universal, I mean splines from
'verical' edges\ 'horizontal' edges\hard edges\borders?