How do you access the user’s current setting for splitting creased surfaces in RhinoCommon? In Rhino.NET, this was RhUtil.RhinoApp().AppSettings().GeneralSettings().m_bSplitCreasedSurfaces, but I cannot seem to find this setting in the RhinoCommon library. Thanks!
Thanks, Clement, but this seems to only enact a split and is not a get/set on the user’s current setting. I’m looking specifically for the user’s application setting.
I do not think the global CreaseSplitting setting is exposed yet, at least i cannot find it
But it may be vague to rely on it since the affected commands can override it using the SplitAtTangents command options. These can be found in the registry if this helps for the respective command under:
Hey @dale, i think this is related to what i need, which is a “SplitAtTangents” option (as with the Rhino-command) when using Brep.CreateFromLoft().
I am lofting two identical closed polycurves consisting of 60 segments each, that can be lines or arcs, and i need a resulting brep consisting of 60 surface segments. Hovewer, the loft result always consists of less than that, some surfaces are combined.
Your link is not working anymore, but i assume this is the new version:
The linked page is still rather undocumented, but from what i can see, the AddBrep() method appears to have an option “splitKinkySurfaces”. However, i am still getting these combined surfaces.
Is there anything i can do but loft each curve-segment individually and combine the surface segments later on?