Mesh+ workaround for m+Rings

I need the functionality of the m+Rings component of the Mesh+ plugin.

The goal is to extract the following lines (green) out of the attached mesh:

mesh.3dm (167.6 KB)

This can be achieved using the m+Rings component of Mesh+. However this plugin currently only works in Windows. Any other ideas how this can be achieved? Or to formulate the sub-question: How can one retrieve the topological distance of one vertex to another?

@DavidMans any ideas?

Thanks!

1 Like

It looks like WarpWeft could work there. You could then join them and sort the warp curves by where they meet one of the weft curves if you need them ordered.

1 Like

good point , that’s what I tried at first. But it does not seem to work here:

ah yes, I see those triangle fans make it impossible. It works for the rest

Also - Isn’t all of Mesh+ user objects? I’m curious why it doesn’t run on Mac.
(edit - I think I figured out why - it looks like many of the M+ objects contain VB scripts, which have a few issues on Mac as mentioned here. Converting them to C# would probably avoid these problems. There are some automated converters like this which will do the bulk of the conversion, though they usually need a bit of manual fixing too for stuff like case-sensitivity)

Awesome, that’s a great workaround! Thank you

The debug message usually shows the following:

Error (BC30451): 'ubound' is not declared. It may be inaccessible due to its protection level. (line 107)

Tried the converter, but it gives me a ton of errors, when pasting the Mesh+ code there… error messages I don’t understand currently tbh. But thank you for the suggestion!

Hey Rudi,
Really late replying to this…
Here is a c# implementation.
M+3 (whenever it gets finished) will be a single gha library and should be mac compatible.
cSharp.zip (8.4 KB)

Hey @DavidMans, thank you very much for your C# implementation, and sorry for my late reply! Any news on M+3? There are some amazing functionalities in M+3, that I would love to be able to use on Rhino macOS!

Cheers, Rudi

Its getting close. Im down to 10 components then bug testing. Hope to release a buggy alpha very soon.

3 Likes

Awesome! Much success for the remaining components then, looking forward!

Cheers