Itoo Software Forum

Author Topic: Issues with the SectionXrole attribute  (Read 2358 times)

Lars Egerrup / LKE Design

  • Jr. Member
  • **
  • Posts: 69
    • LKE design website
Issues with the SectionXrole attribute
« on: August 18, 2023, 11:05:41 am »
Hi there,
I am making a parametrical cabinet, that can be sized on all axis.
The cabinet is symetrical in depth  - meaning it has doors end each end, it it has a number of selves, handled by Y evenly

To make it possible to sice it on both width, height and depth, I have made the style as follows ....

It consists of three sets of A2R. The door part (in the ends are in fact the same, the end is just going through a mirror operator. The middelsection is sized in depth to fit between the end sections.
The placement of the shelves are handled by the Y evenly input, and I have modified a 'Section Y Role´ macro to be a 'Section X Role' - handling the placement of the two end parts and a default section.

I have however some issues with the SectionXrole attribute. It  doesn't register the start and end and just goes on with the default input??? I can't really see what I can do wrong here, as there are not that many choices to play with - so I guess there must be a bug internally in the attribute.

In the zip file I have added some  screenshuts of the setup, the modified 'Section X Role' Macro and the model and it's components in claymode as well as rendered. On some of the pictures I have set it to be without selves and on the others I have set it to have two shelves. As you can see the START and END part is missing on these, and the DEFAULT part is used.

Could you please take a look and eventually check if there is a bug in the SectionXRole attribute.

By the way, the materials are only rendered correct when the Instancing Engine is switched off, - if it is on you can see the assembled edges especially in the glass. I am using the latest version of both RC (PRO 6.1.3) and Corona 10 Hotfix 1. Hasn't this issue been solved yet?? I thought you proclaimed this in the last update??

Thanks,

Cheers / Lars
Lars Egerrup
LKE Design

E: Lars@LKEdesign.dk
W: www.LKEdesign.dk

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3061
Re: Issues with the SectionXrole attribute
« Reply #1 on: August 18, 2023, 01:50:50 pm »
Hi Lars,

Thanks for getting in touch. Actually, you don't really need to use SegmentXRole, you can target all parts of the array using the SegmentYRole attribute/macro. Please see the attached simplified demo as an example.

The basic rule of thumb is that you use both these attributes in the columnar inputs. So, for example, to target the ends of the Y Evenly rows you would wire the Segment Y Role macro to the Start and End inputs. You can then wire the ends of the Y Evenly row to the Macro's Evenly input.

I hope that makes sense. Please let me know if you have further questions.

Paul
Paul Roberts
iToo Software

Lars Egerrup / LKE Design

  • Jr. Member
  • **
  • Posts: 69
    • LKE design website
Re: Issues with the SectionXrole attribute
« Reply #2 on: August 23, 2023, 01:53:59 pm »
Thanks Paul for the heads up and the file.
I see your point. Never the less there must be something wrong with the SectionXRole???
I mean, I get your point, that you can be good by using the SectionYRole - but the SectionXRole must be there for a reason, and according to the function description, it should do what I have asked it to, - but it doesn't!
 So don't sneak around the problem :P   
Either it has another use, that I have misunderstood   - or there is a bug!

Choose one of these above :P

And if it is the prior, then please tell me the right use of the SectionXRole :)

Thanks

Cheers, Lars
(Ever grateful for your patient support)
Lars Egerrup
LKE Design

E: Lars@LKEdesign.dk
W: www.LKEdesign.dk