Python_EKL - Split network by volume and max length

Thank you to Gael FECHANT for having shared this

Introduction

This is just a prototype exemple to explore different capability that is possible with Python EKL Action based on Piping 3D discipline
It is NOT something that can be used in production as is

Context

use Python Action to 

Improved Productivity

By automatically dividing pipe routes based on block boundaries and placing pipe fittings such as flanges and gaskets, designers no longer need to manually identify block boundaries, cut the pipes, and place the fittings one by one.This significantly reduces repetitive tasks and greatly accelerates the design process, especially in large ship projects where there are many long pipe routes, thereby shortening the overall workflow.

Higher Accuracy and Error Reduction

Manual processes often lead to common mistakes such as omissions, incorrect positioning, or errors in fitting placement. With rule-based automation, these issues can be prevented because flanges and gaskets are placed automatically according to predefined rules. This ensures consistency across all designs and improves the overall quality of production drawings.
 

Demonstration (tactical solution)

tactical solution based on python script

Split by block boundaries
Split by block boundaries + Maximum length

 

Python script

 

Potential improvement to be done in the script

  • dispatch block content in dedicated block product

  • connect part together (need CAA openness)

  • link reference search to the piping specification and not hardcoded references