ScriptSpot

Script

Splines From Holes

By Swordslayer · Credited author: Vojtech Cada · 2020-10-29

Version
0.02a
Version requirement
3DS Max 2017.1
Votes
6
Description

Simple example of a scripted spline primitive created by picking a scene node. This one makes closed splines for all the open edges.

Spline Borders

Additional Info

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

Attachments

Tags: border, spline primitive

Comments (3)

1rv · 2020-10-31

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.

1rv · 2020-10-30

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?

Swordslayer · 2020-10-30

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.