Posted on Leave a comment

Spline Combiner: Handling Spline Intersections

Hi guys!

In this tutorial we’ll see how to deal with spline intersections in 3ds Max, with the help of Spline Combiner‘s Intersections Detection tool.

3ds Max lacks a ‘snap to intersections’ feature. Besides, all operations between splines (like boolean functions, trimming, etc.) require all splines to be part of the same shape. So, if you need to create new shapes from existing ones, it turns a really time-consuming and inefficient task.

Here’s when Spline Combiner comes in to make your life easier. The plugin can detect all kind of intersections between splines (between different shapes, spline subobjects and self intersections) and then perform a series of actions like placing helpers at intersections, refine the splines or break them and detach them all.

Placing helpers at intersections

Consider the following situation: you have 4 independent splines, like in the first graphic in the image above. Your goal is to get the shape inscribed between those splines (see the last graphic on the right). For that, since they are all straight lines, the easiest way would be to draw the final shape by snapping to the intersections. Spline Combiner can help us by automatically placing a point helper at each intersection. Let’s start. Prepare a similar scene in 3ds max and follow these steps:

1. Open Spline Combiner, close the first and second rollouts and open the one named Detect Intersections.

2. Select all the shapes you want to find intersections for.

3. In this case, tick only the checkbox labeled Between different shapes.

4. At Action area, select the option None. (No action is needed apart from the intersections detection)

5. At Helpers area, turn on Place helpers checkbox.

6. Then press DETECT INTERSECTIONS.

7. Voila! You now have one helper per intersection. You can change their color and size with the controls in the Helpers area.

8. Turn on 3ds Max snap tool and at the snapping options check only “Pivot“.

9. Now, with the Line tool, draw the final shape. (You can select the helpers through the Named Selection Sets dropdown list in 3dsMax and delete them if you want)

Ready! Nice, quick and simple. 🙂 Practice this method and you’ll see how faster you work this way.

Now we’ll see another method to handle a slightly more complex situation.

Refining or breaking splines at intersections

Consider the situation in the first graphic of the image above. There are 5 independent splines. Your goal is to get from them the shape in the last graphic on the right.

Spline Combiner can perform a variety of actions after detecting spline intersections. You can choose either to Refine the splines at those points, to Split (or break) them, or to break and detach them all as new objects.

So, let’s start. Prepare a scene in 3ds Max, containing something similar to the first graphic in the image and follow these steps:

1. Open Spline Combiner > Detect Intersections rollout.

2.  Select the shapes you created.

3. At Action area, check Split option and leave Detach all elements on.

4. Uncheck Place helpers if it is on. Then press DETECT INTERSECTIONS.

5. Once the plugin has finished the task, you will get many individual splines, like you see in the 2nd graphic at the image above.

6. Now just select and delete the unnecessary splines, leaving only the ones that make the final shape.

7. Since the splines are individual objects, you need now to attach them all and weld their vertices. So, go down in the plugin’s UI and open the Tools rollout. Use the corresponding tools Attach Selected and Weld Vertices to complete the task.

Ready! You have now a clean and closed final shape.

Note: If you need to make this exercise but, instead of having different individual splines, you have a single shape containig many spline subobjects and want to keep it that way, you can use the options Splines of same shape and Refine. Then work in subobject mode to delete the leftovers and weld the vertices.

That’s all for now. If you have any doubts or consultations, please post a comment down here or write us through the Contact Form.

Hope you liked it! Cheers!

Share
Posted on Leave a comment

Spline Combiner: The Basics

The following video tutorial shows the basic use of the main Spline Combiner tools.

It covers this 3 tools: Boolean Splines, Shape Cutter and Detect Intersections. Each tool has its own peculiarities but they are all very simple to use and understand.

  • Boolean Splines: Apply Union, Subtraction, and Intersection methods to multiple shapes.
  • Shape Cutter: Segment shapes with ease, creating precise cuts and breaks.
  • Intersection Detection: Automatically find and refine intersection points across splines.

The video was speeded up to make it more dynamic, but you can stop it as many times as you need to better follow the process.

Share
Posted on Leave a comment

Spline Cleaner: Quick Start Tutorial

Welcome to Spline Cleaner, a set of powerful tools for cleaning, repairing and organizing spline curves in Autodesk 3ds Max!

INSTALLATION

  1. Unzip the content of the .zip file and then drag the “.mzp” file onto one of your viewports in 3ds Max . The plugin automatically installs itself.
  2. A dialog called “Software Activation” pops-up. Enter your license key in the text field. (You received 2 license keys by email when you purchased the product).
  3. If the license key is correct, Spline Cleaner will start.
  4. To add the plugin to a toolbar, go to the Menu > Customize > Customize user interface…
  5. Go to the “Toolbars” tab and pick the category “Spline Dynamics”.
  6. The plugin’s name, “Spline Cleaner”, must be listed there. Just drag it onto a toolbar and you’re done!

SPLINES INFO DIALOG

This plugin comes with an interactive tool called the Splines Info Dialog, wich displays very useful information about the selected shapes/splines.

We strongly recommend you to keep this dialog open everytime you manipulate spline curves to have an instant feedback about their changes.

  1. Draw some splines and shapes  in your 3dsMax scene.
  2. Convert them all to Editable Spline (most of Spline Cleaner operations requiere Editable Splines to work. Otherwise you’ll get a warning message)
  3. Select the splines and open Splines Info Dialog (the topmost button).
  4. You’ll see there all the splines info: no. of shapes selected, no. of splines, segments, vertices, spline length, and more.
  5. Click the button Show/Hide Vertex Ticks to display all the spline vertices/knots.
  6. Make changes to the splines, add, delete and move vertices. Then re-select the splines or change the selection to update the splines info.

This tool can also make a diagnosis of possible errors on your splines, such as overlapping duplicates, double splines, overlapping vertices and empty shapes.

TOOLS, ROLLOUTS & QUICK HELP

If you scroll down the plugin’s interface (UI), you’ll see there are more tools and other rollouts.

The main tools are in the first rollout. In the rollout named More Tools there are some complementary tools, such as Flatten Splines.

In the rollout Basic Parameters, you will be able to change the basic parameters of all the selected splines at once. Try it!

On the right of every tool’s title there’s a question mark icon. When you place the mouse pointer over this icon, a tooltip with help appears. If you click it, in most of the cases, a dialog pops-up showing an extended help.

FIRST STEPS

To start trying the plugin, you can play arming and disarming shapes with many splines. You can do it very fast with Spline Cleaner.

Draw some shapes and splines and create some duplicates to have a bunch of curves. Use the tools Splines Info Dialog, Attach Selected, Explode and Weld Vertices to see how powerful this plugin is.

We hope you enjoyed Spline Cleaner. Check for more tutorials on this site!

Share