algorithmic modeling for Rhino
SA
I created these 2 sweep components for making sweep easier and more advanced.
You just draw your profile curve on the top view and the movement and rotation of the profile will be done automatically.
1. MSSWEEP
Inputs:
-Profile Curve - input a curve
-Rail Curve - input a curve
-Rail Start - input a number from 0 to 1
-Profile origin - input a number. 0 = center of profile ; 1 to x = midpoints ; x to y = vertices; This will decide the orientation of your profile on the rail curve
-Rotation in degrees - input a number in degrees; This will decide the rotation of your profile on the RS plane
Output:
-Sweep Brep
2. PLNSWEEP
Inputs:
-Profile Curve - input a curve
-Rail Curve - input a curve
-Rail Start - input a number from 0 to 1
-Profile origin - input a number. 0 = center of profile ; 1 to x = midpoints ; x to y = vertices; This will decide the orientation of your profile on the rail curve
-Rotation in degrees - input a number in degrees; This will decide the rotation of your profile on the RS plane
-Plane - input a plane; Choose your desired plane for the start of the Sweep. If the rail is a vertical curve, you can just use XY-plane; if it's a horizontal rail you can use YZ or XZ plane or just use the MSSWEEP component and it will create the plane for you.
Output:
-Sweep Brep
Note.
- I also added a small definition for creating thickness and cap for the sweep.
- You can always add these definitions to your library by selecting one cluster and press file-->create user Object...-->OK... and it will appear in the Extra tab
Thanks,
mahmoud@handaz.com
handaz.com
Tags:
Welcome to
Grasshopper
Added by Parametric House 1 Comment 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2026 Created by Scott Davidson.
Powered by