Itoo Software Forum

Author Topic: Unexpected time to generate objects  (Read 290 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Unexpected time to generate objects
« on: July 08, 2022, 07:42:57 PM »
I`m getting some really unexpected times  ???

Two sets of splines:
Shape001 - splines for generating windows/doors. Five Levels= ID1  + Top Level = ID2)
Shape002 - Top Level Copy = ID2

1. Please check the times to generate especially for the Shape001. I got really long time compared to the same segment count for the Shape002. I know all the SubSplines have to be converted to polylines internally and this could take time on this large SubSpline count, but maybe something could be done when evaluating IDs.

2. I can`t recall now if the multiple conditional checkboxes could be set for a single Conditional Operator.  :-\ (I have set Material ID and Segment Count and it didn't work, only MaterialID was taken in count).

note:
For Shape2 I noticed that the first time generating time was around 2100ms but while making the changes in the Graphs times drop down to half (around 1050ms)  ???
Could not test the same on Shape1 for obvious reasons (takes too loooong to wait  :( )
tnx






 

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Unexpected time to generate objects
« Reply #1 on: July 08, 2022, 07:51:28 PM »
scene file...
RC 5.2.6
« Last Edit: July 08, 2022, 08:00:43 PM by Dragan »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Unexpected time to generate objects
« Reply #2 on: July 09, 2022, 09:23:28 AM »
"Clipping Area"->"Hierarchy Checking" is causing the delay.
This parameter checks spline hierarchy, identifying what sub-splines are included in others. That process is done by a Max function, which probably doesn't like the structure of the specific spline.

Just set "Hierarchy Checking" to None.

Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Unexpected time to generate objects
« Reply #3 on: July 09, 2022, 09:44:01 AM »
Damn! $%$&*^*$  :D
I`m always forgetting to turn off all "useful" defaults  ;) (vacations are no good for me)
Thank You!

And what about Conditional? I really forgot if those should use multiple checkbox conditions :-[ :o 8)


iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Unexpected time to generate objects
« Reply #4 on: July 10, 2022, 09:12:28 AM »
Sorry, i was focused on the first problem and missed your second question:

Yes. You can enable multiple checkboxes in the Conditional. It returns true if any of the conditions is met (OR comparison).
In this case, it always returns true because Mat.ID is 2 for all sub-splines (at least for Shape002).

Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Unexpected time to generate objects
« Reply #5 on: July 10, 2022, 09:30:36 AM »
Yes, but there is also a condition for YCounter set to equal 1 so it should return only one segment on evenly, or I'm missing something AGAIN?  :D


Edit
Ah, I see you noted, "OR comparison". That explains it. Well, you should think about introducing AND comparison also  :D (to avoid stacking Conditional Operators).

Thank you again. After dismissing hierarchy checking everything works as expected.
« Last Edit: July 10, 2022, 09:53:22 AM by Dragan »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Unexpected time to generate objects
« Reply #6 on: July 11, 2022, 08:37:55 AM »
Ah, I see you noted, "OR comparison". That explains it. Well, you should think about introducing AND comparison also  :D (to avoid stacking Conditional Operators).

Agreed. Added to the wishlist.
Carlos Quintero
iToo Software