Jump to content

remove geometry intersection


Recommended Posts

Hey guys

i was wondering im coping geometry and the geometry is intersecting 

im traying  to solve this with the intersectionanalysis sop that  yields a primitive number


so i want  to delete the connected geometry that the intersectionanalysis sop said theres interesection

i connected the copy to a wrangle  and the second  the first input is the copy the second  is from the intersectionanalysis sop 

im having truble with the vex code , i suck at it


the copy sop yields group outputs so i thought to take an advatege out of it 


so my code looks like this now 


int list =  point(1,"test" ,@ptnum);


string groups[]  = detailintrinsic(0, 'primitivegroups');
foreach (string g; groups) {
    if (inprimgroup(0,g,@primnum)>1) {


list is the second of the numbers  from the array that  intersectionanalysis sop yields

its not the whole of the array because i think i dont need all of it 

to be honest im really lost

and one knows the solution




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.

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...