Skip to main content
Solved

Balcony thickness calculate

  • September 8, 2021
  • 5 replies
  • 16 views

ienesaglam60
Contributor
Forum|alt.badge.img+3

balcony_thicknessI have balcony drawings as attached files two sample data. I want to calculate the thickness of the balconies as seen in the picture. is there a transformer for that?

Best answer by nielsgerrits

nielsgerrits wrote:

Added sample workspace.

I would exclude short lines from the analysis. Shorter than 0.3m worked fine for your samples. But feel free to experiment what works best yourself.

  • LengthCalculator after the Chopper
  • Tester after the LengthCalculator, _length > 0.3

2021-09-08_14h53_03

View original
Did this help you find an answer to your question?

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

I can think of a way, success depends on the complexity of the geometry. Explode the polylines into lines, get the midpoints from the lines and find the closes lines, not the source line itself.

  • Chopper to create lines with 2 vertices.
  • CenterPointReplacer to convert to midpoints.
  • NeighborFinder to find closes lines to points. Number of Neighbors to find = 2. Generate Closest Candidates List.
  • ListExploder to go from list to features.
  • Tester to remove all results with _distance = 0, these are the original lines.
  • Now you have multiple widths. You can draw those using VertexCreators and the closest_base / closest_candidate attributes.

nielsgerrits
VIP
Forum|alt.badge.img+54
nielsgerrits wrote:

I can think of a way, success depends on the complexity of the geometry. Explode the polylines into lines, get the midpoints from the lines and find the closes lines, not the source line itself.

  • Chopper to create lines with 2 vertices.
  • CenterPointReplacer to convert to midpoints.
  • NeighborFinder to find closes lines to points. Number of Neighbors to find = 2. Generate Closest Candidates List.
  • ListExploder to go from list to features.
  • Tester to remove all results with _distance = 0, these are the original lines.
  • Now you have multiple widths. You can draw those using VertexCreators and the closest_base / closest_candidate attributes.

Added sample workspace.


ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • September 8, 2021
nielsgerrits wrote:

Added sample workspace.

Thank for attention. But it also works on balcony corners and i don't want that. Can you use the examples i attached?

 

 

 


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • September 8, 2021
nielsgerrits wrote:

Added sample workspace.

I would exclude short lines from the analysis. Shorter than 0.3m worked fine for your samples. But feel free to experiment what works best yourself.

  • LengthCalculator after the Chopper
  • Tester after the LengthCalculator, _length > 0.3

2021-09-08_14h53_03


ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • September 8, 2021
nielsgerrits wrote:

Added sample workspace.

This looks like it is works . Thank you

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings