Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Improvised on November 20, 2021, 04:50:08 AM

Title: Clipping Area Doesn't Nest When Using 2D Array
Post by: Improvised on November 20, 2021, 04:50:08 AM
I've noticed that if I try to nest generators, whatever clipping I used in the sub generator does not get transferred to the next generator up if the sub generator is a 2D array.

For example, I'm using a 2D array to build a brick pillar that has a diamond pattern knocked (clipping) out of the bricks. The clipping works fine when generating the original, single, array, but as soon as I try to generate that array with any new generator, everything shows up except for the clipped out area.

Is this simply not possible with 2D arrays currently, or am I missing something?

I have, however, noticed this is not an issue if using 1D linear generators as the sub generator.
Title: Re: Clipping Area Doesn't Nest When Using 2D Array
Post by: Paul Roberts on November 22, 2021, 12:53:07 PM
You're right, it would appear that internally the array is moved to world origin when nested, moving it outside of the clipping spline's influence.

In my tests, I could fix it by aligning the clipping spline's pivot to the world's origin (and then reset the XForm). If this doesn't work, if possible, please upload a sample file and I'll take a close look.

Thanks!
Paul
Title: Re: Clipping Area Doesn't Nest When Using 2D Array
Post by: Improvised on November 23, 2021, 06:30:33 AM
Thank you, Paul. Resetting XForms was indeed part of the solution. In addition, it would appear that in order to nest the effects of a clipped array, the RC object itself must have a zero/zed point origin (0,0,0).