Push of PileFoundation added - #1675
Conversation
Generate Freeform PileFoundation with nested piles Match pile foundation families by outline, layout and diameter Preserve extrusion associations on freeform pile cap
pawelbaran
left a comment
There was a problem hiding this comment.
Initial code review so far, will do the testing now and continue digging in the code 👍
|
@pawelbaran to confirm, the following actions are now queued:
|
pawelbaran
left a comment
There was a problem hiding this comment.
More general comments:
- you need to merge
developinto your branch, now yours is far behinddevelop - 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

- pile foundation pushed from GH looks as follows:

...after pulling back from Revit, it is like this:

...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:- find top and bottom of the pile
- 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
- set the depth = bottom of the pile cap - pile bottom
- I would consider tweaking the naming:
- 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)
|
@BHoMBot check compliance |
|
@pawelbaran to confirm, the following actions are now queued:
There are 3 requests in the queue ahead of you. |
|
@BHoMBot check compliance |
|
@pawelbaran to confirm, the following actions are now queued:
There are 1 requests in the queue ahead of you. |
|
@pawelbaran to confirm, the following actions are now queued:
There are 1 requests in the queue ahead of you. |
|
@BHoMBot check required |
|
@pawelbaran to confirm, the following actions are now queued:
There are 7 requests in the queue ahead of you. |
pawelbaran
left a comment
There was a problem hiding this comment.
Code reviewed and tested, happy to approve 👍
|
@pawelbaran to confirm, the following actions are now queued:
|
|
@BHoMBot check ready-to-merge |
|
@pawelbaran to confirm, the following actions are now queued:
|
|
@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: ready-to-merge |
|
@pawelbaran I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results. |
|
@sakanni FYI I've just set the rtm check to neutral as per offline chat |


NOTE: Depends on
Issues addressed by this PR
Closes #1674
Test files
#1674-PushPileFoundation
Changelog
Additional comments