Itoo Software Forum

Author Topic: Preserve Segments/Clipping Base Spline  (Read 600 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Preserve Segments/Clipping Base Spline
« on: December 29, 2021, 08:02:52 AM »
RC 5.0.7
Please check:
1. Preserving segments not working again (use Transform X/Y translation to move)
2. Try to change the Base spline to Line001 (two closed subsplines). RC crashed with the screen... Not sure if this is on my side  ::)
« Last Edit: December 29, 2021, 08:16:15 AM by Dragan »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1966
Re: Preserve Segments/Clipping Base Spline
« Reply #1 on: December 29, 2021, 08:41:18 AM »
Hi Dragan,

Big thanks for the provided scene. With your help, we've been able to reproduce this unwanted behavior here too. We'll check what can be done to fix it - it'll need to be investigated more in deep by our main developers. Thanks for your speedy collaboration, your feedback is very important to us.

Best regards,

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Preserve Segments/Clipping Base Spline
« Reply #2 on: December 29, 2021, 10:32:43 AM »
1. Preserving segments not working again (use Transform X/Y translation to move)

I cannot reproduce this one. I'm using the attached scene for testing.
Please, could you compare what's different from yours ?
Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #3 on: December 29, 2021, 10:45:49 AM »
Hi Carlos,
Try to use it on Rectangular Base Spline.

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #4 on: December 29, 2021, 10:54:56 AM »
Even in your circular Base spline segments are missing.
Try the scene from promotional if you can access it.


Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #5 on: December 29, 2021, 11:02:53 AM »
Quote
I need to check again if nested segments were preserved until all have been out of the clipping spline.
If you look at the gif image there are segments on start|end|def seams to be preserved when shutters are opened.

In the promotional scene, the shutters are a nested generator that's hung on the inside of the window reveal. That means that a bit of the hinge always remained inside of the clipping spline and thus the whole object was preserved. I can confirm that moving it entirely outside of the spline means that it disappears. This behaviour makes sense because really the change is that the composed/nested geometry was behaving as though it was a single segment when it comes to clipping. As far as I know, this behaviour was the same in all the beta versions.

Cheers,
Paul.

« Last Edit: December 30, 2021, 09:27:52 AM by Paul Roberts »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Preserve Segments/Clipping Base Spline
« Reply #6 on: December 29, 2021, 12:07:55 PM »
I see your logic, but as far as i can see, Clipping behaviour has not changed: segments only are preserved when are inside or intersecting with the spline, but not completely outside.
I'm a bit confuse about your statemenent, regarding this behaviour is not working again. Was it working in RC 5.0.6, and broken in 5.0.7 ?

Unfortunately i cannot verify the promotional scene. Paul has the file, and he is on vacation today. Anyway, i can check this issue with him tomorrow.
Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #7 on: December 29, 2021, 12:35:51 PM »
 :D
I need to check again if nested segments were preserved until all have been out of the clipping spline.
If you look at the gif image there are segments on start|end|def seams to be preserved when shutters are opened.

However, please check what can be done to accomplish the `preserve all` workflow in the future.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2828
Re: Preserve Segments/Clipping Base Spline
« Reply #8 on: December 30, 2021, 10:12:19 AM »
Hi Dragan!

That's always been the behaviour during the beta. At present, the change is that nested or composed geometry is now treated as though it were a single segment in terms of clipping behaviour. The example in the video uses a nested generator to create the shutters, and the hinges are inside the window reveal so there's always a part that is within the clipping spline.

We'll think about if the behaviour can be changed to move nested geometry completely outside the clipping area.

Thanks as always for the feedback,

Paul
« Last Edit: December 30, 2021, 11:33:52 AM by Paul Roberts »
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #9 on: December 30, 2021, 10:31:45 AM »
Hi
Just think of nesting complete window frame generated with one A2S (X/Y size calculated from Master A2S) nested in the Master A2S.
Now you need to Slide out of the Clipping area. All segments in nested A2S will be removed/sliced.

Right now I do a workaround with combining L1S with height parameter via main/marker data parameters to get the Y size for A2S. But RC could preserve the whole nested generator this will give me/users the opportunity to use directly Clipping splines to acquire both X&Y sizes for the nested A2S.

Sure, I don`t know how deep this will go into coding. Thank you for taking this into consideration.
Hope all that have any sense to you guys :D


Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #10 on: January 04, 2022, 10:40:11 AM »
Hi, any news about the topic?
Paul, what do you think about preserving all nested segments and how did you configure your style for the promotional scene?
As I can see vertical planks in the RC4 version are removed (one-by-one) when they go outside the clipping area but in the RC5 version vertical planks remain even though those segments are completely out of the clipping area.
It is difficult to analyze just from a gif knowing you always have a different (genius) approach to every problem  ;)
« Last Edit: January 04, 2022, 10:46:28 AM by Dragan »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2828
Re: Preserve Segments/Clipping Base Spline
« Reply #11 on: January 04, 2022, 10:48:53 AM »
Hi Dragan, it's on the wish list, but no more news at present. In my scene, the door is still just slightly inside the clipping spline (the hinges are in fact) which is why the planks are retained.

Cheers,
Paul
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #12 on: January 04, 2022, 11:03:20 AM »
Not sure any more  ;D ;D ;D ;D
In the RC4 vertical segments are cut out one by one and in the RC5 they remain.

I`m still voting to preserve ALL segments even they are completely out of the clipping area. After all, users now have full control of the slicing option even trough Transform Override so it will be very easy to control and evaluate through the Style.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4123
    • iToo Software
Re: Preserve Segments/Clipping Base Spline
« Reply #13 on: January 04, 2022, 12:14:39 PM »
Just a note: Transform > Slice doesn't affect to Clipping, only to slicing at right/bottom/corners of array rows. Basically there are two separated slicing operations.
I know it may be a bit confuse, but that option is inherited from when RC supported only linear generators.

Sorry, that was not correct.
Effectively there are two slicing operations, but 'No Slice' is considered on Clipping, specifically with the 'For No-Slice' option. I forgot it.
« Last Edit: January 06, 2022, 12:32:53 PM by iToo »
Carlos Quintero
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1296
Re: Preserve Segments/Clipping Base Spline
« Reply #14 on: January 04, 2022, 12:32:49 PM »
Thank you Carlos.
No confusion on that matter but my point is if we are nesting a complete A2S Generator carrying complete geometry  (window frame, fence car door, etc), and its geometry is calculated/based on the Master A2S/Extended and we need to move this geometry out of the clipping area (sliding door frame, sliding fence car..) we need those nested segment preserved.
I can see by the questions on the forum a lot of new users getting deeply into RC Style since RC5 is released and I think it is just a matter of days when most of them will need something like this. 
I`m still ok with my workarounds, nesting my A2S to an L1S level to avoid unnecessary clipping but this just makes one or two more calculation loops.

Please if it is not a deep coding issue let us have this `preservation mode` and see if this will cause any problems in the future.
You can always go back  8) ;)

Regards