Have you ever been frustrated with the “End Points” component in Grashopper, because it picks both the start and the end points of a curve, so that it is hard to identify which one is which? Or by the tedious process of connecting a series of components to get a midpoint of a curve? Then keep reading.
Below are some Grasshopper User Object Components for selecting start, end, and midpoints separately, and some other simple but useful functions, followed by an instruction how to make your own User Objects.
The User Objects in this example are edited Python components containing short scripts. If you double-click on the component a new window with the Python script will appear. There, you can read the source code, and further edit the component if you want.
Useful User Objects
Category: Curve Analysis
![]()
Start point – returns the start point of a curve.
End point – returns the end point of a curve
Midpoint – returns the midpoint of a curve
Category: Curve Edit
![]()
Trim curve between two points – trims the curve at the curve closest points, and returns the curve segment between the two split points
Join curves with tolerance – joins curves with a selected tolerance. The native "Join Curves" component in Grasshopper does not let you adjust the tolerance, which sometimes results in that you cannot join curves as you want, if theie end points are are not perfectly matching
Explode by discontinuity – picks the discontinuous points on a curve and splits the curve at those points. The native grasshopper explode component follows a different logic for exploding curves
Category: Curve Graphics
- Dash a curve – dashes a curve with a particular dash length (d) and frequency (n)
How to Install Downloaded User Objects
To install the user components, open the “User Component” folder by selecting File/Special Folders/User Object Folder from the menu bar. Paste the .ghuser files there, and the objects will immediately appear in Grasshopper under the tab “OpenDDL” without needing to restart the program.
How to Make Your Own User Objects
To make your own customized user object, just have your object selected while choosing File/Create User Object from the menu bar.
コメントをするにはログインしてください。