Dion Moult
293cee414a
New VERSION file and make BBBIM and docs based on version string
2024-06-11 00:09:28 +10:00
Andrej730
8067d0c4f6
IfcParseExample to support IFC4 after 2948d08
2024-06-10 17:43:07 +05:00
Andrej730
a70b7e319b
cmake - build alignment examples only if 4x3 schema is available
...
As they doesn't support other schemas.
2024-06-10 17:43:07 +05:00
Andrej730
de80e416c3
use get_shape_matrix util function where it's possible
2024-06-10 17:43:07 +05:00
Andrej730
51f859d8e4
typing
2024-06-10 17:43:06 +05:00
Andrej730
6552463ed9
sequence.remove_task to remove IfcRecurrencePattern
2024-06-10 16:55:21 +05:00
Andrej730
d56da70cae
sequence.assign_recurrence_pattern - fix bug assigning pattern to a task time recurring
...
It wasn't considering that IfcTaskTimeRecurring might be just created and IfcTaskTimeRecurring.Recurrence is None resulting in error below
File "\api\sequence\assign_recurrence_pattern.py", line 120, in assign_recurrence_pattern
if len(file.get_inverse(settings["parent"].Recurrence)) == 1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\file.py", line 524, in get_inverse
inverses = [entity_instance(e, self) for e in self.wrapped_data.get_inverse(inst.wrapped_data)]
AttributeError: 'NoneType' object has no attribute 'wrapped_data'
2024-06-10 16:55:21 +05:00
Andrej730
6cab7d964e
sequence.remove_work_time to remove IfcRecurrencePattern
...
Previously it was leaving them orphaned.
2024-06-10 16:55:21 +05:00
Andrej730
1343741cfd
sequence.remove_work_calendar to remove related work times
...
Previously they were leaved orphaned
2024-06-10 16:55:20 +05:00
Andrej730
7c713eee65
nest.remove_task to clean up ownerhistory in more cases
...
1) It wasn't removing ownerhistory in the case if task was RelatingObject in IfcRelNests
2) Replaced handling of IfcRelNests as an inverse with direct api calls.
3) Added some basic tests.
2024-06-10 15:51:03 +05:00
Dion Moult
277e53d5ac
General cleanup of collection code in covering tool and dead arguments.
...
It seems there is a lot of copy paste going on here. There needs to be a more detailed review once the v0.8.0 blob is more stable because right now I cannot fully test - it's hard to say if create_shape fails due to our bug or due to v0.8.0 not yet being stable. I'll revisit this later.
2024-06-10 18:07:01 +10:00
Dion Moult
1b63d9e88f
Railing/roof/stair/window now use default collection. Continue removing old "active collection" code.
2024-06-10 16:13:00 +10:00
Dion Moult
e520c2ce8a
Model module walls/slabs/products/mep now use the default container too.
2024-06-10 16:06:36 +10:00
Dion Moult
94f54fd4cb
Generating a space now is based on the default collection
2024-06-10 15:36:55 +10:00
Dion Moult
e6ac012f57
Loading IFCs now also uses tool.Collector.assign instead of implementing the logic twice
2024-06-09 16:55:19 +10:00
Dion Moult
72998b4eac
Drawing style queries now use new selector syntax
2024-06-09 16:53:36 +10:00
Dion Moult
177b8218ee
Creating grids now uses tool.Collector.assign instead of reimplementing collection management
2024-06-09 16:53:04 +10:00
Dion Moult
6e0665bd31
Fix bug where grid axes didn't accommodate cartesian offsets
2024-06-09 16:52:26 +10:00
Dion Moult
cdce612566
Update all geom settings to new v0.8 syntax
2024-06-09 16:15:55 +10:00
Dion Moult
072b9fd147
Start simplifying collection tree to only place items in their container and only one level deep.
...
This should heavily simplify the complex logic around blender collections and give freedom to the user to do whatever they want.
2024-06-08 22:26:41 +10:00
Dion Moult
3a1f1af803
Bump docs for v0.8.0
2024-06-08 14:50:18 +10:00
Dion Moult
03b277626f
See #4832 . Use shape.transformation.matrix in v0.8.0
2024-06-08 14:50:02 +10:00
Andrej730
cd2e33721e
Remove deprecated STRICT_TOLERANCE setting #4832
...
Mentioned in #4565 , it's now "set" by default
2024-06-08 00:33:17 +05:00
Andrej730
2d7a7a8bc3
update blenderbim/ifcsverchok branches #4832
2024-06-08 00:23:54 +05:00
Andrej730
b1d9c2df64
bump ifcopenshell build #4832
2024-06-08 00:19:18 +05:00
Dion Moult
c4dfbdbe2e
Merge branch 'v0.7.0' into v0.8.0
2024-06-07 23:48:39 +10:00
Dion Moult
e3cb811225
WARNING: Remove collection syncing. The outliner no longer is used to change spatial hierarchy.
...
This is a BREAKING change (on purpose). If you want to change containment / aggregation, use the UI panels, not drag and drop on the outliner.
2024-06-07 22:55:18 +10:00
Andrej730
db98f13982
typing
2024-06-07 17:15:52 +05:00
Andrej730
61c2a2c6c6
remove_work_schedule to unassign a work schedule from a work plan #4819
2024-06-07 17:15:51 +05:00
Andrej730
5c41baeaf1
remove_work_plan - unassign work schedules #4819
2024-06-07 17:15:51 +05:00
Andrej730
f8a5ce34a8
fix redeclarations in tests
2024-06-07 17:15:51 +05:00
Andrej730
4078140079
distance_limit, false_origin tooltips
2024-06-07 17:15:51 +05:00
Dion Moult
c9d724fe18
You can now set a default spatial container.
...
This will supersede having an active Blender collection selected.
2024-06-07 21:53:21 +10:00
Dion Moult
03b2afbb31
Fix IfcCSV docs to use new selector syntax.
2024-06-07 20:08:23 +10:00
Dion Moult
f0a19cb054
Fix #4815 . Purge deprecated old selector syntax.
2024-06-07 20:08:11 +10:00
Dion Moult
f565b4e8f0
Minor georeferencing offset fix after recent fixes
2024-06-07 20:06:57 +10:00
Dion Moult
af5838cba6
Fix #4821 . Bug where empty true norths were still set.
2024-06-07 16:30:19 +10:00
Dion Moult
d0058a1bde
Fix #4802 . Fix ability to edit CARTESIAN_POINT offset meshes in offset models.
2024-06-07 14:32:00 +10:00
Dion Moult
698c648413
Fix #3757 . Adding objects in offset models now correctly stores georeferenced coordinates.
2024-06-07 12:47:41 +10:00
Dion Moult
8f64ef4465
Fix bug where incorrect units were calculated in the geometry offset UI
2024-06-07 10:40:23 +10:00
Bernd Hahnebach
a16c159b7f
BBIM, bcf, ignore problematic topics in case of markup
2024-06-06 22:06:42 +02:00
Bernd Hahnebach
04b641c49c
BBIM, bcf, fix colors for hex with alpha channel
2024-06-06 22:06:42 +02:00
Bernd Hahnebach
84d475cfd3
BBIM, bcf, fix setting the viewpoint components
2024-06-06 22:06:42 +02:00
Bernd Hahnebach
afe7d526a5
BBIM, bcf, fix if either project or project name is missing in bcf
2024-06-06 22:06:42 +02:00
Dion Moult
98ec3e2301
Fix #4677 . Fix #4809 . Major improvement to local session offset during project loading (see description)
...
This improves four things:
1. Previously, we either used OBJECT_PLACEMENT or CARTESIAN_POINT, but couldn't handle scenarios where simultaneously both the placement and the coords were rubbish for a single object. Now we offset all far cartesian points, so it consistently works and we keep track of a per-object offset.
2. Previously, we applied the georeferencing conversion on every cartesian point which was very slow. The new method uses a simple XYZ translation which is super fast.
3. We now use numpy which should be much faster too.
4. Previously, objects were selectively offset based on whether they fell outside the distance limit. Now, we uniformly treat all non-geometric elements at 0,0,0 as insignificant positionally. This fixes the issue where half the model is offset and the other half isn't, but maintains the fix for situations where the site (typically) is at 0,0,0 and everything else is map coords.
2024-06-06 11:54:07 +10:00
Dion Moult
cfd0ed60cf
Reduce (arbitrary) element checking threshold down to 3 for georef guessing.
2024-06-06 09:34:32 +10:00
Ryan Schultz
802e1966fd
small tweak
2024-06-05 08:21:28 -05:00
Ryan Schultz
b57a1e5ea8
Adding a 'magic_font_scale'
...
https://community.osarch.org/discussion/2202/blenderbim-edit-text-preview-size
2024-06-05 08:12:22 -05:00
Ryan Schultz
b92e78b137
added styles search
2024-06-05 07:43:17 -05:00
Gorgious56
8b69ea464f
Fix variable name in code example
2024-06-05 08:19:29 +02:00