Itoo Software Forum

Author Topic: Add scale option as an alternative to slice  (Read 257 times)

archaeotect

  • Newbie
  • *
  • Posts: 14
Add scale option as an alternative to slice
« on: December 11, 2021, 04:59:06 PM »
Hi!
Would it be possible to add a "Scale" option to the segment deform options? Instead of slicing geometry which doesn't fit, it would scale it non-uniformely in the relevant axis, squashing the segment to fit. In cases of irregular objects like natural stones this could yield a better result than slicing and capping.
What do you think?

Dragan

  • Hero Member
  • *****
  • Posts: 1295
Re: Add scale option as an alternative to slice
« Reply #1 on: December 11, 2021, 05:09:06 PM »
This will be difficult to implement on the Segment level but you already have those on the Generator level (Rules, and under Default select Mode>Adaptive) and for the last segment You can use building Macros in Transforms-> Scale Final 

archaeotect

  • Newbie
  • *
  • Posts: 14
Re: Add scale option as an alternative to slice
« Reply #2 on: December 11, 2021, 05:44:27 PM »
Thanks!
Mode Adaptive + Start/End Segments doesn't always work as intended. With large random variations I get frequent overlaps. But the "Scale Final" Macro was very helpful. I hadn't noticed that before!

Dragan

  • Hero Member
  • *****
  • Posts: 1295
Re: Add scale option as an alternative to slice
« Reply #3 on: December 11, 2021, 05:48:45 PM »
The adaptive mode works only with segments of the same size. Depending on the style you can fake some adaptiveness by nesting generators.
If you have some particular problem please post it here so we can take a look.
Thank you.