Commit Graph

13852 Commits

Author SHA1 Message Date
Dion Moult d4dc9af1be Setup builds for IfcSverchok ifcopenshell-python-0.7.9 2024-06-11 15:41:18 +10:00
Dion Moult fbe25b314b Whoops 2024-06-11 14:59:29 +10:00
Dion Moult bfe36dddb7 Update deprecated set-output Github command blenderbim-0.7.9.240611 2024-06-11 14:48:37 +10:00
Dion Moult dea2b6e367 New workflow for stable IfcOpenShell-Python releases
Typically every 2 months
2024-06-11 14:42:22 +10:00
Dion Moult 5e6fe5e3cf Attempt to fix daily BBIM builds 2024-06-11 14:11:40 +10:00
Dion Moult b009913cf4 Fix #4511. IfcOpenShell builds now read from the VERSION file and expose a __version__ var. blenderbim-240611 2024-06-11 13:11:14 +10:00
Thomas Krijnen 783675f78c Fix IfcGeomServer build after c01263d721 2024-06-10 21:41:52 +02:00
Thomas Krijnen 6fb05fa743 Fix segfault on grid placement. Don't fail on nullptr transformation. #4832 2024-06-10 21:40:39 +02:00
Thomas Krijnen 2ccc598270 Re #4833 2024-06-10 21:30:26 +02:00
Thomas Krijnen d125699ca6 Re #4835 2024-06-10 21:30:01 +02:00
Thomas Krijnen 593fba98c1 Fix USE_PYTHON_OPENCASCADE setting #4832 2024-06-10 21:12:37 +02:00
Thomas Krijnen 74a42ba006 More precisely target cityjson code #4835 2024-06-10 20:56:50 +02:00
Thomas Krijnen 19933e0102 Reintroduce schema def for early bound example part 2024-06-10 20:24:26 +02:00
Thomas Krijnen c01263d721 shared_ptr styles all over #4833 2024-06-10 20:13:12 +02:00
Thomas Krijnen f2074d95fd Adapt USD serializer for v0.8 and define nominmax for windows.h compatibility 2024-06-10 20:13:12 +02:00
Thomas Krijnen 83a929604c Disable building USD-related things for now 2024-06-10 20:12:09 +02:00
D4ve-R d8c5414ed1 build scripts 2024-06-10 20:12:09 +02:00
Andrej730 ab31f9ae85 fix mistake in de80e416c 2024-06-10 19:56:02 +05:00
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 blenderbim-240610 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 blenderbim-240609 2024-06-09 16:15:55 +10:00
Bruno Postle 52f9db4522 Fix CPack source tarball generation
This was broken, now a IfcOpenShell-0.7.0.tar.gz file can be created
like so:

  mkdir build
  cd build
  cmake ../cmake/ -DEXTRA_VERSION=
  make package_source
2024-06-08 22:54:23 +01:00
Dion Moult 1e1066da3b Update and rename cd.yml to ci-ifcopenshell-docker.yml
Now only runs on manual run / tag.
2024-06-08 23:00:44 +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 blenderbim-240608 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
ifcsverchok-240607
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