Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: antmarch on December 21, 2016, 12:46:52 PM

Title: Conditional corner angles not behaving as expected
Post by: antmarch on December 21, 2016, 12:46:52 PM
I'm having some difficulty with the Conditional operator selecting segments based on corner angles.

My corner segments work where I expect because I tested them before setting the conditional operator.

I've included some screen grabs, the first shows my spline with right angled corners, and my assumed degrees based on the spline direction, and the conditional operator I've set to True if less than 90.1 degrees.
Here they behave not as expected expect for vertice4.
(https://dl.dropboxusercontent.com/u/4477507/itoosoft/Conditional%20Corner%20Angles%20(right%20angles).jpg)

If I exaggerate the corners, the whole thing works.
(https://dl.dropboxusercontent.com/u/4477507/itoosoft/Conditional%20Corner%20Angles%20(exagerated).jpg)

But this isn't what I want.  I want to draw out the spline with right angles, so what is going wrong here?
Title: Re: Conditional corner angles not behaving as expected
Post by: Paul Roberts on December 21, 2016, 01:42:51 PM
Hi

Thanks for the question. To test for Angles >180 degrees please make sure that Check Wide angles is selected. Without this selected the angles are always measured between 0-180 degrees,

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

Many Thanks,

Paul
Title: Re: Conditional corner angles not behaving as expected
Post by: antmarch on December 21, 2016, 02:21:05 PM
At first, check for wide angles didn't make any difference to the result.  I'm familiar already with that as I use it on walls, when I draw the spline in the Z direction.  Having thought of that, and this spline is for ducting with the direction of those corners being up and down, I decided to rotate the spline 90deg, the following screen grab is what I discovered.
(https://dl.dropboxusercontent.com/u/4477507/itoosoft/Conditional%20Corner%20XYZ.jpg)




Title: Re: Conditional corner angles not behaving as expected
Post by: Paul Roberts on December 21, 2016, 03:38:11 PM
Hi,

I'm afraid that is the correct behaviour. At the moment the spline angle is calculated on a single plane as determined by the RailClone object's local axis. Another option though might be to let RaiClone bend the corners for you.

In this way you would create a spline with corners, as in your screen shots.

(http://i.imgur.com/b3blZJY.png)

Then model the corner section without a bend. So you have two segments, one straight with fewer edge loops, and another with enough edge loops that it can bend around corners.

(http://i.imgur.com/Ndwtgnm.png)

You can then setup the RailClone Style as usual but add a Fillet Radius value to automatically add a curve to the corners.

(http://i.imgur.com/JymUocI.png)

The advantage of this is that any angle can be created, you aren't restricted to 90 degree bends. I've attached a sample file for you to take a look at.

(http://i.imgur.com/Hw73G6w.png)

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

Many Thanks,

Paul
Title: Re: Conditional corner angles not behaving as expected
Post by: antmarch on December 21, 2016, 05:24:12 PM
Thanks Paul, I'm trying to get away from using the bevel corners, but for this style it seems to be the most suitable option.