Skip to content

Structure_Engine: Geometry3D Panel Extrusion method using wrong thickness and normal vector #3468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

lborgenstam
Copy link
Contributor

Issues addressed by this PR

Panel2_070325

Panel070325

Solves issue and adds functionality to Geometry3D for panels. Previously, extrusion of panel was created along global Z-axis, meaning extruded geometry for walls was incorrect. Furthermore, extrusion distance was calculated from VolumePerArea() property, meaning extruded dimension of i.e. Waffle Slab was incorrect.

To fix above, extrusion direction is changed from global Z vector to the normal vector of the panel surface and extrusion distance from VolumePerArea() to TotalThickness().

Closes #2852

Test files

Check different thicknesses and different slab types. Control that results reasonable and like expected.
https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/BHoM_Engine/Structure_Engine/%232852-Geometry3DPanel-WrongThicknessAndNormalVector/%232852_PanelGeometry3D.gh?csf=1&web=1&e=NYvuMd

Changelog

Additional comments

@lborgenstam lborgenstam added the type:bug Error or unexpected behaviour label Mar 7, 2025
@lborgenstam lborgenstam requested a review from Chrisshort92 March 7, 2025 14:06
@lborgenstam lborgenstam self-assigned this Mar 7, 2025
Update Description and Output to refer to panel envelope
Copy link
Contributor

@Chrisshort92 Chrisshort92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionality works as expected, rotating the panel doesn't change the extrude direction due to the change to a local axis. Openings are maintained in the extrusion and the output geometry refers to the enveloped panel.

@Chrisshort92
Copy link
Contributor

@IsakNaslundBh or @peterjamesnugent, can you review the code prior to merge? Thanks.

@lborgenstam
Copy link
Contributor Author

@BHoMBot check required

Copy link

bhombot-ci bot commented Mar 7, 2025

@lborgenstam to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

Copy link
Contributor

@IsakNaslundBh IsakNaslundBh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have reviewed code. Changes all make sense 👍

@IsakNaslundBh IsakNaslundBh merged commit 6998a81 into develop Mar 10, 2025
12 checks passed
@IsakNaslundBh IsakNaslundBh deleted the BHoM_Engine-#2852-structure_engine-geometry3dpanel_WrongThicknessAndNormalVector branch March 10, 2025 07:32
@adecler adecler mentioned this pull request Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structure_Engine: Geometry3D(Panel) uses VolumePerArea() instead of TotalThickness()
3 participants