Jump to content

Javier31

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Javier31

  • Rank
    Peon

Personal Information

  • Name
    javier

Recent Profile Visitors

186 profile views
  1. connecting points avoiding other points with same id

    Oh man this is amazing many thanks! :-) Do you mind if i ask you about this line? // int nps[] = nearpoints(0, sprintf("* ^pg%d", @gr), @P, 100, 3); i have checked sprintf in the VEX documentation and it seems to appear with just one argument sprintf(___) instead of sprintf(____,____) as you are writing. I am aware that @gr is @ptnum but can you briefly explain that a little bit? ALso.. what does "* ^pg%d" mean? Apologise for my ignorance.. really! :-) Many thanks
  2. hi there, (this is a more precise question that the one i made before) I am trying to search for the closest points with different id and then connect them :-) Basically, every single point should be able to connect with other 2 or 3 other points max but avoiding points with same id (so no connections with the points of the same curve) see attached file and screenshot of what i got so far many thanks!! :-) connecting just to other lines.hipnc
  3. hi there, I am trying to search for the closest points with different id and then connect them :-) Basically, every single point should be able to connect with other 2 or 3 other points max but avoiding points with same id (so no connections with the points of the same curve) see attached file and screenshot of what i got so far many thanks!! :-) connecting just to other lines.hipnc
  4. connecting points avoiding other points with same id

    Thanks a lot but I'm sorry i completely forgot to mention that i don't want to include in the "search" for nearest points those with same id neither if not I will always have points finding many points that have the same id and not creating any connection at all unless i increase the total amount of point to search - something I would like to keep low as 2 or 3 max per point Basically, every single point should be able to make 2 or 3 connections max with points of different id :-) cheers!
  5. Hello everyone, Hopefully, someone can help me with this one :-) I do have a bunch of particles flying upwards and creating a trail of points behind them that i connect as polylines with the trail SOP. (see attached image) Then i scatter some points on these lines. These new points inherit the id of the original particle and what i would like to to do is to use these id's to control a nearpoints function in order to connect with the nearest points except with the points that have the same id (basically i want to connect with those points that are not in the same line as the point that searches i attach a file and an screenshot of what i have so far Any help would be really appreciated! cheers!! connecting just to other lines.hipnc
×