Itoo Software Forum

Author Topic: Idea: RailClone Spline  (Read 439 times)

JK3990

  • Newbie
  • *
  • Posts: 8
Idea: RailClone Spline
« 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?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1396
Re: Idea: RailClone Spline
« Reply #1 on: May 12, 2017, 10:37:02 AM »
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,

JK3990

  • Newbie
  • *
  • Posts: 8
Re: Idea: RailClone Spline
« Reply #2 on: May 15, 2017, 07:35:13 PM »
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!