Cinema 4D Toolkit
by cgshortcuts.com
by cgshortcuts.com
SplineGen Settings Guide
Trace an object's outline from the current view, round off chosen corners, and grow it into offset copies or concentric rings ready to extrude.
How SplineGen works
- SplineGen is a spline generator. Every spline you put under it (a drawn spline, a Rectangle, a Circle, a Text spline...) is an input.
- It runs each input through Chamfer, then Offset, then the Effectors, and outputs one linear spline.
- Because the output is a spline, SplineGen can go straight under an Extrude, Sweep or Loft. In Rings mode every ring is a closed band with its hole, so an Extrude gives you solid walls with even gaps between them.
- Run the SplineGen command with a spline selected and SplineGen takes the spline's place, with the spline as its child. With any other object selected, SplineGen links it as the Object. Set up your view, then press Generate Outline from Object.
Recreating the "offset rings" look.
- Generate an outline (or drop in any closed spline), set Mode to Rings, Direction to Out and turn on Include Source Shape.
- Set Thickness and Gap, then put SplineGen under an Extrude.
- For stepped depths, add a Plain or Step effector with Position Z to the Effectors list.
Outline
| Object | The object to outline. Anything with polygons works: primitives, generators, deformed meshes, Cloners and whole groups. SplineGen reads what Cinema 4D has already built, so the object must be visible in the viewport. |
|---|---|
| Generate Outline from Object | Traces the object's silhouette as seen from the active viewport camera, and adds it as a child spline called SplineGen Outline. The outline lies on a plane through the object's centre, facing the camera, at the object's real size. The outline is captured once when you press the button. Moving the camera later does not change it, so press the button again to update it. |
| Resolution | Size of the grid the silhouette is traced on, in pixels across the object's longest side. Higher catches thinner details but takes longer. 1024 suits most objects. |
| Simplify (px) | How far the outline may stray from the traced pixels, in grid pixels. Straight edges collapse to two points, and corners snap back onto the mesh's own projected points, so hard-edged models keep crisp corners. Raise it for fewer points, lower it to follow fine curves. |
| Include Holes | Also traces holes you can see through (a ring, a window frame). Off keeps only the outer outline. |
| Align Generator to View | Turns SplineGen itself to face the camera, so the outline sits in SplineGen's own XY plane and an Extrude pushes straight toward the camera. Other children keep their place in the scene. |
| Replace Previous Outline | Deletes the outline the button made last time before adding the new one. Other child splines are never touched. Turn it off to collect outlines from several angles. |
| Auto-Size Settings | On by default. Each time you generate an outline, Thickness, Gap, Thickness Step and the chamfer Radius are set to suit its size (Thickness and Gap become 4% of the outline's shorter side), and Offset and Gap Step go back to 0. Without it, a tiny object (a 1 cm model) gets rings ten times its own size from the 10 cm defaults, and they end up far outside the view. Turn it off to keep your own values when you regenerate. |
| Help: Settings Guide | Opens this page in your browser. Right-click any setting and choose Show Help to jump to that setting. |
Creases
Splits the object in the Object field (Outline tab) into clean parts along its folds, and draws one line along each border: the neck between head and body, around the beak, around each wing and each eye. The lines lie on the surface in 3D and close around each part, so they work as remesh flow guides and as a map for edge loops and UV seams. It is built for dense, noisy meshes such as AI-generated models, where no single edge is sharp enough to find a crease.
How it works.
- It compares the mesh with a smoothed copy of itself to measure how deep every fold is.
- The flattest areas seed the parts, and each part grows outward until it meets its neighbour at the bottom of the fold between them (a watershed). Tiny parts and borders across shallow folds are merged away.
- The lines are added as children called SplineGen Creases and pass through SplineGen unchanged: chamfer, offset and effectors only work on flat splines, so they skip these.
| Live Preview | Draws the crease lines in the viewport (orange) and updates them as you change the settings below, without adding anything to the scene. Off by default, because the first search on a dense mesh takes a few seconds. The search runs in the background: changing Smooth Lines or Min Length updates almost at once, while Fold Strength, Min Part Size, Find and Crease Width take a few seconds on a large mesh. Generate Crease Splines uses the finished preview, so it is instant. Disabling the SplineGen (the green tick in the Object Manager) hides the preview and stops any search in progress; enabling it again shows the last preview straight away. |
|---|---|
| Find | Valleys splits along folds that go in (necks, where a wing meets the body, the base of a beak); this is what most models need. Ridges splits along folds that stick out (rims, lips). Both (the default) runs the two searches separately and keeps the lines from each. Strong folds that end inside a part, such as the inside of a mouth or a short wrinkle, are added as open lines. |
| Crease Width | How wide a fold has to be to count. Small values react to fine detail, large values only to the big shapes. 0 uses 2.5% of the object's size. |
| Fold Strength | How deep a fold must be to keep a border. A border whose fold is shallower than this share of the surface is removed and the two parts become one. Raise it for fewer, bolder parts; lower it to split along softer folds. |
| Min Part Size | The smallest part kept, as a share of the surface. Smaller parts merge into their neighbour. Lower it to keep small islands such as eyes; raise it to drop them. |
| Min Length | Border lines shorter than this are dropped. 0 uses 3% of the object's size. |
| Smooth Lines | Relaxes each line so it follows the fold without the mesh's stair-steps. 0 keeps the raw mesh edges. |
| Generate Crease Splines | Splits the object and adds the border lines. Replace Previous Outline (Outline tab) also controls whether earlier crease splines are replaced. Large meshes take a few seconds: a 500,000-triangle model takes about 8. |
Chamfer
| Chamfer | Rounds or cuts the chosen corners of every input spline before it is offset. |
|---|---|
| Radius | Radius of the rounded corner. A corner whose edges are too short for the radius is rounded as far as fits (up to the middle of each edge), so neighbouring corners never overlap. |
| Segments | Number of extra points across each rounded corner. 0 cuts the corner flat (a true chamfer). |
| Points | Which corners to chamfer: All Corners (picked by angle), Point Numbers (typed list), or Point Selection Tag (a point selection on the child spline). |
| Corner Angle | All Corners only: a point counts as a corner when the spline turns by at least this angle there. Keeps smooth curves from being chamfered. |
| Point Numbers | Point indices separated by commas, with ranges: 0, 3, 5-8. They are the numbers Cinema 4D shows in the Structure Manager. On curved splines each number picks the curve point nearest that control point. |
| Tag Name | Point Selection Tag only: the name of the selection tag on the child spline. Leave it empty to use the first point selection tag. |
Offset
| Mode | Off outputs the inputs as they are (after chamfering). Offset Spline moves the spline in or out. Rings makes concentric closed bands with a set thickness. Lines makes concentric single-line copies. |
|---|---|
| Offset | Distance the spline is moved out (positive) or in (negative). In Rings and Lines it shifts where the copies start. Holes in a shape move the opposite way, so the shape always grows or shrinks as a whole. |
| Corner Join | How corners are filled when a spline grows: Sharp (Miter) keeps them pointed, Round rounds them by the offset distance, Bevel cuts them flat. |
| Miter Limit | Sharp only: the longest a corner tip may get, as a multiple of the offset. Very sharp corners are squared off past it instead of spiking out. |
| Round Segments | Round only: points on each rounded corner. |
Copies (Rings and Lines)
| Count | How many rings or lines to make (per direction with Both). |
|---|---|
| Direction | Out grows copies outward, In shrinks them inward until the shape runs out, Both does both. |
| Include Source Shape | Rings: also outputs a solid centre piece. Out keeps the source shape (like the cross in the middle of the rings). In and Both keep what is left in the middle. Lines: also outputs the source line. |
| Thickness / Spacing | Rings: the width of each band. Lines: the distance between neighbouring lines. |
| Gap | Rings only: the space between bands, and between the centre piece and the first band. |
| Thickness Growth | Constant keeps every copy the same, which suits extruded walls. Add per Copy adds Thickness Step for each copy further from the source. Multiply per Copy multiplies by Thickness Scale for each copy. Use a negative step or a scale under 1 to make copies get thinner. |
| Thickness Step | Add per Copy only: the change in thickness from one copy to the next. |
| Thickness Scale | Multiply per Copy only: the factor from one copy to the next. |
| Gap Step | Rings with growth on: the change in gap from one copy to the next. |
Effectors
| Effectors | Drag MoGraph effectors here. Every output piece (the centre shape, each ring, each line) works like a clone, numbered from the source outward. Each effector's Strength, Fields and Position / Scale / Rotation parameters move the piece about its own centre, in SplineGen's axes. Random varies each piece by its seed. Step ramps from the first piece to the last. Every other effector (Plain, Shader, Delay, Formula...) applies its parameters with its strength and fields. A field's value is averaged over each piece's points, so a Spherical field affects inner rings more than outer ones. |
|---|
Good to know
- The output is a linear spline. Curves are sampled with the input spline's own Intermediate Points settings, so raise those for smoother offsets.
- Shrinking a shape removes edges that collapse. A shape that would split into two separate pieces (a dumbbell pinched in the middle) stays one piece, so keep inward offsets moderate on such shapes.
- Effectors move, scale and rotate whole pieces. They do not change ring thickness or gaps.
- Splines that are not flat are offset in their best-fit plane.