Itoo Software Forum

Author Topic: Flemish Bond brick pattern  (Read 7613 times)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Flemish Bond brick pattern
« on: May 10, 2017, 01:05:14 PM »
Hi,

Help for this style was requested via a PM, but I'm posting here so that other users can benefit. Attached is a macro to create a wall with a Flemish Bond pattern. It has parameters for randomising rotation and translation of bricks - adjusting the mortar size and switching courses in case you need to stack them.



Note that this file requires the most recent RailClone 3 beta and will be included in the library of future versions. It won't work in RailClone 2.

Thanks!

Paul
Paul Roberts
iToo Software

Pictor

  • Newbie
  • *
  • Posts: 26
    • Picto Studios Ltd
Re: Flemish Bond brick pattern
« Reply #1 on: May 11, 2017, 07:03:05 PM »
Paul, thank you so much for this style/macro!

Tim

FO3538

  • Newbie
  • *
  • Posts: 30
Re: Flemish Bond brick pattern
« Reply #2 on: August 01, 2017, 11:46:35 AM »
Hey Paul,

Thanks for the macro. I am quite new with railclone and cant get my head around this problem ... which is quite common i suppose.

When I have a spline with an orthogonal corner, the wall doesnt position the bricks at the corner correctly. But it does when I slightly extned the line so the angle becomes lower than 90degrees.

Am I missing something obvious?






Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Flemish Bond brick pattern
« Reply #3 on: August 01, 2017, 12:31:15 PM »
Hi,

The macro is adjusting the padding based on whether the angle of the corner is > or < 90 degrees, which should work. I can't reproduce the issue here, but I have attached a version where I have increased the test condition to 180 degrees so that the corners are much more tolerant.

I hope that helps out, but please let me know if not.

All the best,

Paul
Paul Roberts
iToo Software

FO3538

  • Newbie
  • *
  • Posts: 30
Re: Flemish Bond brick pattern
« Reply #4 on: August 01, 2017, 01:40:38 PM »
Hello Paul,

Thanks for the fast answer!
Now I understand the purpose of the conditional operator...
My angle was of 90 degrees though, I dont really understand. It also works when I increase the angle in the conditional operator to 90,01degrees. So it must be a problem with > and >=

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #5 on: August 01, 2017, 10:29:18 PM »
Hello Paul,
That looks great, and thank you for posting it.
Is it an easy task if I want to edit this to create common running bond? (other bonds too, I suppose)

Best regards,
TL1895

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Flemish Bond brick pattern
« Reply #6 on: August 02, 2017, 10:53:51 AM »
HI,

Thanks for the kind words :) You'll actually find a running bond macro already built in to RailClone 3. It's the Generators category. If there are other bonds that you'd find useful, please let me know and I'll add macros for them within the next couple of weeks.

All the best,

Paul
« Last Edit: August 02, 2017, 01:49:13 PM by Paul Roberts »
Paul Roberts
iToo Software

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #7 on: August 02, 2017, 01:36:38 PM »
Hahaha!  I clearly didn't get a chance to see all the new features, Doh.
Thanks again
Best regards,
TL1895

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #8 on: August 02, 2017, 02:08:42 PM »
Hmmm, same problem for me...corners do not work regardless of angle.  How can I fix this, please?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Flemish Bond brick pattern
« Reply #9 on: August 02, 2017, 02:21:55 PM »
Hi,

It looks from your screen shot as though the style is not detecting the corners. It may be worth checking the vertex types. They should be either Corners or Bezier-Corners.

I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
Paul Roberts
iToo Software

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #10 on: August 02, 2017, 02:26:50 PM »
Interesting, that was the first thing I tried after moving the vertices around did nothing.  Vertex types I tried were corner and bez. corner.
I'm going to attach scene here...

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #11 on: August 02, 2017, 02:29:02 PM »
You'll also notice that the coursing falls apart after some length of wall in that scene I attached

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Flemish Bond brick pattern
« Reply #12 on: August 02, 2017, 02:36:18 PM »
Thanks for the file. I see the problem. There are a couple of changes you need to make to the segments attached to the Macro (In time I'll add tutorials for these things)

1 - The segment's Alignment > Z should be set to Center
2 - Deform > Bend  should be turned Off
3 - The X size of the 1/2 brick should be 50% of the Full brick (this is not automatic)

A couple of these I can force by updating the macro, but you'd always need to remember to turn off bend for the segments.

I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
« Last Edit: August 02, 2017, 02:37:51 PM by Paul Roberts »
Paul Roberts
iToo Software

TL1895

  • Sr. Member
  • ****
  • Posts: 396
Re: Flemish Bond brick pattern
« Reply #13 on: August 02, 2017, 02:52:28 PM »
Paul,
I didn't get to download the scene yet, but I tried to follow your instructions and was successful, think. :)
I used a transform to make the half brick...Does this look right?

Thanks again and best regards,
TL1895

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Flemish Bond brick pattern
« Reply #14 on: August 02, 2017, 03:26:25 PM »
Looks good to me! I used a transform in my scene file as well :)

Cheers!

Paul
Paul Roberts
iToo Software