Itoo Software Forum

Author Topic: corner in Array 2S closed spline and roof issues.  (Read 526 times)

OJ3358

  • Newbie
  • *
  • Posts: 11
corner in Array 2S closed spline and roof issues.
« on: February 21, 2018, 08:27:25 PM »
Hello !

I am really enjoying Railclone so far, and I wanted to go further in my learning by creating a complete structure. But I have some issues for the roof.
I want to do a japanese temple roof, which is a curved one.
If I use a surface and a spline for the clipping area, I have multiple problem (elements crushing each others, and the surface projection creating a space between the elements. (image n°1)

So I figured out that I should just use two splines which worked only if the spline is the exterior of the roof (image n°2) do you know what to do to make it work if it's the other spline ? (if the array start at the top). I will still use the bottom spline I think, but for personnal knowledge I would love to know why there are those gaps in the corner (and not all of them, as you can see).

Then I realized that, because the spline is closed, I can't have corners, is there a way to prevent that ? (I can't break the spline because if I do so, it won't slice the elements anymore).
Maybe I am all wrong, that's why I expose those different phases of constructing the roof. If you have any idea on what are the problem with my scene, there it is with those different tests.

Best regards,
Cyril

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1548
Re: corner in Array 2S closed spline and roof issues.
« Reply #1 on: February 22, 2018, 05:16:12 PM »
Hi Cyril,

First let me mention, that RailClone surface tools are a little limited at the moment. Rather than follow the polygons or the UVs like a paneling tool, In RailClone geometry is projected along the RC object's local Z axis until it hits the surface's geometry. This means that it only works well when the face normal points towards the RC object. Any polys with faces that point away or overlap will not work.

This issue is related to the Bevel feature. In some cases, bevelling algorithms might have problems to generate the geometry (to avoid issues, extending is limited) - like in your case the Symmetrical Mode. Both Reset & Extend Bevel Modes work.
Quote
".. because the spline is closed, I can't have corners ..."
Would you mind to describe it more in detail?

In most situations, treating these in a separate Linear 1S Generator would the recommendable way. You can get these lines for example by using a Sweep modifier > Editable Poly > Create Shape.

Hope that helps.

Best regards,

OJ3358

  • Newbie
  • *
  • Posts: 11
Re: corner in Array 2S closed spline and roof issues.
« Reply #2 on: February 22, 2018, 07:19:18 PM »
Hello Michal !

Thank you very much for the answers !

For the spline situation with the corner, the best example is that if you put a circle as X and a vertical spline as Y, you can get an array with a shape of a cylinder, but without any corner (that seams logical), but if you replace the circle with a rectangle, you still don't have corners.
In the image, the sphere should be in all corners, but it is only working with the right spline.

Best Regards,

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1548
Re: corner in Array 2S closed spline and roof issues.
« Reply #3 on: February 23, 2018, 01:49:23 PM »
Hi Cyril,

You're welcome. Most probably the naming of LT, RT, LB & RB Corner Inputs led to this confusion - you may better think about these as "Start Top, End Top, Start Bottom & End Bottom" Inputs. For corners, you should use the Inner Corner Input (it might have a Sequence Operator in the Increment at Y mode).

Hope this clears it up.

Best regards,

OJ3358

  • Newbie
  • *
  • Posts: 11
Re: corner in Array 2S closed spline and roof issues.
« Reply #4 on: February 23, 2018, 02:17:13 PM »
Hi Michal !

My bad, sorry for that question ! :)

Thank you very much for the answers !