Commit Graph

13852 Commits

Author SHA1 Message Date
Andrej730 2d937890f0 bump svgfill 2024-04-17 14:42:54 +02:00
ChristophMellueh 84edec0af9 add missing Props request 2024-04-17 14:42:54 +02:00
Dion Moult 02e9cb06b4 You can now flip clipping planes 2024-04-17 14:42:54 +02:00
Dion Moult 3ef4927e55 New clipping planes feature. 2024-04-17 14:42:54 +02:00
Dion Moult d333df8b73 You can now query data about a linked object from a SQLite cache. 2024-04-17 14:42:54 +02:00
Dion Moult 00b356d48d Fix #4279. You can now link in IFCs directly with efficient chunking instead of having to first create blend files 2024-04-17 14:42:54 +02:00
Dion Moult b5c509e893 See #4279. Viewport object culling feature to increase FPS when navigating large models. 2024-04-17 14:42:54 +02:00
Dion Moult c48e167758 New IfcPatch recipe to extract flattened properties and relationships to SQLite for simple queries 2024-04-17 14:42:54 +02:00
Dion Moult 1b48995d95 Fix #4335. Fix compilation error. 2024-04-17 14:42:51 +02:00
patrick.joerg dfa3988674 Small doc change to direct readers to advanced mode 2024-04-17 14:41:52 +02:00
Andrej730 1819b6812e Fix issues with accessing invalid entities in bim.reassign_class #4371
bim.reassign_class wasn't considering that root.reassign_class will also reassign class for occurrences of the same type and was reaccessing invalid elements
2024-04-17 14:41:52 +02:00
Andrej730 69767a7045 type.py - some typing 2024-04-17 14:41:52 +02:00
Andrej730 a99fbbfdd8 reassign_class - cover with tests 2024-04-17 14:41:52 +02:00
Andrej730 1f532491ec fix pass-valid-selected-enumeration.ifc after 5270045
.ifc was failing during test_validate.py
1) Changed schema to rc2 as rc3-4 doesn't have IfcBridgePart
2) PredefinedType and UsageType were mixed up
3) With just `.DECK.` it was failing with error below
```
With attribute:
    <attribute PredefinedType: <select IfcFacilityPartTypeSelect: (<enumeration IfcBridgePartTypeEnum: (ABUTMENT, DECK, DECK_SEGMENT, FOUNDATION, NOTDEFINED, PIER, PIER_SEGMENT, PYLON, SUBSTRUCTURE, SUPERSTRUCTURE, SURFACESTRUCTURE, USERDEFINED)> | <enumeration IfcFacilityPartCommonTypeEnum: (ABOVEGROUND, BELOWGROUND, JUNCTION, LEVELCROSSING, NOTDEFINED, SEGMENT, SUBSTRUCTURE, SUPERSTRUCTURE, TERMINAL, USERDEFINED)> | <enumeration IfcMarinePartTypeEnum: (ABOVEWATERLINE, ANCHORAGE, APPROACHCHANNEL, BELOWWATERLINE, BERTHINGSTRUCTURE, CHAMBER, CILL_LEVEL, COPELEVEL, CORE, CREST, GATEHEAD, GUDINGSTRUCTURE, HIGHWATERLINE, LANDFIELD, LEEWARDSIDE, LOWWATERLINE, MANUFACTURING, NAVIGATIONALAREA, NOTDEFINED, PROTECTION, SHIPTRANSFER, STORAGE, USERDEFINED, VEHICLESERVICING, WATERFIELD, WEATHERSIDE)> | <enumeration IfcRailwayPartTypeEnum: (DILATATIONSUPERSTRUCTURE, LINESIDESTRUCTURE, LINESIDESTRUCTUREPART, NOTDEFINED, PLAINTRACKSUPESTRUCTURE, SUPERSTRUCTURE, TRACKSTRUCTURE, TRACKSTRUCTUREPART, TURNOUTSUPERSTRUCTURE, USERDEFINED)> | <enumeration IfcRoadPartTypeEnum: (BICYCLECROSSING, BUS_STOP, CARRIAGEWAY, CENTRALISLAND, CENTRALRESERVE, HARDSHOULDER, INTERSECTION, LAYBY, NOTDEFINED, PARKINGBAY, PASSINGBAY, PEDESTRIAN_CROSSING, RAILWAYCROSSING, REFUGEISLAND, ROADSEGMENT, ROADSIDE, ROADSIDEPART, ROADWAYPLATEAU, ROUNDABOUT, SHOULDER, SIDEWALK, SOFTSHOULDER, TOLLPLAZA, TRAFFICISLAND, TRAFFICLANE, USERDEFINED)>)>>
Value:
    DECK
Not valid
```
2024-04-17 14:41:52 +02:00
Andrej730 a03f62c97e fix error removing pset from material or profile 2024-04-17 14:41:52 +02:00
Andrej730 f381dce64d fix tests after a971860 2024-04-17 14:41:52 +02:00
Andrej730 b1811b7604 fix errors in tests
they were failing because import_reference_attributes were failing to get docs for unset schema version since ifc file wasn't attached to Blender
2024-04-17 14:41:52 +02:00
Thomas Krijnen ce5b1530e3 Add buffer (bytestring) accessors to material colors - plus small fixes 2024-04-17 14:41:49 +02:00
Thomas Krijnen 5e7156021b Add buffer (bytestring) accessors to geometry data 2024-04-17 13:58:05 +02:00
Andrej730 a86ac68e0c Fix #4365
Allowing to add new properties with None values if should_purge is not set to True (and it's False by default)
2024-04-17 13:41:18 +02:00
Thomas Krijnen 7f37ba2fad convert closed wires to faces prior to processing in svg serializer #4283 2024-04-17 13:41:05 +02:00
Andrej730 3b637a0234 ifcsverchok - autogenerate node categories from index 2024-04-17 15:24:47 +05:00
Andrej730 45dacc3612 migrate docs urls 2024-04-17 15:18:45 +05:00
Andrej730 f93d79dce0 entity_instance.is_a overload typing 2024-04-17 15:18:45 +05:00
Gorgious56 6f8dcc637f #4532 : You can now store clipping planes to a json file and restore them
The file is stored along the ifc file
2024-04-17 11:52:00 +02:00
Andrej730 a748dda378 mention IfcSverchok in docs blenderbim-240417 2024-04-17 12:33:03 +05:00
Andrej730 b158a83644 update ifcsverchok builds 2024-04-17 12:32:42 +05:00
Andrej730 31cd20c61b more user-friendly errors enabling ifcsverchok 2024-04-17 12:10:18 +05:00
Andrej 0a542e6957 ci-ifcsverchok-build.yml ifcsverchok-240417 2024-04-17 11:38:18 +05:00
Andrej730 89d29cf133 ifctester.reporter.Ods - option for safe excel export #4427
The issue was related to the sheet names - Excel prohibits some symbols in the names and it doesn't allow sheet name to be longer than 31 symbols. If sheet names doesn't match this criteria then Excel says file appears to be corrupted - when file open data itself is not really corrupted besides the spreadsheet names that failed the criteria.
2024-04-16 16:40:05 +05:00
Andrej730 6ee7502920 ifctester.reporter.Txt small fix 2024-04-16 16:39:55 +05:00
Andrej730 708ee7350b ifctester - fix bug adding second .ods extension 2024-04-16 16:39:55 +05:00
Andrej730 836293504c ifctester typing 2024-04-16 16:39:55 +05:00
Thomas Krijnen a2cc9b1b4d Disable building 3.6.x - due to from __future__ import annotations 2024-04-16 13:28:46 +02:00
Andrej730 7843d20fc8 black format 2024-04-16 13:28:46 +02:00
Andrej730 7e9aead518 show occurrence name function in prefs only for custom name style 2024-04-16 13:28:46 +02:00
Andrej730 0c3a038a44 Fix #4363 2024-04-16 13:28:46 +02:00
Dion Moult 444b284602 Update Makefile 2024-04-16 13:28:46 +02:00
Dion Moult f33b1296e3 Create blender_manifest.toml 2024-04-16 13:28:46 +02:00
Bruno Perdigão a4eeae2872 UI for linked aggregate (#4271)
* initial ui

* changed the group name

* groups counter in ui

* added operators for selection and breaking link in the ui

* small removal

* changed IFC operators to _execute
2024-04-16 13:28:46 +02:00
Bruno Perdigão ed7b337a40 Linked aggregate preserve names (#4135)
* added simples linked aggregate test

* small fix in remove_old_connections function

* added test for refresh linked aggregate

* refresh linked aggregates now preserves the objects original name

* small fix in recreate_connections function

* tests for Refresh Linked Aggregate

* test for Refresh Linked Aggregate after copying an object

* small deletion

* added custom incremental naming

* small fix in tests

* small fix on the number for renaming
2024-04-16 13:28:46 +02:00
Ryan Schultz 0b4a64225b Selects all the instances from selected instances that have different types 2024-04-16 13:28:46 +02:00
Massimo Fabbro bba935940b New button hide all spaces in spatial tool 2024-04-16 13:28:46 +02:00
Massimo Fabbro f85b476bc8 Now generate space and generate spaces from walls are always visible in the UI so users understand better that are different procedures 2024-04-16 13:28:46 +02:00
Andrej730 4ac771a214 Fix #4342 2024-04-16 13:28:46 +02:00
Andrej730 284df2e484 update representation item style on editing/removing shape aspect
Example - https://imgur.com/a/2SxgSRH
2024-04-16 13:28:46 +02:00
Andrej730 dd27107be8 style.assign_representation_styles to replace previously assigned styles
as probably in the most cases user would want 1 style per 1 representation item

After this it's finally possible in BBIM to assign styles to representation items through the materials: https://imgur.com/a/cgiJ1KV
2024-04-16 13:28:46 +02:00
Andrej730 0d251260d8 MaterialCreator - minor refactor for code readibility 2024-04-16 13:28:46 +02:00
Andrej730 8a3934b32b fix error in data.py occurring if object has no material 2024-04-16 13:28:46 +02:00
Andrej730 05aed7036e show error message removing material that is used in material sets
previously it wasn't showing anything when you would try to remove a material
2024-04-16 13:28:46 +02:00