Rhino doesn’t return a max distance value from the curve to a line, I don’t know why. I have a wrapper method to handle this, but the component wasn’t always using it.
Note that if the polyline boolean input is true, there won’t be any arcs as a rhinocommon polyline is returned (ie all linear segments). Out of interest, what is the usecase that you want an arc dominated polycurve? We are doing some more advance developments for Infrastructure BIM with more advanced curve definitions (ie alignment or linear positioning curves formed of horizontal and vertical definitions with transition segments). This might or might not be relevant.
@jonm Thanks a lot for the BullAnt update!! However, I am a Rhino 5 user, I wonder if you can provide a Rhino 5 version of your update?
To answer your question on the purpose of the arc dominated polycurve. This curve here is related to a long ridge steel member of a project, so the arc conversion is purposed to appropriate constructabilty and fabrication. For the advance BIM definition, am I right to interpret that you are referring to a more detailed level of parametricising the joints between each arc segment? If thats the case it might very much be relevant to this project!
The use case makes a lot of sense, and was the motivation to create this routine. We certainly have tools to help generate BIM from Rhino/Grasshopper inputs. In particular members to Revit. If you want to detail the joints, this is also possible (but typically done with an application such as Tekla as Revit functionality for this is primitive, although we should have a look if there is better API support in recent builds). Get in touch if you’d like to discuss.
I sent Dale the gh script with internalized curve, but note the original post had the .3dm file.
Apologies for the late reply, it was Independence Day Long weekend over here. Thank you very much for the program update, the GG component worked perfectly!
The BIM from Rhino/Grasshopper inputs would certainly be a direction that I would be interested in, I wonder if you could provide more information? A website perhaps, let me know if you would like me to DM you?
Thanks again for following up with my question @dale !