Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: JK3990 on May 10, 2017, 05:11:20 PM
-
How difficult would it be to subclass Spline and add some RailClone-specific variables? I love using Material ID to toggle segments, but it would be amazing to have additional properties to mix and match segment combinations. For example, I have two generators: one for wall types (1,2,3), and one for window types (A,B,C). For these possible combinations (1A, 1B, 1C, 2A, 2B, 2C, 3A, 3B, 3C), I must use Material IDs 1 through 9... which gets a bit messy. But, if I could pair Material ID with some other generic integer variable, say "Window ID", I can mix and match with ease. Thoughts?
-
Hi,
Thanks for your suggestion. We've added it to the wish-list. As there are no identifiers within the Spline object which we can use for these purposes, something like that should be probably done by adding a "custom modifier" to the Spline object. We'll evaluate that way in future versions.
A possible approach for similar situations would be to use different vertex types, which RC can recognize. Also, making a copy of such spline, modifying IDs and placing it as anointer Spline mode would be another currently recommendable way.
Best regards,
-
Ok great, thank you for the reply, I will look into the methods you suggested. In addition, I thought about this more and came up with another possible solution that I still need to test. It's a little less user-friendly, but should provide the flexibility I need. If I look at the Material ID by digit rather than as a whole number, I could potentially consider each digit as its own variable and then use an arithmetic expression to split it apart. For example, if I decide the "ones" represent the window type, and the "tens" represent wall type, the Material ID "11" would equal wall type #1 and window type #1. If I wanted to test out different window types, I would simply increment the "ones" digit, such as Material ID "13", which would be wall type #1 and window type #3. The only downside is that I have to remember which digit represents what element. I will follow up with a sample setup if I manage to get it to work out!