Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: arch3d on January 14, 2019, 11:36:39 AM
-
Hi,
I would like to control bevel corner via spline angle eg. if i have vertex angle less than 179 degrees bevel corner is off and if angle is greater than 179 degrees bevel corner is on.
Thank for any ideas
Best regards,
Michal
-
Unfortunately this is not possible.
For this You need to use Arithmetic operator:
return if(radToDeg(XVertexAngle)>179,1,0);
But this is not supported.
(https://i.imgur.com/jvqU0Vq.png)
-
Unfortunately this is not possible
I was affrait to hear that :)
Hmm I am wandering to do it in different way - create conditional material override for angle and create two generators with different bevel setting.
Best,
Michal
-
seems like that could work. Good luck.
-
i think much more simple will be create empty segment with paddings in main generator and add second generator contains only desired corner which fit in place of "container" from main style.
-
i did it in third way :D
whole array has bevel corner mode but i add extra empty piece of geometry ( compose operator ) for corners which should be without bevel
thanks for help
Michal