Itoo Software Forum

Author Topic: array 2s offset outside  (Read 1176 times)

funk24

  • Newbie
  • *
  • Posts: 15
array 2s offset outside
« on: August 15, 2014, 11:40:28 AM »
hello

array 2s offset outside, problem in left corner.
see attachmend.

is there a solution?


greeting
funk24

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1551
Re: array 2s offset outside
« Reply #1 on: August 15, 2014, 01:16:10 PM »
Hi,

The issue is that the left side segment needs to have Slice switched off to extend beyond the clipping spline, but then because it also isn't sliced by the top row this causes it to overlap with the corner segment. Unfortunately it's not possible for that segment to be sliced by the top row but not by the clipping paths.

Will the style always be square? If so you could use (and export) the array's X/Y dimensions instead of using a clipping path.



You might also be interested in the expand property (A2S Generator > Properties > General > Clipping Area > Expand), which lets you enlarge the boundaries without having to adjust all the segment's individual padding values. This won't solve the overlap issue but can save some time setting up this kind of style.


As another alternative I've attached a file that avoids slicing any segments. To do this I've used YSplineLength to extract the Y height of the array, then divided it by the height of an individual segment to determine how many whole segments will fit into the array.  YSplineLength is then divided again by this number to determine a new height for the segments that will allow to fill the height without need any slicing. The mode has been changed to Adaptive so that no slicing occurs on the X axis



I hope that helps,

Many thanks,

Paul
Paul Roberts
iToo Software

funk24

  • Newbie
  • *
  • Posts: 15
Re: array 2s offset outside
« Reply #2 on: August 15, 2014, 03:43:45 PM »
Thanks for the answer.

I need a constant distance.
I can outline the line but it would be easier if I could make that in railclone2.
enlarge the area  6cm.

greetings
funk24


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1551
Re: array 2s offset outside
« Reply #3 on: August 18, 2014, 03:01:41 PM »
Hi,

The attached file combines your original technique of using padding to offset the sides by 6 units, and the technique for avoiding sliced segments on the Y axis. In this case I've added twice the offset value to YSegmentLength to compensate for the padding.

Thanks.

Paul
Paul Roberts
iToo Software