|On this page|
The Rails op generates surfaces by stretching cross-sections between two rails. This is similar to the Sweep SOP, but it gives more control over the orientation and scaling of the cross-sections. The first op input is the cross-section which will be replicated, and is typically placed in the XY plane. The second input op source is the rails along which the cross-section is replicated.
Click the Rails tool on the Model tab.
Select the cross-section and press Enter to confirm your selection.
You can attach multiple cross-sections to rails by selecting more than one.
Select the rails and press Enter to confirm your selection.
You can scale the cross-sections in the parameter editor or the operation controls toolbar.
The Cross-section geometry.
The Rails geometry.
Subset of cross section geometry to use.
Subset of rails geometry to use.
How the cross-section should be applied to the rails.
Sweep Along Pairs of Rails
Sweeps along rail 1 & 2, 3 & 4, 5 & 6 etc. instead of 1 & 2, 2 & 3, 3 & 4 etc.
Sweep Along First and Last Rail
Sweeps along the first and last rail.
Stretch to Rails
Stretches cross-section geometry to rails geometry.
Specifies two cross section vertices to be placed on rail1 and rail2 respectively.
The vertices used by Use Vertex.
Scales the cross section in x & y.
Rolls the cross section in z.
Tries to correct flipped normals.
Uses specified direction vector.
Direction to point cross sections.
Create Output Groups
Places created rails in a new primitive group.
Name of group to create.
In this example simple curves are taken by the Rail SOP to create a surface based upon the path they describe.
With only simple changes to the SOP’s parameters different surfaces can be created. In the end the curves are gone, but their surface remains.
The following examples include this node.