User Text - This new component lets you add, modify, or delete user text (ie. key/value pairs) from model objects. Look for this under the Rhino tab and Object Attributes category. There are three different operating modes:
Merge: When selected, the key/value pair(s) will be merged with the existing user text collection. If a key already exists in the collection, the value will be updated.
Set: When selected, all existing user text items in the collection will be removed before setting the new key/value pair(s).
Delete: When selected, any key/value pair(s) matching the input key will be removed from the user text collection
Custom Curve Display - Drawing curves in Grasshopper has always been limited. Now, you have much greater control over the look and feel of all of your curve geometry. Using the newly upgraded Model Linetype component, you can manage the line widths, taper values, dashed patterns, and cap and join styles attributes for each of your curves. Look for this new component under the Display Tab and Preview category.
ShrinkWrap - One of Rhino 8’s coolest new features is ShrinkWrap - a command which wraps most geometry types, including malformed objects or objects with self-intersections, with a valid water-tight mesh. And now, you can perform this same ShrinkWrap operation in Grasshopper. Simply connect some geometry and tweak the input parameters to achieve meshes that, among other things, are ideal for 3D printing. Look for this under the Mesh tab next to the Quad Remesh component.
Can you be more specific? If you reference some geometry which already contains user text, then those key/value pairs will show up as outputs. You add or delete pairs to that collection depending on the mode you’re in. When you bake the User a text component, that new user text collection will be added to that new object.
Ah. Right now that isn’t possible. We are working on a baking solution where it updates an existing object rather than making a copy, but it’s not quite ready. Nevertheless, we hope it’s something that will solve the issue you’re talking about.
So, would this re-baking work similarly to how Rhino Inside Revit treats Revit objects? Could I for example control the position of native Rhino object by Grasshopper without losing any of its data (named selections, texture mapping, render mesh settings etc.) or control object visibility from Grasshopper?
example of RiR component for changing object location
Jakub, These are still in development and we can add these as a feature request, but in general the relationships you are implying are better suited for a relational database (like Revit), where there are many layers of connectivity built-in from the ground up. There is a lot of potential in what is being developed but its not going to connect everything all at once.
Some feedback about this:
(+) great to have a native GH component for that!
(-) missing a “linetype scale” input, “object properties” in Rhino does have it
(-) “cap style” setting has no effect in GH
(-) “join style” setting: only “miter” works, but at “bevel” setting
(-) a continuous non-tapered line thickness can only be reached by setting both “start width” and “end width” to the same value. I would expect to just use “start width” to control the overall thickness, but that’s a minor issue
(-) “restart pattern at kinks” is not there (was “PatternBySegment” in the “fancy_curves.gha” example from here: https://mcneel.myjetbrains.com/youtrack/issue/RH-65455)
The purpose of the Model Linetype component was to wrap the native Rhino data type for Linetypes. This link doesn’t show all of the Rhino 8 attributes that are available for linetypes, but scale is not an attribute for this class. The linetype scale property that you’re referring to is currently in the Object Attributes (not the linetype class itself). I need to have some internal discussions about this and where this property resides… but yes, I think we should be able to add this.
This is a known issue and I have filed a YouTrack item for this.
You should be able to control the linewidth if it has no taper simply by using the Start Width and no other values (see below from your example). Alternatively, I made it so that you can also just add a number slider to the Custom Curve Display component instead of a Linetype and it will just make a continuous linewidth of that size… so you could do that as well.
Ok. I’ve brought this up to Steve (who wrote most of the code for this) and this issue is now on his list. That said, I don’t think we’ll need to have new input parameter on the model linetype component, as I think it should match the V7 output automatically.
Secondly, I misspoke earlier about the Linetype Scale. It’s already available, I had just forgotten that I had already added it As I said earlier, the Linetype Scale property doesn’t exist on the Linetype class… instead it exists as part of the Object Attributes. As such, you have to set that parameter in the Drafting Attributes, which then get assigned to the object itself. Have a look at this example.
Also, the only thing the Linetype Scale is doing is adding a multiplier to the pattern segment values. So, you could also simply multiply the segment patterns when passing those into the Model Linetype component to achieve the same result. Hopefully this makes sense.
Not at the moment (although it could possibly be made to do so). If you wanted it to work with the Custom Curve Display, I would recommend just multiplying the pattern segments before assigning it to the Model Linetype… as this achieves the same result.