Andrej730
edfcc3f74b
ifc2sql - change default database name to match default sql_type
...
Co-Authored-By: bsmithuk <68438529+bsmithuk@users.noreply.github.com >
2025-02-28 18:31:12 +05:00
Andrej730
b89ffcb6d0
SplitByBuildingStorey - ensure user won't pass a file by accident
2025-02-28 18:31:12 +05:00
Andrej730
323967b9fd
Fix ifc2sql test after 9055f14bb9
2025-02-28 18:31:11 +05:00
Andrej730
4dd10b16e6
SplitByBuildingStorey - Bonsai to recognize filepath argument after cac3d7f
2025-02-28 18:31:11 +05:00
Andrej730
15a0d43180
fix for glob pattern in 62d53ba62d
2025-02-28 18:31:11 +05:00
Andrej730
5a1f7000ec
ifcpatch - add simple test for docs generator
2025-02-28 18:31:11 +05:00
Andrej730
277aaca6c5
typing
2025-02-28 18:31:10 +05:00
Andrej730
62d53ba62d
Bonsai - recognize ifc2sql database argument as filepath #6227
2025-02-27 18:35:43 +05:00
Andrej730
9055f14bb9
Ifc2Sql - hide IFC output argument as there's already database argument #6227
...
Also handle directory paths more gracefully.
2025-02-27 18:35:43 +05:00
Andrej730
0bd608b6cb
Bonsai - ifcpatch description to include arguments descriptions
...
Also fix a bug with broken patch descriptions if some argument had more than one line for the description.
Example - https://i.imgur.com/1syL4gJ.png
Notcied working on #6227
2025-02-27 18:35:43 +05:00
Andrej730
497542d7a0
ifc2sql - small optimizations
2025-02-27 18:35:43 +05:00
Dion Moult
cfb7d026d1
IfcPatch recipe for Revit 2025 TINs import workaround
...
To understand what's going on, please read the docstring. Then please
take as much alcohol required to erase that memory.
2025-02-26 18:13:29 +11:00
Andrej730
2f6ae1745f
typing
2025-02-25 18:28:48 +05:00
Andrej730
43cc7a0304
Replace direct access to IfcStore with tool.Ifc
2025-02-19 18:31:07 +05:00
Andrej730
67bac441ad
typing
2025-02-19 18:31:06 +05:00
Andrej730
5b7964f04c
black .
2025-02-11 18:14:44 +05:00
Dion Moult
ada8cc90ef
Very minor docs rst syntax fix
2025-02-11 18:53:32 +11:00
Andrej730
59dd105e99
fix get_applicable_entities / get_applicable_types missing schema #6108
2025-02-08 07:54:49 +11:00
Dion Moult
55b9c7d6bf
Fix failing ifcpatch tests
2025-02-05 14:10:41 +11:00
Andrej730
ecd7282150
black .
2025-02-04 17:37:55 +05:00
Louis Trümpler
f0f2dda40e
Add assign constituent fractions recipe ( #5979 )
...
* Add AssignConstituentFractions recipe
* license, units & added context description
* removed src, using better unit handling and several other small improvements based on feedback
2025-02-04 14:23:08 +11:00
Dion Moult
c5185aaf54
Fix #6085 . Failing unit test.
2025-02-03 16:33:04 +11:00
Dion Moult
693244e20e
Fix bug in SetFalseOrigin which incorrectly handled z height and also add ability to handle non-mapconversion based transformations.
...
I can't believe I accidentally left out the minus sign. The ability to
handle simple remapping of location A --> B is useful for software that
doesn't support map conversion properly.
2025-01-28 17:33:15 +11:00
Andrej730
a50973ede7
typing
2025-01-14 17:41:58 +05:00
Moritz Amberger
e89d195f9b
moved full_schema, is_strcit, should_expand, should_get_inverse, should_get_psets. should_get_geometry and should_skip_geometry_data to the Patcher class definition. deleted those parameters from the patch definition so that users are able to set them by themselves. removed the hardcoded tmp-File for the db_file name
2025-01-14 09:30:34 +11:00
Dion Moult
03d3b1e52c
Changed my mind, remove AssignConstituentFractions patch. See #5441 .
2025-01-12 17:51:32 +11:00
Dion Moult
79fe1bfcfc
Minor fix from new patch recipe in PR #5441 (src no longer required)
2025-01-12 17:45:43 +11:00
Louis Trümpler
59c1d7fa54
Add AssignConstituentFractions recipe
2025-01-12 17:41:50 +11:00
Dion Moult
cac3d7f699
Fix #5939 . Fix #2751 . IfcPatch no longer needs the (rarely used) input src arg by default.
2025-01-10 16:59:45 +11:00
Thomas Krijnen
9d1daa4dc5
ifcpatch - try both out of tree and subpackage imports #5939
2025-01-07 15:43:44 +01:00
Thomas Krijnen
12800bbeee
IFCPATCH_RECIPE_DIR to allow loading out of tree recipes
2025-01-05 11:07:48 +01:00
Andrej730
6edc6cec71
Fix Migrate not migrating ifc file header #5903
2024-12-23 12:33:32 +05:00
Andrej730
c306014190
ifcpatch - input and file arguments #2751
...
documented when input is currently required
2024-12-06 18:57:55 +05:00
Andrej730
848af67fbb
typing
2024-12-06 18:57:53 +05:00
Andrej730
8d2b783b4a
fix small bug in 939cc63ca
2024-12-05 17:24:33 +05:00
Andrej730
939cc63cae
SplitByBuildingStorey - fix errors, fix Bonsai UI #4721
...
- The patch was failed when executed from Bonsai since self.src wasn't provided, fixed now.
- Added a temporary hack to diplsay file selector for this patch.
- small refactor.
2024-12-05 17:16:26 +05:00
Andrej730
2c9c3e6c7f
ConvertPropertiesToQuantities - add test
2024-11-14 18:30:47 +05:00
Andrej730
3c32c9b6ed
ConvertPropertiesToQuantities - ifc4x3 support
2024-11-14 18:30:47 +05:00
Andrej730
02621305c9
ConvertPropertiesToQuantities - small fix
...
Prevent calling add_qto if quantity set was already found in 'qtos'.
2024-11-14 18:30:47 +05:00
Andrej730
3911f51d89
Fix broken ConvertPropertiesToQuantities #5747
...
Name and Properties arguments were renamed and lowercased.
2024-11-14 18:30:47 +05:00
Andrej730
dfb0f1e828
typing
2024-11-14 18:30:47 +05:00
Andrej730
004488533f
typing
2024-11-11 18:30:55 +05:00
Andrej730
67f8c74c70
Fix processing ifcpatch docs after fe8c396e1
...
bim.update_ifc_patch_arguments in Bonsai wasn't ready for list[xxx] generic and was throwing errors and not showing browse file button.
2024-11-11 12:48:43 +05:00
Andrej730
77e6ab3b8b
MergeProjects - temporary handle old way of passing files to merge
2024-11-08 18:32:19 +05:00
Andrej730
fe8c396e12
typing
2024-11-08 18:32:19 +05:00
Blender Defender
1d3ca475d9
fix: Rename the "MergeProject" recipe to "MergeProjects" ( #5187 )
...
* fix: Rename the "MergeProject" recipe to "MergeProjects"
This rename, alongside renaming "filepath" to "filepaths" and adjusting the docstring has been done to clarify, that this patch can be used to merge multiple IFC files into one (and not just two)
* fix: Fix `test_Merge_Project.py`, which was broken due to renaming the patch recipe
2024-11-08 10:51:47 +05:00
Andrej730
d4bc34dea7
ifc2sql - remove debug print statements
2024-09-24 19:30:08 +05:00
Andrej730
0ce92587bf
ifc2sql - add test
2024-09-24 19:30:08 +05:00
Andrej730
810f42ea24
ifc2sql - clarify how output works in docs, add a suffix to temp file
2024-09-24 19:30:08 +05:00
Andrej730
4e3d6f1773
typing
2024-09-24 19:30:07 +05:00