Itoo Software Forum

Author Topic: Sweep Modifier Analogue  (Read 33188 times)

Artem Bobrov

  • Newbie
  • *
  • Posts: 4
Sweep Modifier Analogue
« on: September 02, 2022, 01:34:08 AM »
Hello to all.

Im trying to study RailClone and already make some easy styles. But now I'm stucked, can anybody please help?

1. This is chimney cap that I try to reproduce by RailClone.
2-3. Stovepipes have different sizes, they are longer or wider, thats why in some cases I've got hole or intersections.
4. Stovepipes that I need to cap

How can I say to RailClone to weld vertices?

Thank you in advance

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3053
Re: Sweep Modifier Analogue
« Reply #1 on: September 02, 2022, 10:32:10 AM »
Hello Artem,

I'm happy to take a look at this. A pitched cap that either overlaps or leaves a gap is a limitation with building the style in this way. Before I mock up an alternative I just wanted to ask - are the stove pipes always rectangular?

Also, I see you have a RC Pro license so I'll edit the permissions of your account so you can post in the Pro forum,

Thanks,
Paul
Paul Roberts
iToo Software

Artem Bobrov

  • Newbie
  • *
  • Posts: 4
Re: Sweep Modifier Analogue
« Reply #2 on: September 02, 2022, 12:20:23 PM »
Hello, Paul.
Thanks for your reply.

"I just wanted to ask - are the stove pipes always rectangular?"

No. They are different forms. I'll attach screenshot with stovepipes.

"Also, I see you have a RC Pro license so I'll edit the permissions of your account so you can post in the Pro forum"

Thank you. Next questions I'll post in those thread.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3053
Re: Sweep Modifier Analogue
« Reply #3 on: September 02, 2022, 03:03:31 PM »
Thanks for the clarification.

Unfortunately with irregular shaped items, the pitched capping is quite difficult to make work with RailClone's approach to array based modelling. You can see an attempt to solve it in the attached file, although I have also used our free Spline Offset plugin to first parametrically offset the spline inwards.



Here are a couple of other notes.

 - Appy Spline Offset to the Spline, decrease the Distance to offset the spline. Change Material ID to Fixed and give it a value of 2
 - In RailClone use an L1S array to add the pitched part of the roof. Make sure you use Limits > Material ID to only use the inset spline
 - The Roof segment has it's Y Alignment set to pivot.
 - To cap the roof, use an A2S array, also limited to Mat ID2. Wire the spline to the Clipping Area input and use Extend X/Y Size to area.

If however the areas are rectangular, then it's a lot easier. You can simply scale the segments to fill the array using the Scale to Array macro (also in attached file).

I hope it helps, please let me know if you have any further questions about this setup.

Paul
Paul Roberts
iToo Software

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3053
Re: Sweep Modifier Analogue
« Reply #4 on: September 02, 2022, 04:05:30 PM »
Hi,

The Missing modifier is our Spline Offset plugin. It's free and available here: https://www.itoosoft.com/freeplugins/splineoffset

The other issue is probably because I used the new version of the Symmetry modifier and saved back to a previous max version. Attached is a version with a collapsed mesh.

Best,
Paul
Paul Roberts
iToo Software

Artem Bobrov

  • Newbie
  • *
  • Posts: 4
Re: Sweep Modifier Analogue
« Reply #5 on: September 02, 2022, 04:15:04 PM »
Paul, deleted my post but you are so quickly with reply. )

I try to use as little third party scripts as possible. If its not impossible without them I will use copy of the spline for 3ds max sweep modifier to make caps.
Thank you for your feedback, now I need to understand the logic of your style and reproduce.

-----
04.09.22 - Update

Hello, Paul.
Thanks a lot for your help. I studied your styles, and reproduce by myself.

Some new knowledge for me.
Macros Scale to Array - very cool. I think will use it in a lot of rail clones.
Spline Offset - nice script, will keep it in mind. But for now I use standart Max's "outline" in the modify panel.

There is something that I cant understand
Why do you use macros Divide By N?
« Last Edit: September 04, 2022, 06:52:49 PM by Artem Bobrov »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3053
Re: Sweep Modifier Analogue
« Reply #6 on: September 05, 2022, 09:16:16 AM »
Glad we could help out.

I use that Divide by N (in this case 2) macro to ensure that the pitch of the roof at the hip is the same as the sides. Basically dividing the Y size of the array by 2. It's not strictly necessary if that angle isn't so important.

Best,

Paul.
Paul Roberts
iToo Software

Artem Bobrov

  • Newbie
  • *
  • Posts: 4
Re: Sweep Modifier Analogue
« Reply #7 on: September 05, 2022, 08:47:00 PM »
Understand, thank you.

Best regards,
Artem Bobrov.