-
Notifications
You must be signed in to change notification settings - Fork 23
170 ifc check via ids #809
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
Changes from all commits
Commits
Show all changes
253 commits
Select commit
Hold shift + click to select a range
6909966
add modul check_ifc_ids
Cudok 573fe9d
add/adapt tests check_ifc via ids
Cudok e02b3a1
remove test, because problem with test files
Cudok 10beacc
add test again, because issue with ifcTester
Cudok e3af98e
able to read and print the guids
Cudok 4d9afee
guid uniqeness and none check
Cudok b609a10
uncomment guid Non-check and "log" print
Cudok 08bf97e
add tests for uniqueness check of guids
Cudok 89be6af
adapt the "log" print
Cudok 9a98512
small adapt of doc string
Cudok 6a99522
add passing guid_unique test
Cudok 25b4d25
function check guid not empty
Cudok 07cb768
add test for check guid empty
Cudok 679cf8b
add test for guid 22 character
Cudok ae05fb8
add test for check 2LSB (1st version)
Cudok 1ec2fe5
separate test case with/without ifctester
Cudok 1224293
add ifccheck project and plugin
Cudok ffcbcd4
add dummy task CheckIfcNew
Cudok b412786
before integration uniqueness test guid
Cudok 0e9023b
adapt test ifc check to use class TestTask
Cudok 1e53dfb
adapt name and class name
Cudok 413a63d
ifc check with ifcLoad
Cudok 4f54c94
rename CheckIfcNew > CheckIfc and some adaptions
Cudok 67bb316
remove CheckIfcNew and adaptation
Cudok f72befd
set weather data path centraly
Cudok 41902b1
add checkIFC_guid_unique_fail to TestCheckIFC
Cudok 0a70fa2
move test_checkIFC_guid_unique_specific_guid_return
Cudok 696332d
change tested ifc files (and add decisions)
Cudok 2a05da6
put run_check_guid_empty into CheckIfc task
Cudok 378b854
remove TODO (done)
Cudok 35835fd
add test ...guid_empty_fail
Cudok 7035e59
add check_guid_empty_passion
Cudok 7820c26
rename test functions (not capital letters)
Cudok 360e837
minor correction
Cudok 17d44d1
add specific check ifc sim_settings
Cudok 42421f7
add sim_settings ids_file_path to example e3
Cudok d89be8a
only hint for later work
Cudok 2cfdb8e
implement 1st version ids test in class CheckIFC
Cudok 482705a
make run_ids_check_on_ifc static methode
Cudok 7667894
remove old stuff
Cudok 6999480
adapt path to function and remove old code
Cudok 83cf392
add adapt position of logging messages
Cudok bb449e0
bring print output in logger.info for run_ids...
Cudok 9d17279
adapt log message depending on kind of result
Cudok 62f03c8
move logge command
Cudok 8375c54
move output to log-system
Cudok e6133fd
moved test_check_ifc.py into plugingIFCCheck
Cudok 80b4bdd
add usage integration test
Cudok fcf6724
add ifctester to project.toml
Cudok 5bf2e48
add integration test for FZK-Haus
Cudok 399631d
rename module name of new CheckIfcIds
Cudok 77b9078
add 2nd integration test other ifc file
Cudok c379799
add ifctester to pyproject.toml
Cudok 44de6f4
add tests with 3rooms ifc files
Cudok e40f3a0
add report feature to ifctest base check
Cudok 372028b
remove finished todo
Cudok aaf07e0
write dummy html report file
Cudok 5fc843a
make all 3 html reports active
Cudok e53e40e
add ifc version check from check_ifc.py(old)
Cudok 5145f6b
adapt import of ifcopenshell
Cudok a801645
add test check_ifc_version
Cudok e466c07
add option auto popup of the reports
Cudok 6b85b30
correct closing tags (minor)
Cudok 295c755
add verion check into report
Cudok fd2a107
make new template and restore old template
Cudok 7e38a33
move/rename checkIFC example
Cudok 183ba62
no error rise in verion ifc check
Cudok cea4ce8
two adaption for testing reasons
Cudok 3b3072c
logger output "critical" for fail critical checks
Cudok 2d26a61
add guid check into error_summary
Cudok 72e3e01
adapt link to guid summary
Cudok 34b9084
add guid report, 1st version
Cudok c16a8c1
add/adapt a Non-unique table
Cudok 4792c7d
add table for empty guids
Cudok 4175909
forgotten change for generate template
Cudok 6f4f9d1
empty_guid > empty_guids
Cudok b7fb1d7
add todo
Cudok c1ca0cb
add if question for log output
Cudok d83896a
check u_value for ifcWindow via ids works
Cudok a932939
adapt name of requirement
Cudok 3e7e2b9
add u_value of slab
Cudok c77a420
add ifcWall to ids file
Cudok 67a7476
extend ifcSlab by ifcRoof in ids file
Cudok 0248ec6
add IfcBuilding to ids file
Cudok 2121780
add ifcBuildingStorey to ids file
Cudok 5363c19
switch to sb55 in..dev.py
Cudok 82d228d
add 1st version of space check to ids file
Cudok 128682c
add guid length = 22 character check to ids file
Cudok 205a7f3
check RatatingSpace final, no change needed
Cudok e543c82
add check ReleatedBuildingElement
Cudok c0284a3
add check ConnectionGeometry
Cudok 9483c94
move attribute check ifcConnectionSureface
Cudok 75f2fb2
add PhysicalOrVirtualBoundary to ids file
Cudok d1e037e
add InternalOrExternalBoundary to ids file
Cudok fb9ecbc
add check CorrespondingBoundary and description
Cudok 41872e7
minor correction
Cudok bb2904e
add paths to small ifc example
Cudok 37a327c
set decision answer
Cudok d504747
changes only for developing
Cudok 9e297ca
add further ifc checks taken form old ifc check
Cudok 127b215
results from def validate_sub_inst return
Cudok b4804e5
move check (by falk) to baselogic class
Cudok 8438ff2
start rearrange structure
Cudok 48a39f9
rearrange position of self.sub_inst
Cudok cf8cc81
rename filter ifc data variables, adapt doc string
Cudok 76f6923
move BPS specific checks to CheckLogicBPS
Cudok 228e38a
add check ConnectionGeometry CheckLogicBPS
Cudok 70a1830
add check functions: relating_elem, related_elem
Cudok 1820dc9
add check basis surface
Cudok deaf633
add check func inner_boundaries
Cudok 4721756
add check func outer_boundary_composite
Cudok 36cda42
add check func check_segments
Cudok 492ec17
add func check_segments_poly_coords
Cudok c2fad7c
add check outer_boundary_poly, outer_boundary_poly_corrd
Cudok 706cd3f
add check plan position
Cudok db376eb
add check location
Cudok 6ed86e3
add check axis
Cudok d759aef
add check refdirection
Cudok bf3c8f0
add check location coord
Cudok 1ce3e85
add check axis dir ratios
Cudok 5250518
check refdirection dir ratios
Cudok 3afe83c
add _check_inst_sb
Cudok c1ecf9c
remove not needed lines
Cudok 03e4a8a
add check inst materials
Cudok 5f7499b
add check inst properties
Cudok d64dcfb
add check inst containded in structrure
Cudok 84978ed
add check inst representation
Cudok 37fc6c1
rename example file
Cudok fb67813
example check ifc for hvac use cases
Cudok d8a7b9d
rename ifc_props.ids > ifc_bps.ids
Cudok 645f768
add check FlowDirection to hvac ids
Cudok 646c5d8
add new class CheckLogicHVAC and check assignments
Cudok 22c749c
add check connection
Cudok 9fe44a7
add check contained in
Cudok 0de57bc
rename object
Cudok 1037060
add check inst port
Cudok ac03676
add check contained in structure
Cudok d7281ae
add check inst properties
Cudok 84ef263
add check representation
Cudok b45b96b
use check assignments also for elements
Cudok 94ee47e
remove debug print
Cudok ba75bb7
adapt ifcopenshell import
Cudok 9581910
remove not needed TODOs
Cudok 6abcf82
remove not needed import
Cudok 9a7aa73
remove not needed TODO
Cudok 62222d3
remove not needed debug prints
Cudok f6e7764
adapt paths to functions
Cudok f3abe98
remove leavings form older versions
Cudok 14bc908
rename files and remove not used parts
Cudok 28a71ad
adapt 1 path to test resource
Cudok 1dbef74
remove not used part (was an idea)
Cudok 27f2580
adapt the checks related to bound.ConnectionGeometry
Cudok a18add4
adapt integration test
Cudok dee0552
add another example
Cudok 2876b05
remove not used imports
Cudok 364bdec
switch to an more sophisticated ids file
Cudok e1392c6
update submodule resources (some test ifc files)
Cudok 422ef23
change file pathes (to /test/resources)
Cudok 380eba6
adpte branch of the test/resources submodule
Cudok d20464a
adapt file pathes of the test resources
Cudok 9771819
starting point of the regression test
Cudok d503084
remove not needed part
Cudok 751d170
empty regression test (starting point)
Cudok 48d74de
regr test is running
Cudok 895eced
add jupyter notebook example
Cudok 2efdacf
comment out not needed setup
Cudok 6a36086
switch ifc file
Cudok 05e0e66
switch resources commit
Cudok 992e788
simplify the test code
Cudok f71db2b
find the path to the result html files
Cudok 8259a4f
switch to lxml
Cudok cd8dc86
1st regression test for ifc check
Cudok 70f52c8
rename test and clean up
Cudok b86923c
add test for report 'error_summary_prop'
Cudok 1ad672f
some clean up
Cudok 0fe863a
path change (only temporary)
Cudok 6f56f5e
remove disturbing (and unnecessary) spaces
Cudok 2be5e50
2nd test func finished
Cudok d2156c0
add some line breaks
Cudok 903fcd3
add test for summary report
Cudok f2c730b
add reg test for summary_guid
Cudok 9ac5bd5
clean up, remove unused stuff
Cudok af875d4
switch to files from /test/resources
Cudok 8af3284
disable automatic show up generated reports
Cudok 01cff40
unsure clean close of the opened file
Cudok 6f67762
add integration test for IFCCheck (py3.10)
Cudok c41eaad
skip unit test (ifcTester issue)
Cudok 1e8f63d
add test to ci for ifccheck
Cudok 1b720ca
exchange check_ifc (check_ifc_ids >> check_ifc)
Cudok d34ca7e
Update bim2sim/plugins/PluginIFCCheck/bim2sim_ifccheck/examples/e1_ch…
Cudok 87f5954
remove unnecessary comments
Cudok 079cae6
add a comment
Cudok 123d0dd
remove unnecessary comments
Cudok fc1b534
add underscore (better readable)
Cudok dc50225
remove unnecessary comments and commands
Cudok e39b36c
remove necessary comments
Cudok 70545da
remove unnecessary comments
Cudok ef5eb78
remove unnecessary settings from integration tests
Cudok 2a4dba4
remove obsolete function
Cudok 5e20e46
removed obsolete function
Cudok ac7e360
rewrite comment
Cudok f7a8901
rewrite comment
Cudok cbff26f
move ids_file_path definitition
Cudok 6c7b029
test ci (ifccheck integration is not working)
Cudok 4a3a0a6
test ci 2nd (ifccheck integration is not working)
Cudok 5f93a20
rename regression tests
Cudok 3fc7b05
comment out task ifccheck
Cudok 7445b21
update docstring of run function
Cudok 86d5dd0
make (double used) sequence into function
Cudok 4a8c1b5
correct indentation
Cudok 0bd835b
remove not necessary TODOs
Cudok 1544b62
add warning message & uppercase letter guid check
Cudok 8bfb7b9
move dependencies of ifccheck to separate section
Cudok 4d02eee
move task ifccheck to a new task group
Cudok 9bab461
add function to generate xpaths
Cudok b7ab23f
correction of a typo
Cudok 9504ff6
rename function
Cudok e1fe22b
create function to generate xpaths but 1 input
Cudok 154db29
implement xpath generation function
Cudok 9c61815
formal corrections, mainly on docstrings
Cudok b421ef1
formal corrections part 2
Cudok df83db9
formal correction, mainly line length
Cudok 6cf1c02
formal correction, mainly line length
Cudok 9268f75
remove unnecessary lines
Cudok 068ad64
remove unnecessary import
Cudok cad9e4c
minor formal corrections
Cudok 71d537e
remove unnecessary imports and formal corrections
Cudok bbcd5f3
remove unnecessary imports and formal corrections
Cudok 3adff02
remove unnecessary imports and formal corrections
Cudok ade1edf
remove unnecessary imports and formal corrections
Cudok d8207b8
remove unnecessary imports and add 1 line
Cudok 5f10d35
change name prepro >> checks
Cudok b90910c
correction of docstring
Cudok 6747a8e
clariefy docstrings
Cudok b611cc6
update the explanation for not running this test
Cudok ac07ad2
remove unnecessary imports
Cudok c2830a9
formal corrections
Cudok a721388
rename variable ifc_files_paths >> ifc_file_paths
Cudok 68da8c8
remove unnecessary import
Cudok 4cc0326
make ids_file_path mandatory
Cudok e8cd2dd
spelling correction
Cudok fedfe31
correct typo
Cudok 7a58882
correct docstring Input: >> Args:
Cudok 910340b
remove empty line
Cudok 550fed4
minor spell correction
Cudok b65f7f2
remove parentheses
Cudok fb80deb
correct a typo error_version >> version_error
Cudok 4a97ce4
rephrase of comments
Cudok e256472
rename variables to check_logic..
Cudok f896b21
make two functions to be staticmethod
Cudok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| <style type="text/css"> | ||
| .tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} | ||
| .tg td{background-color:#fff;border-color:#ccc;border-style:solid; | ||
| border-width:1px;color:#333; | ||
| font-family:Arial, sans-serif;font-size:14px;overflow:hidden; | ||
| padding:10px 6px;word-break:normal;} | ||
| .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid; | ||
| border-width:1px;color:#333; | ||
| font-family:Arial, sans-serif;font-size:14px;font-weight:normal; | ||
| overflow:hidden;padding:10px 6px;word-break:normal;} | ||
| .tg .tg-c3ow{border-color:inherit;text-align:center;vertical-align:top} | ||
| .tg .tg-fymr{border-color:inherit;font-weight:bold;text-align:left; | ||
| vertical-align:top} | ||
| .tg .tg-7btt{border-color:inherit;font-weight:bold;text-align:center; | ||
| vertical-align:top} | ||
| .tg .tg-dvpl{border-color:inherit;text-align:right;vertical-align:top} | ||
| .tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top} | ||
| </style> | ||
| <h2>Overview</h2> | ||
| <table class="tg"> | ||
| <thead> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt">GUID error Summary</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt"><a href="#NonUniqueGUID">Non-Unique GUID</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-fymr">Total non-unique GUIDs:</td> | ||
| <td class="tg-dvpl"> ${len(double_guids)}</td> | ||
| </tr> | ||
|
|
||
| <tr> | ||
| <th colspan=2 class="tg-7btt"><a href="#EmptyGUID">Empty GUID</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-fymr">Total Empty GUIDs:</td> | ||
| <td class="tg-dvpl"> ${len(empty_guids)}</td> | ||
| </tr> | ||
| </tbody> | ||
| </table><br> | ||
|
|
||
| <h2 id="NonUniqueGUID">Non-Unique GUIDs</h2> | ||
| <table class="tg"> | ||
| <thead> | ||
| <tr> | ||
| <th class="tg-1wig">GUID</th> | ||
| <th class="tg-1wig">Name</th> | ||
| </tr> | ||
| </thead> | ||
| %for guid, values in double_guids.items(): | ||
| <tr> | ||
| <td class="tg-1wig">${guid}</td> | ||
| <td class="tg-1wig">${values.Name}</td> | ||
| </tr> | ||
| %endfor | ||
| </tbody> | ||
| </table><br> | ||
|
|
||
| <h2 id="EmptyGUID">Empty GUIDs</h2> | ||
| <table class="tg"> | ||
| <thead> | ||
| <tr> | ||
| <th class="tg-1wig">Generated Key (bim2sim)</th> | ||
| <th class="tg-1wig">Name</th> | ||
| <th class="tg-1wig">GlobalID</th> | ||
| </tr> | ||
| </thead> | ||
| %for key, values in empty_guids.items(): | ||
| <tr> | ||
| <td class="tg-1wig">${key}</td> | ||
| <td class="tg-1wig">${values.Name}</td> | ||
| <td class="tg-1wig">${values.GlobalId}</td> | ||
| </tr> | ||
| %endfor | ||
| </tbody> | ||
| </table><br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
bim2sim/assets/templates/check_ifc/summary_template_extend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| <style type="text/css"> | ||
| .tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} | ||
| .tg td{background-color:#fff;border-color:#ccc;border-style:solid; | ||
| border-width:1px;color:#333; | ||
| font-family:Arial, sans-serif;font-size:14px;overflow:hidden; | ||
| padding:10px 6px;word-break:normal;} | ||
| .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid; | ||
| border-width:1px;color:#333; | ||
| font-family:Arial, sans-serif;font-size:14px;font-weight:normal; | ||
| overflow:hidden;padding:10px 6px;word-break:normal;} | ||
| .tg .tg-c3ow{border-color:inherit;text-align:center;vertical-align:top} | ||
| .tg .tg-fymr{border-color:inherit;font-weight:bold;text-align:left; | ||
| vertical-align:top} | ||
| .tg .tg-7btt{border-color:inherit;font-weight:bold;text-align:center; | ||
| vertical-align:top} | ||
| .tg .tg-dvpl{border-color:inherit;text-align:right;vertical-align:top} | ||
| .tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top} | ||
| </style> | ||
|
|
||
| <table class="tg"> | ||
| <thead> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt">${plugin_name} Error Summary</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt"> | ||
| <a>IFC Version</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">IFC Version:</td> | ||
| <td class="tg-dvpl"> ${ifc_version}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Version error:</td> | ||
| <td class="tg-dvpl"> ${version_error}</td> | ||
| </tr> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt"> | ||
| <a href="${base_name}_error_summary_guid.html">GUID general</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Unique GUID:</td> | ||
| <td class="tg-dvpl"> ${all_guids_unique}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total non-unique GUIDs:</td> | ||
| <td class="tg-dvpl"> ${len(double_guids)}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Empty GUID:</td> | ||
| <td class="tg-dvpl"> ${all_guids_filled}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total Empty GUIDs:</td> | ||
| <td class="tg-dvpl"> ${len(empty_guids)}</td> | ||
| </tr> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt"> | ||
| <a href="${base_name}_error_summary_inst.html">Errors in IFC</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total IFCProduct with errors:</td> | ||
| <td class="tg-dvpl"> | ||
| ${len(task.error_summary_inst)}/${len(task.elements)}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total errors in IFCProducts:</td> | ||
| <td class="tg-dvpl">${sum(summary_inst['per_error'].values())}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total ${task.sub_inst_cls} with errors:</td> | ||
| <td class="tg-dvpl"> | ||
| ${len(task.error_summary_sub_inst)}/${len(task.sub_inst)}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total errors in ${task.sub_inst_cls}:</td> | ||
| <td class="tg-dvpl">${sum(summary_sbs['per_error'].values())}</td> | ||
| </tr> | ||
| <tr> | ||
| <th colspan=2 class="tg-7btt"><a href= | ||
| "${base_name}_error_summary_prop.html">Missing Attributes for | ||
| ${plugin_name}</a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total IFCProduct with missing properties:</td> | ||
| <td class="tg-dvpl"> | ||
| ${len(task.error_summary_prop)}/${len(task.elements)}</td> | ||
| </tr> | ||
| <tr> | ||
| <td class="tg-dvpl">Total missing properties in IFCProducts:</td> | ||
| <td class="tg-dvpl">${sum(summary_props['per_error'].values())}</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
19 changes: 19 additions & 0 deletions
19
bim2sim/plugins/PluginIFCCheck/bim2sim_ifccheck/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| """Template plugin for bim2sim. | ||
| Holds a plugin with only base tasks mostly for demonstration. | ||
| """ | ||
| from bim2sim.plugins import Plugin | ||
| from bim2sim.tasks import checks, common | ||
| from bim2sim.plugins.PluginIFCCheck.bim2sim_ifccheck.sim_settings import \ | ||
| CheckIFCSimSettings | ||
|
|
||
|
|
||
| class PluginIFCCheck(Plugin): | ||
| """PluginIFCCheck template.""" | ||
|
|
||
| name = 'IFCCheck' | ||
| sim_settings = CheckIFCSimSettings | ||
| default_tasks = [ | ||
| common.LoadIFC, | ||
| checks.CheckIfc, | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.