Jump to content
jeanmarc

Nested foreach SOP with copy problem

Recommended Posts

Hi, I have a problem with nested FOREACH SOP, something is strangely wrong but i am becomming crazy right now to find why ;-)

the resulting object from this loops is strangely translated, i have made this snapshot with in-between transform values to show immediately the problem: (dont see where i can put pics inside the forum)

https://goo.gl/photos/sZDiFBKFrPHJL4QL8

any idea?

Thanks!

fake_extrude_on_each_line02.hipnc

Share this post


Link to post
Share on other sites

Hello Dears,

I think i am not far from something,

but i still have a problem with the nested foreach that bring the facet to the copy sop,

It is ok when i use only one iteration in this loop, kind of degug way to see it could work ;-)

may be its clearer with pics...

nested_copy00.JPG

leaving maxiteration as default should work but it copies only the first face on all the template points...

nested_copy01.JPG

as you can see here with maxiteration at a certain value will copy this face id on all the points, so one is correct...

nested_copy02.JPG

maybe i should write some expression in this maxiteration attribut? 

i have attached the file if someone wants to see.

Thank you

fake_extrude_on_each_line03.hipnc

Edited by jeanmarc

Share this post


Link to post
Share on other sites

I can't look at your file, but I suggest you try the actual subnet. It's much more stable in my experience

 

Don't forget to have an unique iteration name with each foreach subnet, otherwise it will likely break

 

 

Share this post


Link to post
Share on other sites

Thank you so much Tomas!

Great solution and much more smart and simple.

i learn a lot looking at your file.

Cheers,

Jean-Marc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×