Duct/Pipe Splitting with union

After split duct, duct and fitting duct contact to each other but they are not connect.


Same problem to me. Hoping someone give any solution :frowning:

I gave the solution i post two… you just dont want to use it…

Ducts are still not joining. Even after using the latest script

I haved copied DuctJoinElements.py into C:\Program Files (x86)\IronPython 2.7\Lib. when i run dynamo, the error appears as shown below.

I’m not sure if its the best way but here are two other options.


It worked. but there are still some unconnected segments as shown below


Thank you so much for your help so far.

  1. If I connect there other fittings there are still lot of Disconnections. But I can live with that I think.
  2. Can you please so me the direction on adding Min /Max intelligence
  3. And Item Length to be
    Item Length = if ( or ( Duct Height >450 , Duct Width >450) , 1420 , 1500)

@Sujan, @Hieudang96as
It will be of most importance that you learn how to tweak help given, otherwise, will you run into troubles over and over again… with small efforts did I update the graph including revising the part with @T_Pover python script so I could use his node for elbows.

DuctByLengthUnionElements2.dyn (81.4 KB)

1 Like

Thank you very much for your help so far.
elbow.bymepcurve of me don’t work, it is empty after run, can you help me.

@Sujan As I can see @erfajo has already given you a possible solution. Try to put some efforts in working with the help you are given by yourself to become familiar with dynamo.

@Hieudang96as Your missing margins input. Please read carefully how nodes you are using work, try to see the help provided in the node you are using.

@Sujan, @Hieudang96as
Instead of firing away questions towards people that may help you, try put some efforts in solving problems first by your self. This is not a “do my job” community. The community is driven by people who offer their knowledge voluntary in their spare time. Please respect that.



I’m having the same problem as @Sujan. I am using dynamo 2.0.1. Do not know if @erfajo can run without error? If you do not get bugs then I think by the dynamo version.
Thank you for your help.

Hi Guys,

I complete agree with @erfajo and @Kulkul little effort will take a long way, first check the dynamo version and check you have all packages that you need to run the graph. For beginners, take a graph and follow it with small inputs and study what each node is doing. I printed the graphs and followed it manually. Once you get your head around it, you can tweak it to suit your needs. my graphs run on 1.3.2 to 2.0.0.

1 Like

I have edited and it worked. @Sujan you need to edit “margin = 0” => “margin = 5” in python. But the branch is still unable to connect.

Hy @erfajo
very nice look your posting. Awesome :smiley:
I tried to follow your dynamo and download Orchid Package but my List.Clean different with you, please see pict. in below:

image This is from your post

image This from my dynamo

But the result still failed. :disappointed_relieved::disappointed_relieved:

I attached my Dyn. Files
please check friends.
Duct Splitting.dyn (23.2 KB)

@Harywijaya.2 this post i already solved. Start a new topic with all the previews and errors expanded. And also mention this post as reference.


@Kulkul okayy Sir, sorry still not understand with rules of this fourm
i’ve created new topic ^^

Dear mr/mrs,

I saw this topic and i’m looking for something like this but then for pipes. In this topic, in the header there is mention the pipe splitting but i don’t see any script for it. Is it possible to let me show with parameters and settings i have tot change to let this also work on a pipe.

If you need more info please let me know

I also want to do this by selection instead of find curtain elements.

Hello erfajo , please help to correct plugin in dynamo. I still don’t understood. I want that it works like graitec advance application for ducts, see link to install: https://advantage.graitec.com/ . Please help.DuctByLengthUnionElements.dyn (85.6 KB)