krande
eb91f5179b
suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12).
2023-11-28 15:03:31 +01:00
Thomas Krijnen
4166384ab3
Enable setting ITERATOR_OUTPUT from python
2023-11-28 12:59:32 +01:00
Andrej730
c6643da4ba
created uv map to have constistent name with Blender uvs
...
Previously it was named "Float2"
2023-11-28 16:01:10 +05:00
Andrej730
18c93a13ec
moved load_texture_map to tool.Loader, added a test
2023-11-28 15:53:40 +05:00
Andrej730
7cb582de5d
bim.save_uv_to_style - experimental operator to save current uv to ifc
...
it's very limited and covering very little cases now. It works only for IfcPolygonalFaceSets representations that consists of triangles.
Short example - https://imgur.com/a/1AxunSN
2023-11-28 15:53:40 +05:00
Andrej730
a5bb458d3d
fixed issue importing uv failing for some IfcPolygonalFaceSets
...
It was failing with IfcIndexedTriangleTextureMap + IfcPolygonalFaceSet
2023-11-28 15:34:21 +05:00
Andrej730
c7f6a5e621
fixed issue importing uv on non meters projects
2023-11-28 12:17:31 +05:00
Andrej730
141e0240d4
fixed issue settings style blender props if there are not texture style
2023-11-28 12:17:30 +05:00
Andrej730
15cd2b6075
fixed issue with importing ifc objects with uv after 03a6ee912
2023-11-28 12:17:30 +05:00
Dion Moult
fab8b5b702
Fix #3059 . Implement IfcTester prohibited string templates (taking into account double negatives)
2023-11-28 17:20:20 +11:00
c4rlosdias
844f4c4944
Update IfcTester and Tester module of Blenderbim
2023-11-28 16:48:19 +11:00
Dion Moult
03809b3d5e
Fix #3996 . Reassigning occurrences or types now also reassigns the correlating occurrence or type.
2023-11-28 16:44:31 +11:00
Dion Moult
3e268be5c7
Fix #4052 . Bug where invalid plane was generated due to missing X axis.
2023-11-28 11:52:56 +11:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
Kristoffer Andersen
58414777be
Update installation.rst
...
add more information about conda package installation
2023-11-27 10:25:11 +01:00
Dion Moult
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +11:00
Andrej730
f215670381
Small styles UI tweaks
...
- fixed a typo in bim.select_by_style
- added note to clarify what Shade/Render/Texture/Lighting/etc buttons do and moved style selection block at the beggining (maybe it's just me but when edit buttons are above selection ui it seemed like they affect all the styles somehow, not just the currently active one), so it will be more intuitive
Before:
https://i.imgur.com/jRSTLGI.png
After:
https://i.imgur.com/8ih4qSX.png
2023-11-27 12:29:28 +05:00
Andrej730
11df5065e4
bim.validate_ifc_file to detect if there where no validation errors
2023-11-27 11:18:38 +05:00
Dion Moult
ed47b6b227
Fix #4044 . Bug where object in camera view algorithm was wrong. Simplied to simple AABB test.
2023-11-25 16:02:51 +11:00
Andrej730
6216ee9a98
Fixed issue duplicating IfcRelSpaceBoundary #4043
2023-11-24 20:37:23 +05:00
Andrej730
848d6b294e
Fixed console errors with BIM Tool when boundary object is selected
2023-11-24 20:24:25 +05:00
Andrej730
795a372ac9
test creating surface style without IFC entities
2023-11-24 16:49:02 +05:00
Andrej730
03a6ee9121
BBIM Shader Graph Settings - setting uv mode for the textures
...
Now you can set UV mode that will be used to sample textures (previously it was always using UV data on geometry or breaking if it was otherwise). Basically now you can use autogenerated UV for the objects without UV.
https://i.imgur.com/WtYdpmU.png
Removed BIMMaterialProperties.ifc_coordinate_id as it was only used during the ifc_import and maintained by the `Loader.create_surface_style_with_textures` which is also used to update live shader graph that not always have specific IFC id for the UV.
2023-11-24 15:52:31 +05:00
Andrej730
5299a9d8a2
Fixed issue updating texture style for non-faceset representations
2023-11-24 15:24:56 +05:00
Dion Moult
ea6c8fe2f8
Fix #4027 . Fix regression where S-D or A-D hotkeys didn't follow vanilla Blender behaviour from 81a1bd9
2023-11-24 15:09:29 +11:00
Dion Moult
c7268b6f42
Fix #4037 . IfcTester reports now also include an element type column.
2023-11-24 14:44:28 +11:00
Dion Moult
5937ed4b63
Fix #4034 . Bug where abstract pset template applicabilities didn't apply to occurrences as well as types.
2023-11-24 14:02:27 +11:00
Bruno Postle
8f650c56e5
Revert 1d972a6 as no datetime.UTC on CI server
2023-11-23 21:59:23 +00:00
Bruno Postle
1d972a6a6f
fix python 3.12 utcnow() deprecation warning
...
Warning is:
/usr/lib64/python3.12/site-packages/ifcopenshell/api/project/create_file.py:61:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
2023-11-23 21:16:24 +00:00
Bruno Postle
70a1d7d345
python api documentation fix
2023-11-23 21:15:24 +00:00
Bruno Perdigão
d23e32c64a
added report messages
2023-11-23 10:57:17 -03:00
Bruno Perdigão
b815719477
added the option to refresh different groups of linked aggregate
2023-11-23 10:27:54 -03:00
Gorgious56
0612d2b615
You can now select the same ifc classes and match predefined types with SHIFT + Clicking the "Select Ifc Class" button
2023-11-23 09:52:37 +01:00
Andrej730
0da210b732
edit_object_placement optimization for objects with subchildren #4035
...
1) We were iterating over same subchildren 2 or more times.
2) There is no need to change subchildren position at all since their parent position is already adjusted.
Explained here in detail - https://github.com/IfcOpenShell/IfcOpenShell/issues/4035#issuecomment-1822824352
2023-11-23 13:43:39 +05:00
Dion Moult
9429e478fe
Fix #3691 . Add toggle for power users to disable the BIM toolbar if an IFC isn't loaded.
2023-11-23 14:59:26 +11:00
Dion Moult
2f6c50d9c2
New style manager supports basic editing of externally defined surface styles
2023-11-23 13:17:33 +11:00
Dion Moult
640341715c
Minor IfcPatch doc fix where examples had a missing argument
2023-11-23 12:07:29 +11:00
Dion Moult
42878e325e
Minor fix to "select multiple IFC class" implementation
2023-11-23 11:18:04 +11:00
Dion Moult
ac5cf95f9e
IfcFM panel now autodetects available engines with names and descriptions
2023-11-23 11:00:10 +11:00
Richard Brice
2126381a15
Adds conversion settings to control the granularity of points computed for a piecewise_function
2023-11-22 15:49:24 -08:00
Ryan Schultz
c9189055c7
Select all objects from multiple selected classes
2023-11-22 10:47:04 -06:00
Richard Brice
39c3cac05d
Fixes bugs in segment reference curve geometry
2023-11-22 08:32:59 -08:00
Andrej730
6a08993f5e
fill userdefined type field during reassigning IFC class #4034
...
to avoid confusion
2023-11-22 15:01:36 +05:00
Andrej730
df2a50b335
store path to bcf in Blender file to reaccess it on Blender restart
...
Previously it was throwing errors if load .bcf and then restart Blender, since it was just trying to reaccess file in BcfStore.bcfxml which is gone after Blender restart. Now we store filepath to bcf in Blender properties to reload it after Blender restart.
Removed BCFProperties.is_loaded as it won't be possible to rely on it after Blender restart - after restart it will still indicate that file is loaded and it won't be possible to change it from .poll and .draw if file is gone.
2023-11-22 11:55:07 +05:00
Dion Moult
c7543ff48d
New graphical element filtering UI for drawing filters that lets you also use saved searches.
2023-11-22 15:33:30 +11:00
Dion Moult
1f75fa09ae
If there is a Blender offset, show the non-offset placement in the placement panel
2023-11-22 11:32:14 +11:00
Dion Moult
94ce8e2c9c
Fix bug when loading IFC with unsupported reflectance method (even though we don't fully support them yet)
2023-11-22 11:00:47 +11:00
Dion Moult
85e94d2cfc
Move georeferencing calculator panel until scene georeferencing panel.
...
Slowly all the N sidebar panels should be moved away.
2023-11-22 11:00:47 +11:00
Andrej730
c2b332da48
BCF Viewpoint - clear selection before hiding IfcSpaces #4031
2023-11-21 22:12:26 +05:00
Richard Brice
5f7e89a5f8
Implements IfcOffsetCurveByDistance mapping
2023-11-21 08:54:06 -08:00