Attach statement for robot, set 1 child for 1 parent, if you need attach more than 1 child, add another attach statement. Attach statement has quiet strict requirements, child and parent must appear with the correct names, at the right time and right place. Although with these quiet strict requirements, this should be able to resolve 80% of the situations.
Maybe another approach could be to just “move down” the placed part until it collides with some other part, then attach to that. Probably not easy to implement, but it would work for such placing and stacking scenarios.
I guess that is somewhat what the “gravity direction” in robot detach action tries to emulate, but I think it doesn’t use actual geometry and the offset is a fixed amount.
That’s a cool idea, just 1 statement is needed, however, still need to set parent.
Parent’s parent is excluded in default, in this case, conveyor. Able to set collision detection tolerance and exclude names.
Just came up with another thought, I think it would be better to override set signal 1-17 out statement with attach command, or attach statement combine with set signal 1-17 out command.
Hi, could you help me please? I’m working on 4.9 premium and I have tried to import this file but nothing is happening. Do you maybe know a solution?