Skip to main content
Solved

Balcony thickness calculate

  • September 8, 2021
  • 5 replies
  • 44 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

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

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+62

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

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+62
  • Best Answer
  • September 8, 2021

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

Added sample workspace.

This looks like it is works . Thank you