Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: Dragan on February 14, 2019, 05:50:26 PM
-
Hi,
I need to set up a user-friendly generator to place kitchen/wardrobe elements on a spline.
I created the macro for Segments selection and placement like a Sequence or Compose (not sure which will be better).
For initial setup, there are 10 inputs for segments and 16 Sequence/Compose places. Input #11 is reserved for NULL Segment but it is Indexed as `0`.
Problem is how to fill complete Spline length considering that most of the Segments has Fixed X-size so I need to use Tile mode.
I can use one or more Segments that can be free in X-size and can be used to fill up problematic Space gaps. It will be ok to place those Segments at Start/End.
Any idea of how to solve this kind of problem? (I guess some calculation is inevitable or .... RC4)
Thx.
Dragan
-
Hi
I can't imagine fully automatic workflow. If You have multiple "free size" elements, what is then? Free size should equally distribute among those two? And if 3 then among all three?
That might be possible. Feel free to try.
I would suggest simpler (in my opinion) workflow. Add additional variable for Element Size: This would be manual, but full control and easy to implement:
(https://i.imgur.com/H6kadsu.gif)
-
Thank You Rokas.
Yes, that was my initial idea too.
I`m gonna to simplify next:
1. Only ONE instance of a free-size segment will be in used at the Start point.
2. I will break `L` & `U` shape Splines into two/three individual or separate by MatID.
Problem:
When I set some Sequence of Segments, how to extract Cumulative X-size so RC calculate the X-size for my Start Segment (XSplineLength - X size of Sequence)
I try to put the Compose operator after Macro Output and Extract X-size Attribute, but that didn't work for me.
-
You add all exported X size Atributes.
-
Sorry, maybe I wasn't clear...
My idea is something like:
-
As makro can only have one output if You could do the same without makro then You could sum all X size attributes alongside Composing them.
Not sure if You want to go this way. Sorry I don't know a better solution.
-
Thank you for info. I'll try without macro. Hope RC4 will bring something new about this 'problem'.
New Selector with Seqeentinal input (comma separated) will be great.
-
Done, for now.
I manage to keep Macro. :)
- 10 Input Slots + 1 Input Slot for Null segment indexed as `0`
- 20 Compose Segment Places (select 1-10 to place Segments)
- Free X-size Segment is auto-calculated and placed at Start or End
- Free X-size Segment can be selected by Index
- Null Segments with Fixed X-size can be set for the gaps
- Adaptive mode on/off - Tile/Scale/Adaptive
- Material ID Limit
The new issue is placing a Free X-size element at a position rather than Start/End.
A common problem for kitchen cabinets. Freezers are usually at Start/End position but if at the same time Corner is included then I have a problem because both Elements should have a fixed size.
C&C are welcome.
Thank you.
Dragan