Itoo Software Forum

Author Topic: 45 degrees planked wall  (Read 5873 times)

LightSyndrome

  • Newbie
  • *
  • Posts: 27
45 degrees planked wall
« on: March 07, 2014, 03:44:15 PM »
I've been watching the excellent tutorials rail clone to be learning to use this powerful tool.
But I've dealt with the creation of pleated walls but with 45 degree angles. In the same way as a pleated or parquet wood floor but on the walls is created.

For the pleated is positioned at 45 degrees? by vertically understand how it works, as in row type parquet. But remaining in angles where 45 is run out techniques.


What would be the formula or to create this?

Has anyone tried it?

Thanks for the replies



« Last Edit: March 07, 2014, 05:02:15 PM by Paul Roberts »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: 5 degrees planked wall
« Reply #1 on: March 07, 2014, 04:55:29 PM »
Hi there,

That's an interesting situation - I've been able to solve it using two RailClone objects, one nested inside the other.

RailClone object 1 (nested)


In the first object create a single strip of planks using a single linear generator. The start and end have an angle so that the strips will fit together correctly when rotated 90 degrees, In addition the ends are randomly selected from planks of different lengths to achieve some interesting offsets in the final wall. If you wanted to randomise material IDs I'd add that here too (not pictured).

RailClone object 2



The previous RailClone object is now nested inside a new RailClone object by selecting it as a segment, rotate on Z axis by 45 degrees and make sure the "nest" option is turned on in the segment's properties to randomise the railclone object each time it appears. This is mirrored on the XY axes and plugged into a sequence operator so that we have an alternating pattern. To close up the gaps adjust the top and left/right padding for the segment. I've imagined that I'd want to adjust the length of RailClone object 1 (which would affect the top padding of RailClone object 2!) so with a little bit of trig we can automate that process. As long as the Strip length Numeric operator's in both RailClone objects are the same, this little expression should automatically return the correct top padding. This step isn't necessary if you don't mind adjusting the padding manually. The "+1.9" is to compensate for the width of the plank.

You may also need to adjust the Expand value depending on length so I've exported it for easy access.

Both RailClone objects and the spline were created on the XY plane then rotated into place.

Please find the file attached to help clarify the above. If I can work out a more elegant solution that uses a single RailClone object I'll post it here.

Hope that helps,

Thanks.

Paul
Paul Roberts
iToo Software

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: 45 degrees planked wall
« Reply #2 on: March 07, 2014, 05:15:00 PM »
Apologies, last scene files used the quad chamfer modifier. I removed it in this version.
Paul Roberts
iToo Software

LightSyndrome

  • Newbie
  • *
  • Posts: 27
Re: 45 degrees planked wall
« Reply #3 on: March 08, 2014, 08:18:31 PM »
OMG!

You are genius!!!! THZ A LOT!

 :o 8)



LightSyndrome

  • Newbie
  • *
  • Posts: 27
Re: 45 degrees planked wall
« Reply #4 on: March 09, 2014, 02:31:17 PM »
Concerning mathematical formulas, as I can learn from this to create or write formulas?

Is there any guide or rather that I have to study to understand this form of design?

regards

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: 45 degrees planked wall
« Reply #5 on: March 09, 2014, 03:24:24 PM »
Hi,

We don't currently have any tutorials specifically on writing expressions for RailClone, and they are a relatively new addition, but you'll see them used more in a few upcoming tutorials  ;). I'll add a request for more specific tutorials focused on expressions to our wishlist.

Thanks,

Paul
Paul Roberts
iToo Software