Itoo Software Forum

Author Topic: Custom Sprinkler style  (Read 1842 times)

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #15 on: September 20, 2018, 04:39:17 PM »
Please find it attached.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #16 on: September 20, 2018, 05:06:01 PM »
I replied before Your atachment, does that help ?
Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #17 on: September 20, 2018, 10:14:19 PM »
Hi Rokas,

Thanks for the tip that's actually very helpful. I didn't realize the corner type affects the even distribution, but it actually makes sense. now my distance counter works properly! I also managed to fix all the connection orientations so the style works correctly for all situations. I'm still stumped as to why some of the supports are rotated and some have floating parts as in the attached example and .max file.

« Last Edit: May 10, 2019, 05:52:15 PM by mabulsoud »

Mouton

  • Newbie
  • *
  • Posts: 48
Re: Custom Sprinkler style
« Reply #18 on: September 21, 2018, 11:40:49 AM »
cool thread help allot one thing sorry to highjack this tread maybe also good for you mabulsoud how do u reduce the pipe from lets say 80 mm to lets say 20 etc with the reducer

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #19 on: September 21, 2018, 03:34:02 PM »
seems like a bug. I will investigate it further and report for development team.

cheers.
Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #20 on: September 22, 2018, 12:50:59 AM »
Thank you Rokas!

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #21 on: October 08, 2018, 07:51:17 PM »
Thank you Rokas. I have hit another issue this time with the conditional operator. I'm trying to have the angle control whether to display the 90 degree or the straight reducer but it's not having any effect on the object. Is this also a bug or am I doing something wrong?
« Last Edit: May 10, 2019, 05:52:06 PM by mabulsoud »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #22 on: October 09, 2018, 08:58:09 AM »
Hi

When setting conditional operator use mental "OR" between Your options.


If any of them is true then it will be true.
As vertex in question is Bezier Type then it's angle is not important- it will result in True- as "condition Bezier" is already satisfied.

Hope this explanation helps.
Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #23 on: October 10, 2018, 04:18:14 AM »
That explains it thank you. But it still doesn't work as expected. It turns all of them into one or the other regardless of angle. Is there a better way to achieve this sort of thing?

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #24 on: October 10, 2018, 08:26:39 AM »
I am sorry, I thought that worked in Your style.
Where can I find section which is not working for You ?

Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #25 on: October 10, 2018, 02:33:46 PM »
The part I circled in my previous post. it's in the bottom left if you're looking at the top view. It either keeps all the 90 degree reducers or it deletes all of them. So it seems it's either always true or always false.

Edit: I also tried using position but didn't seem to work either
« Last Edit: October 10, 2018, 02:55:14 PM by mabulsoud »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #26 on: October 10, 2018, 02:45:15 PM »
that one checkbox I mentioned about bezier vertex seems to solve the issue:
Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #27 on: October 10, 2018, 03:03:26 PM »
Yes but it removes the 90 degree connection everywhere else too. Like in the attached image
« Last Edit: October 10, 2018, 03:06:47 PM by mabulsoud »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2270
    • iToo
Re: Custom Sprinkler style
« Reply #28 on: October 10, 2018, 04:31:36 PM »
Thank You for this picture.

I lowered green pipe to see what corners are there. Turns out there is only start/end vertices no 90 deg corners. Angle condition is no use in this case.
Some other vertex marker should be used to split the purposes. I can't think of solution at the moment.
Rokas
iToo Software

mabulsoud

  • Newbie
  • *
  • Posts: 41
Re: Custom Sprinkler style
« Reply #29 on: October 22, 2018, 11:50:59 PM »
Hi again,

Coming back to more MEP systems. I think I discovered another quirk/bug. I'm applying a random index to choose between two different pipes in the max file attached. It works fine for all the different arrays until I try to control the seed with an numeric input then the array for the "pieces" (see groups) breaks. Is there any way to fix this?

Ps. Any ideas for doing the straight reduces from the previous style? It seems to me if there could be a condition to check whether a vertex is between two segments with different material IDs it would allow for a lot of this type of "transition" for all kinds of styles.

Thanks,

Marwan
« Last Edit: May 10, 2019, 05:51:34 PM by mabulsoud »