Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Mustafa on January 12, 2015, 09:52:12 AM

Title: Well Aligned Handrail on Stairs - Corner Problem
Post by: Mustafa on January 12, 2015, 09:52:12 AM
Okay my goal is to have well aligned Handrails posts on my stairs steps ..
So I draw a spline with many corner points like the following pic .. and It worked as expected ..

(http://i61.tinypic.com/2qbdd7t.jpg)

But sometimes I need to exclude some corners .. So my idea was "to have "Conditional Operator" with Vertex Rule > Type: Corner .. Then I convert manually the other points to be "Bezier Corner" to be excluded from RC corner Object ..

Original Style look like that:

(http://i59.tinypic.com/ohn76u.jpg)

After Applying "Conditional Operator" .. It didn't work as expected! (Scene Attached)

(http://i58.tinypic.com/rs5uuw.jpg)

So My Questions:
First: Why didn't it work as expected?
Second: Is there any other simpler ideas to have my goal?

PS: Excuse My English

Regards,
Mustafa
Title: Re: Well Aligned Handrail on Stairs - Corner Problem
Post by: Mustafa on January 12, 2015, 10:46:32 AM
I want to add another try by "evenly" Rule with "Justify" OFF but it didn't work on all parts ..

(http://i57.tinypic.com/300y3p0.jpg)
Title: Re: Well Aligned Handrail on Stairs - Corner Problem
Post by: Paul Roberts on January 12, 2015, 11:00:53 AM
Hi Mustafa,

The reason the conditional operator is not working as expected is because the style uses a Fillet Radius value to create the bends on the corners. Unfortunately this overwrites the vertex types assigned to the base spline.

(http://lonelymonk.com/forum_images/191e9f440cc645e1b1a8852702071133.jpg)

To use the conditional operator to detect vertex types you must set this value to 0.

I'm just preparing a demo file for you to look at that uses the conditional vertex technique you suggest in your first post. I will post in a few minutes.

Many thanks,

Paul
Title: Re: Well Aligned Handrail on Stairs - Corner Problem
Post by: Paul Roberts on January 12, 2015, 11:34:22 AM
Hi Mustafa,

Please find attached a file that uses Corner vertices to place posts. For ease and in order to get the bevels to work correctly I've split the style in to 3 generators, on each for the glass, handrail and posts.

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

Many thanks,

Paul
Title: Re: Well Aligned Handrail on Stairs - Corner Problem
Post by: Mustafa on January 12, 2015, 12:19:07 PM
Thank you Paul .. It worked nicely even if with the original style :)
(http://i62.tinypic.com/11c8j9f.jpg)
Title: Re: Well Aligned Handrail on Stairs - Corner Problem
Post by: Paul Roberts on January 12, 2015, 01:11:45 PM
Hi Mustafa,

No problem at all. Glad we could help out  :)