Jump to content

Connect points to lines


sparkChan

Recommended Posts

One solution could be

1)Use foreach operator to work on every sphere

2)Scatter points (You can randomize this if you want) on every sphere inside foreach.

3)Add attrb, say sortno with value == $PT inside foreach

4)After foreach, connect add sop > By Group > Add - By Attribute - sortno it will connect all the points with similar sortno value.

5)If you dont want all the points to be connected, create different groups of points on the any two (or any number of spheres you want) spheres , process these groups using foreach operator and use the add sop inside foreach to connect points with similar sortno value.

I hope this helps.

Edited by sadhu
Link to comment
Share on other sites

One solution could be

1)Use foreach operator to work on every sphere

2)Scatter points (You can randomize this if you want) on every sphere inside foreach.

3)Add attrb, say sortno with value == $PT inside foreach

4)After foreach, connect add sop > By Group > Add - By Attribute - sortno it will connect all the points with similar sortno value.

5)If you dont want all the points to be connected, create different groups of points on the any two (or any number of spheres you want) spheres , process these groups using foreach operator and use the add sop inside foreach to connect points with similar sortno value.

I hope this helps.

another solution add add SOP->polygons tab->polygon0 0-50(maximum number of points)

another way add add SOP-> polygons tab -> By Group tab -> All Points(in add parameter)

Edited by kare
Link to comment
Share on other sites

One solution could be

1)Use foreach operator to work on every sphere

2)Scatter points (You can randomize this if you want) on every sphere inside foreach.

3)Add attrb, say sortno with value == $PT inside foreach

4)After foreach, connect add sop > By Group > Add - By Attribute - sortno it will connect all the points with similar sortno value.

5)If you dont want all the points to be connected, create different groups of points on the any two (or any number of spheres you want) spheres , process these groups using foreach operator and use the add sop inside foreach to connect points with similar sortno value.

something like this with randomization in connection control and just to avoid connection between two points on the same sphere (If you have large no of points scattered)

And as Kare has pointed out , If you sort you points by z and then just use add sop > polygon > Add - Group of N points say 2 you can get similar output.

:)

post-4903-133906878341_thumb.jpg

Edited by sadhu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...