Skip to content

Push of PileFoundation added - #1675

Merged
pawelbaran merged 9 commits into
developfrom
Revit_Toolkit-#1674-PushPileFoundation
Aug 7, 2026
Merged

Push of PileFoundation added#1675
pawelbaran merged 9 commits into
developfrom
Revit_Toolkit-#1674-PushPileFoundation

Conversation

@WojciechBuda00

@WojciechBuda00 WojciechBuda00 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #1674

Test files

#1674-PushPileFoundation

Changelog

Additional comments

@WojciechBuda00 WojciechBuda00 self-assigned this Jul 14, 2026
@WojciechBuda00 WojciechBuda00 added the type:feature New capability or enhancement label Jul 14, 2026
Generate Freeform PileFoundation with nested piles
Match pile foundation families by outline, layout and diameter
Preserve extrusion associations on freeform pile cap

@pawelbaran pawelbaran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Initial code review so far, will do the testing now and continue digging in the code 👍

Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Compute/GeneratePileFoundationType.cs Outdated
Comment thread Revit_Core_Engine/Query/PileFoundation.cs
@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check compliance
@BHoMBot check core

@bhombot-ci

bhombot-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance
  • check core

@pawelbaran pawelbaran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

More general comments:

  • you need to merge develop into your branch, now yours is far behind develop
  • from what I saw in the source family, pile depth should be instance parameter, not type? if that's the case, you will need to set pile depth explicitly, both in create and update
    Image
  • pile foundation pushed from GH looks as follows:
    Image
    ...after pulling back from Revit, it is like this:
    Image
    ...the piles are much longer, which is caused by the fact that you are calculating pile depth as pile top minus pile bottom, which is not correct: the piles in GH are a simplification snapped to the upper face of the cap. Instead, I would try the following:
    1. find top and bottom of the pile
    2. check if top elevation == bottom of the pile cap => if not, warning that the pile depth has been set based on bottom of the cap and bottom elevation of the pile
    3. set the depth = bottom of the pile cap - pile bottom
  • I would consider tweaking the naming:
    • pile foundation, I would consider renaming the type to {thickness}mm thk. Ø{diameter}, assuming that, as above, pile depth is instance param
      Image
    • nested pile, freeform suffix looks suspicious
      Image
  • provided test script does not show any update, also top foundation (square) produces 2 foundations with 2 piles each instead of 1 foundation with 4 piles (missing flatten)

Comment thread Revit_Core_Engine/Convert/Physical/ToRevit/FamilyInstance.cs Outdated
Comment thread Revit_Core_Engine/Query/IsMatchingOutlineAndLayout.cs
@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check compliance

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

There are 3 requests in the queue ahead of you.

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check compliance

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

There are 1 requests in the queue ahead of you.

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check core
@BHoMBot check null-handling
@BHoMBot check serialisation

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

  • check core
  • check null-handling
  • check serialisation

There are 1 requests in the queue ahead of you.

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check required

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

@pawelbaran 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

There are 7 requests in the queue ahead of you.

@pawelbaran pawelbaran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code reviewed and tested, happy to approve 👍

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check copyright-compliance
@BHoMBot check dataset-compliance

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

  • check copyright-compliance
  • check dataset-compliance

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot check ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

  • check ready-to-merge

@pawelbaran

Copy link
Copy Markdown
Member

@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

@pawelbaran I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results.

@pawelbaran

Copy link
Copy Markdown
Member

@sakanni FYI I've just set the rtm check to neutral as per offline chat

@pawelbaran
pawelbaran merged commit 5021065 into develop Aug 7, 2026
20 checks passed
@pawelbaran
pawelbaran deleted the Revit_Toolkit-#1674-PushPileFoundation branch August 7, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Added Push PileFoundation

2 participants