19-02-2021, 02:49 PM
(This post was last modified: 19-02-2021, 03:07 PM by orestissar.)
Hello again and thank you for the super fast reply.
It looks like your reccomendation solved my issue.
However i still have a problem.
My goal in this small task is to stitch the 2 flags togher using script. More specifficaly i want to stitch together only the parts that overlap.
What i am doing so far is that i try to create 2 lists containing all the particle positions of the 2 flags. Then intersect these 2 lists and stitch the flags in the common particle positions.
At the moment this works only if i put one flag 100% on top of the other. Indeed the interesction list has the same length (count) as the number of vertices (289) of both flags, which is expected i
This results into all particles being 100% in same positions so the 2 flags are 100% stitched together.
If i try move one flag slightly, even though they have a lot of area overlapping, the list intersection is not detecting any common particle locations
In this case the common particles list returns 0 locations as common and a result they are not stitched.
I think again i am missing something related to the particle positions, (or maybe they are just no common particles at all?)
edit:
visualizing the particles of the 2 flags gives me this:
it looks like there should be common particles but there are none are detected.
It looks like your reccomendation solved my issue.
However i still have a problem.
My goal in this small task is to stitch the 2 flags togher using script. More specifficaly i want to stitch together only the parts that overlap.
What i am doing so far is that i try to create 2 lists containing all the particle positions of the 2 flags. Then intersect these 2 lists and stitch the flags in the common particle positions.
At the moment this works only if i put one flag 100% on top of the other. Indeed the interesction list has the same length (count) as the number of vertices (289) of both flags, which is expected i
This results into all particles being 100% in same positions so the 2 flags are 100% stitched together.
If i try move one flag slightly, even though they have a lot of area overlapping, the list intersection is not detecting any common particle locations
In this case the common particles list returns 0 locations as common and a result they are not stitched.
I think again i am missing something related to the particle positions, (or maybe they are just no common particles at all?)
edit:
visualizing the particles of the 2 flags gives me this:
it looks like there should be common particles but there are none are detected.