Itoo Software Forum

Author Topic: Scale generator creates half segments.  (Read 487 times)

antmarch

  • Newbie
  • *
  • Posts: 34
    • portfolio
Scale generator creates half segments.
« on: December 22, 2015, 03:32:23 PM »
Hello again Railclone, back in this forum under a new username.

I'm wondering why this is happening?
 I have a Linear generator set to scale, along a spline with corner vertices.  Some of the segments are generating half a mesh. Dragging around the vertices that sit at the split segment doesn't alter it either.


I've used railclone for a while and have a method I tend to stick with for modelling buildings, I've only really seen this issue occasionally since upgrading to v2.5.0.

Cheers
Tony

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Scale generator creates half segments.
« Reply #1 on: December 22, 2015, 03:49:03 PM »
Hi Tony,

That does look odd. I suspect it's to do with the corner or bevel settings but it's hard to be sure. Are you able to send me that file so I can take a closer look? If you'd prefer not to upload it publicly you can send it support@itoosoft.com.

Many thanks!

Paul
Paul Roberts
iToo Software

antmarch

  • Newbie
  • *
  • Posts: 34
    • portfolio
Re: Scale generator creates half segments.
« Reply #2 on: December 22, 2015, 03:53:26 PM »
Just to add, my working model is the one in the background, with this I've used the selector operator set to spline ID.

I thought I'd try a different approach, using a different generator for each segment ID, and now the meshes are scaling as expected.



antmarch

  • Newbie
  • *
  • Posts: 34
    • portfolio
Re: Scale generator creates half segments.
« Reply #3 on: December 22, 2015, 03:54:12 PM »
Paul,

If you'd still like to take a look I can send you the file.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Scale generator creates half segments.
« Reply #4 on: December 22, 2015, 06:04:40 PM »
Hi Tony,

Looks like a very interesting project. I'm glad you've found a workaround but if you'd like me to take a look I'm happy to do so.

Cheers!

Paul
Paul Roberts
iToo Software

antmarch

  • Newbie
  • *
  • Posts: 34
    • portfolio
Re: Scale generator creates half segments.
« Reply #5 on: December 22, 2015, 06:26:18 PM »
Paul,

Here you go, I've attached the railclone model, as I moved up a level I encountered the same problem as previous


I selected the original spline, copied it on the Z axis, added a linear generator for this spline set to scale and added my segment.

I can find a way to work around this, but it's frustrating it's occurring and I'd like to understand what is causing it, as it seems to be happening more lately.


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Scale generator creates half segments.
« Reply #6 on: December 22, 2015, 07:33:48 PM »
Hi,

Thanks for the file. I can see the problem. Scale mode does not work well with bevel mode because it is designed to continue the segment around the corner. Ideally you need to break the array at the corners by adding a corner segment and setting bevel mode to None.

This then generates its own problems because you can't bevel corner segments when using scale mode, so my usual solution is to split the array into two generators, one for the walls and another for the corner. I've attached a file that demonstrates this solution and uses a little bit of trigonometry to calculate the minimum corner sizes required.

You can read more about this and download sample files in theses two posts:

http://forum.itoosoft.com/index.php?topic=3352.0
http://forum.itoosoft.com/index.php?topic=3370.0

I'll also look into making this process easier and see if there's something that can be done.

Happy holidays!

Paul

Paul Roberts
iToo Software

antmarch

  • Newbie
  • *
  • Posts: 34
    • portfolio
Re: Scale generator creates half segments.
« Reply #7 on: December 23, 2015, 10:14:31 AM »
Thanks Paul,
I'm afraid all that trig and math is beyond me, but I'll attempt to deconstruct the speghetti in the file and make sense of it.  Reading through NP2889 posts I can see I'm ultimately after a similar solution here for my day to day workflow.
Railclone is brilliant, but frustrating sometimes.  Your quick response to our posts is most welcome.  :)