Hey @pastrana, I ran into a brick wall with some fonts and tried the WIP. Elmo on curves is pretty awesome, but the polycurve/kinky workflow has some issues. Here are a couple of thoughts after spending yesterday afternoon with Elmo:
1/2 is a line (degree one with two control points), 3/4 is a single-span degree three curve, etc.
Please make PointCount a default option, i.e., GetOption.AcceptNumber(min, max);. It’s tedious to constantly switch from mouse to KB.
PointCount should work more like _RebuildCrvNonUniform, splitting into a RequestedTolerance, MaxPointCount, and MaxDegree (1/2 stays 1/2):
The command starts with the previous total PointCount, which is arbitrary. What’s necessary for a polycurve with 15 segments is overkill for one with two segments:
If we can’t have RequestedTolerance, could we at least switch PointCount to MaxPointCount per segment?
PointCount=50 is meaningless over 15 segments. After the command finishes, _What tells me the segments range from 3/4 to 3/7, but I’m in the dark while the command is running (the preview with overlapping sets of CPs are impossible to count):
A MaxPointCount=5 Deg=3 would tell me I have at most two spans per segment.
It appears to allocate the 'PointCount` based on the segment with the most deviation, but it also increases the complexity of segments (1/2 and 2/3) that don’t require any refinement.
Many times is good to keep just the straight segments on, block the curved segments, and use _BlendCrv to create good transitions, and _EndBulge for further adjustments.
I also use some temporal lines to create clean blends with history.
VSR had a good workflow for this kind of processes, anyway Elmo is great! I would love to have a dedicated panel with sliders too.
Yes. Combine this with _Joincopy, and you can preserve those segments and the _BlendCrv history while using the combined polycurve as input to another command.
Has this case been closed? A few enhancements would be great:
Allow for multiple curve input
Since it would not make much sense to have the PointCount fixed for many curves with different length, could there be a lenght-dependent PointCount option, please?
Or, better, some maximum deviation param?
My use case are topo height lines.
Before:
After elmofication:
It’s tedious to have to go through all lines one-by-one, and estimate the point count.
Anyway, Elmo is of great help here! Precision is not important, since I’m doint this for graphical reasons only.
It would be nice if _Elmo could display point and degree count for the input curve like the default _Rebuild command does, as well as the resulting span count.
That looks like a bug, Charles – Elmo detects the kink, but does not know what to do with it. This seems to be the case when there is only 1 kink in a closed curve.
Regarding the waviness: activating the SplitAtKinks and CurvatureDiscontinuities would insert a kink where the straight segments transition into an arch. That would help removing the waviness in the straight segments you mention. However, CurvatureDiscontinuities detection is only available for curves with degree > 2, not on polylines. Elmo would need to be extended to support polylines for this type of job.
Could this command please be added to the “New in V9” toolbar for the next WIP? I keep forgetting the name and keep having to search this forum for it.
(Also, it’s a long thread but has there been any comment whether this will be applied to rebuilding of surfaces in the future too?)
yes, certainly. Keep in mind that all that is in Grasshopper is there because it was added to RhinoCommon. So anything that is available in there is in principle available in Grasshopper as well. Elmo is an enhancement to Rebuild. Rebuild is in RhinoCommon
In the latest wip Elmo is missing pretty polygon and the deviation is showing incorrectly for me (it’s reporting 24mm but is actually 1.3mm when measured by CrvDeviation after the rebuild.
Thanks for trying the latest WIP - can you please share a 3dm file with the curve you were rebuilding, the rebuilt result from Elmo and the command parameters you used to get the result.