Skip to content

170 ifc check via ids#809

Open
Cudok wants to merge 192 commits intodevelopmentfrom
170-ifc_check_via_IDS
Open

170 ifc check via ids#809
Cudok wants to merge 192 commits intodevelopmentfrom
170-ifc_check_via_IDS

Conversation

@Cudok
Copy link
Contributor

@Cudok Cudok commented Jun 10, 2025

implementation of ifc check include IDS support

@Cudok Cudok self-assigned this Jun 10, 2025
@Cudok Cudok linked an issue Jun 10, 2025 that may be closed by this pull request
8 tasks
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from 391c93a to b55da76 Compare June 25, 2025 13:00
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from a5bea01 to a4dc9d0 Compare August 26, 2025 09:36
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from ebe1d22 to 98d4efa Compare September 24, 2025 18:00
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from 5e4290a to 6a7b91c Compare October 22, 2025 12:15
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from 5c9154b to 2155865 Compare November 13, 2025 08:12
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from 94c318a to 6ad5b2a Compare December 10, 2025 14:28
@Cudok Cudok requested review from veronikarichter and removed request for veronikarichter January 30, 2026 15:57
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from 71cc31c to e497971 Compare January 30, 2026 16:12
@Cudok Cudok requested a review from veronikarichter January 30, 2026 21:42
Cudok added 28 commits February 11, 2026 14:23
include maybe later
but Error when getting information for file
including some test files
comment out stuff and change run call
filecomp fits not because order of html is randomly
is running and structured
remove not needed comment blocks
and print commands
only elements with static names will be checked
regression py3.11 3.10
integration py3.11
and add ids_file_path to sim_settings.py
@Cudok Cudok force-pushed the 170-ifc_check_via_IDS branch from e497971 to 1b720ca Compare February 11, 2026 13:23
Copy link
Member

@veronikarichter veronikarichter left a comment

Choose a reason for hiding this comment

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

Thank you for your work @Cudok !

I added several comments for minor things to change and improve. I was not able yet to fully review the check_ifc.py changes due to time constraints, but I will do it in the next round of review.

def run_simple_project():
"""Run a bim2sim project with the PluginIFCCheck

This exmaple is used while the development of the ifc check based on IDS
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This exmaple is used while the development of the ifc check based on IDS
This example is used while the development of the ifc check based on IDS

Comment on lines +17 to +18
task. After the development is finished, it can deleted or use as example
for the usage of this task.
Copy link
Member

Choose a reason for hiding this comment

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

Since you opened a pull request, I assume the development of the IfcCheck is finalized. Please update the example accordingly so it can be used as a proper example for exploring the usage of the IfcCheck.

# Create a temp directory for the project, feel free to use a "normal"
# directory
project_path = Path(tempfile.TemporaryDirectory(
prefix='bim2sim_e1_checkifc').name)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
prefix='bim2sim_e1_checkifc').name)
prefix='bim2sim_e1_checkifc_').name)

I would suggest to end the prefix with an underscore, so it is easier to read afterwards.

Comment on lines +29 to +31
# ifc_file = test_rsrc_path / 'ids/fail-a_minimal_ids_can_check_a_minimal_ifc_1_2.ifc'
# test_rsrc_path = Path(__file__).parent.parent.parent.parent / 'resources'
#
Copy link
Member

Choose a reason for hiding this comment

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

Please remove obsolete lines.

Comment on lines +38 to +44
#
# ifc file with not fitting ifc version
# ifc_paths = {
# IFCDomain.arch:
# Path(bim2sim.__file__).parent.parent /
# 'test/resources/arch/ifc/AC20-FZK-Haus_ifc23.ifc',
# }
Copy link
Member

Choose a reason for hiding this comment

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

Remove or add in another example?

all_errors=all_errors))
out_file.close()
if show_report:
# can comment out, if not the browser should show the report
Copy link
Member

Choose a reason for hiding this comment

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

please rewrite this comment

summary_props=summary_props))
out_file.close()
if show_report:
# can comment out, if not the browser should show the report
Copy link
Member

Choose a reason for hiding this comment

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

rewrite, please also apply to other similar comments

mandatory=True
)

ids_file_path = PathSetting(
Copy link
Member

Choose a reason for hiding this comment

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

Add this to the plugin-specific simsettings.

Comment on lines +59 to +60
"ifctester==0.8.1",
"pystache==0.6.8" # is a dependency from ifctester, not automatically install here
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these rather be added as plugin-specific requirements below?

path = test/resources
url = https://github.com/BIM2SIM/bim2sim-test-resources.git
branch = main
branch = 15-update_test_resources_ifccheck
Copy link
Member

Choose a reason for hiding this comment

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

change this back to main after review and merge of the test resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

integrate common tasks for validation

2 participants

Comments