Skip to main content

Hi All,

 

I'm working on a workflow to identify if lines are perpendicular and running in parallel. Below screenshots shows what I'm trying to achieve:

 

  • Line A and B should run in parallel and have the same Y
  • Line A should have the X for start/end to be perpendicular
  • Line B should have the X for start/end to be perpendicular

 

image 

I have put this workflow together and create a QA tool to flag the issues (not perpendicular and not parallel) but can't find the workaround:

 

image.pngAny idea how to get this done?

Thanks 🙂

Hi @galigis​ If the two parallel lines should have the same lengths and position that they could form a rectangle - then aggregate them and replace with a BoundingBoxReplacer (2d Oriented), then chop the box into 2-point line segments and compare those against the original lines with a ChangeDetector.

 

image


Reply