Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Paul Roberts on May 10, 2017, 01:05:14 PM

Title: Flemish Bond brick pattern
Post by: Paul Roberts 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
Title: Re: Flemish Bond brick pattern
Post by: Pictor on May 11, 2017, 07:03:05 PM
Paul, thank you so much for this style/macro!

Tim
Title: Re: Flemish Bond brick pattern
Post by: FO3538 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?

(https://image.ibb.co/nfDf5Q/straight_corner.jpg)

(https://image.ibb.co/eUt2Kk/extended_corner.jpg)

Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts 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
Title: Re: Flemish Bond brick pattern
Post by: FO3538 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 >=
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts 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
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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?
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts 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
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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...
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts 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
Title: Re: Flemish Bond brick pattern
Post by: TL1895 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
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts on August 02, 2017, 03:26:25 PM
Looks good to me! I used a transform in my scene file as well :)

Cheers!

Paul
Title: Re: Flemish Bond brick pattern
Post by: TL1895 on August 02, 2017, 03:57:38 PM
Thanks again Paul;  I've been hoping for this capability for some time now :)
edit: (of course others have wished, too)
Title: Re: Flemish Bond brick pattern
Post by: BI1654 on September 06, 2017, 04:28:31 PM
Hi, am also having trouble with one of the macros.
Using the running bond macro, beleive I've set it up correctly but for some reason the bricks "drift" over the length which also then makes the corners wrong
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts on September 06, 2017, 04:35:12 PM
Hi!

Please check this post: https://forum.itoosoft.com/railclone-pro-(*)/flemish-bond-brick-pattern/msg18381/#msg18381

There are a couple of things to consider when using this style.

Cheers,

Paul
Title: Re: Flemish Bond brick pattern
Post by: TL1895 on September 06, 2017, 05:36:54 PM
https://forum.itoosoft.com/railclone-pro-(*)/flemish-bond-brick-pattern/msg18381/#msg18381 (https://forum.itoosoft.com/railclone-pro-(*)/flemish-bond-brick-pattern/msg18381/#msg18381)
Title: Re: Flemish Bond brick pattern
Post by: BI1654 on September 06, 2017, 05:38:17 PM
Hi!

Please check this post: https://forum.itoosoft.com/railclone-pro-(*)/flemish-bond-brick-pattern/msg18381/#msg18381

There are a couple of things to consider when using this style.

Cheers,

Paul

Are you referring to this:

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)

Yep, already checked these after I saw that post and made these changes before posting (max file is on the post). Anything else to do?
Title: Re: Flemish Bond brick pattern
Post by: BI1654 on September 06, 2017, 05:40:13 PM
If I break the corners, then the bricks stay consistent. But obviously then you lose the corner interlock.
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts on September 06, 2017, 06:14:07 PM
I can see the issue. This macro is for creating a standard brick wall, which expects the bricks to be half as deep as they are long. It's the depth of the brick that creates the step at the corners. Because this bricks are very thin (more like cladding) the style doesn't work.

Please find attached a sample file that shows a way this could be done with bricks with any ratio of side lengths.

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

Many Thanks,

Paul
Title: Re: Flemish Bond brick pattern
Post by: BI1654 on September 06, 2017, 06:26:47 PM
I can see the issue. This macro is for creating a standard brick wall, which expects the bricks to be half as deep as they are long. It's the depth of the brick that creates the step at the corners. Because this bricks are very thin (more like cladding) the style doesn't work.

Please find attached a sample file that shows a way this could be done with bricks with any ratio of side lengths.

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

Many Thanks,

Paul

I see. Think this is the wrong file though, might be the original max?
Title: Re: Flemish Bond brick pattern
Post by: Paul Roberts on September 06, 2017, 06:36:50 PM
Oops! You're right. Here a second try
Title: Re: Flemish Bond brick pattern
Post by: BI1654 on September 06, 2017, 06:46:50 PM
Oops! You're right. Here a second try

Awesome, thankyou
Title: Re: Flemish Bond brick pattern
Post by: PB4262 on November 17, 2017, 10:04:18 AM
Hi Paul,

Thanks for your help so far. I was wondering if you could help with an issue i was having with the running bond macro. I have successfully created the brick pattern and have been trying to create a "double brick" veneer wall (i.e. 2 bricks deep) but i keep getting intersecting geometry on the ends. Is there a collision option with the macro that i can add? it would also help with the curved areas as it creates overlapping also.
Title: Re: Flemish Bond brick pattern
Post by: Cristero on February 24, 2018, 11:29:07 AM
Hi Paul,
thank for providing this style. Sorry for the easy question but I'm new to RC. How do you add a material ID randomizer to the style?
Thanks.