Skip to content

General PR Patch #138

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

Merged
merged 10 commits into from
Nov 18, 2024
Merged

General PR Patch #138

merged 10 commits into from
Nov 18, 2024

Conversation

9and3
Copy link
Contributor

@9and3 9and3 commented Oct 30, 2024

description

Various fixes and new features from testing DF in the evaluation of AugmentedCarpentry experimental campaign.

new features

  • new components DFExportResults, DFImportResults, DFInspectResults: I added the serialization of the result object so that it can be saved locally under the extension .diffCheck , shared and reloaded. This was needed when evaluating multiple elements and not having the need to have a .gh for each and re-run the results each time. This way this file can be lightweight and shared for repeatability.

  • new component DFSaveCloudToPLY: simple as that.

fixes

  • broken docs: I got rid of the component DF_cloud_cloud_distance since it was broken but it was still included in the publication
  • DFCsvExporter gh component distances export problem: we had a problem in exporting distances in one cell especially when exporting analysis data of large structures. In fact the limit of the csv of chars per cell is ~30k. To solve this problem, I added a separate toggle button to export distances as separate files but with id identification both in file naming and as a second column in the csv.
  • added automatic buttons for toggles for the DFCsvExporter gh component as an extra crunchy perk 🥫
  • fix gh component DFLoadCloudFromFile input checks to avoid errors + default scale value set to 1.0f

documentation

  • testing + documentation for the new components and modifications of python and c++ added

@9and3 9and3 added enhancement New feature or request dev patch cleaning labels Oct 30, 2024
@9and3 9and3 self-assigned this Oct 30, 2024
@9and3 9and3 marked this pull request as ready for review November 13, 2024 19:36
@9and3
Copy link
Contributor Author

9and3 commented Nov 13, 2024

hello @eleniv3d and @DamienGilliard , if you have the time to review or at least have a look and validate the new features would be great, no major breaking changes in it anyways. Cheers!

Copy link
Collaborator

@DamienGilliard DamienGilliard left a comment

Choose a reason for hiding this comment

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

Hi @9and3 , Thanks a lot for this pr. I just added 2 general remarks, both of which I can implement if you want. I still approved the PR in case we leave it like that.
Cheers !

@9and3
Copy link
Contributor Author

9and3 commented Nov 15, 2024

@DamienGilliard thanks for the feedback, very good spot for the pickle. Just went and came back from hell and the serialization is now JSON based, I also managed to make it a bit lighter without indentation. If there isn't anything else, this is good to go to main.

@9and3 9and3 merged commit 5cb47e3 into main Nov 18, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants