Exporting Pajek Network to Rhino - how to delete the edges and leave nodes only?

Hi Everybody
]I have transported a Network model from small programm Pajek to Rhino and it brought me this model. What I need are only the center points of these red balls. So I want to select all the red balls in the scene in order to delete all the other objects.

I would greately appreciate your advise.

Best regards,
Daniel

Hi Daniel - use SelColor for the selection part, then Invert Delete. VolumeCentroid will mark the center of the spheres but you’ll need to do them one at a time- I may have a script lying around that can help, I’ll look for it.

-Pascal

Hi pascal

Thank very much. I have done it and it worked well. But now I have another problem. I have projected the points on a cylinder and put every point on a line on a cylinder surface. The problem is that I have too many lines next to each other now. Is there any way to turn tolerability of these object to each other and merge the ones too close?

Thank again and hope to hear from you soon.

Daniel

Hi Daniel - without some sort of script, you’ll need some patience I would say- SelVolumePipe can help - set the pipe radius to the desired tolerance and set the SelectionMode to Crossing. I can make a quick script for this I think, if it is very tedious.

-Pascal

Dear pascal

Sincerely speaking this model is only a “prototype” and I will have later much more points and much more lines. If there is any possibility that you could write such a script, it would incredibly boosted my project.

I look forward your reply.

Daniel

Hmmm- well, you can try this script - I’m not saying it is the most sophisticated thing ever, but it might help - To use the script, extract and save the .rvb file from the attached zip archive, then drag and drop the saved rvb over an open Rhino v5 window. This will load the script, set it up to load on startup in the future and register the alias

LineThinner

that will run the script much like a regular command. An alias can be typed or added to a toolbar button or keyboard shortcut (F-key).

LineThinner (3).zip (724 Bytes)

-Pascal

pascal it’s just fantastic - that’s exactly what I needed. I’m sure that you saved me at least several hours of work :smile:

OK, good deal.

-Pascal

Hi Pascal

Is there any way to examine your script again, because out of a sudden it stopped working. It may be because the number of the curves rose to 1730.

It would be great if you could point where the failure lies.

Best regards,
Daniel

Hmmm - is there an error message, or does it just stall out?

-Pascal