"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote in message
> When using the spline macro for a circular wall, I find that the diameter
> value often gives a parse error. The message says: "Attempt to access
> unitialized array element", and refers to line 1185 of blockwall.inc.
I've uploaded a fixed version
The problem occurred when creating a long wall with a small MatrixSpacing
setting. This brought the total number of units close to the number of loops
I'd used to work out the positions used for the bottom row of blocks. From
time to time a specific length would therefore cause it to miss one of the
positions and not set the appropriate array element. The error resulted from
subsequently attempting to use that element. The likelihood of encountering
the error increased with the wall length and the inverse of the
MatrixSpacing. The fixed version varies the number of loops based on the
number of units.
Post a reply to this message