Commit Graph

10101 Commits

Author SHA1 Message Date
M!l!nd 79df9d84fa Update Makefile 2024-04-17 14:42:55 +02:00
Dion Moult a7e0cb0bc3 Minor fix to shape aspects because not everything has a mesh (e.g. text annotations) 2024-04-17 14:42:55 +02:00
Dion Moult 6f0dd25517 Fix #4377. Add support for adding filled elements in AXIS3 layered elements. 2024-04-17 14:42:55 +02:00
Dion Moult 12bde3c56c Fix #4383. Demo library should use Model/Annotation/MODEL_VIEW for text annotations so that they can be used anywhere, not just on plans. 2024-04-17 14:42:55 +02:00
Dion Moult 73149a29c9 Fix #4384. Accommodate null values when getting data from pset. 2024-04-17 14:42:55 +02:00
Dion Moult 01150873f5 Fix #4336. Close #4337. Remove rounding for more accurate fills. 2024-04-17 14:42:55 +02:00
Dion Moult 25b73fc35a Minor fixes to IfcCSV documentation 2024-04-17 14:42:54 +02:00
Dion Moult 5e4afbc748 Separate project templates and libraries and provide dropdown to built-in libraries to aid discoverability. 2024-04-17 14:42:54 +02:00
Dion Moult 658fbd3f6a Fix #4385. Probably a mistake in the bool argument for removing datablocks. 2024-04-17 14:42:54 +02:00
Dion Moult 25ad410470 Tweak generated tree parameters and add manual trees to landscape library thanks to SavyGust27 2024-04-17 14:42:54 +02:00
jgunstone d718afc754 🔧update pip install command assuming that this branch will be merged back 2024-04-17 14:42:54 +02:00
jgunstone b3441fd5ae update license and version 2024-04-17 14:42:54 +02:00
jgunstone 94b5647e56 📝add docs about so to install and develop this package standalone 2024-04-17 14:42:54 +02:00
jgunstone cb3ff4b05a add simple tests to ensure the package is working as expected 2024-04-17 14:42:54 +02:00
jgunstone 2a21ccf0aa 🐛 add limit and offset kwargs to get_classes. TODO- I think this needs doing throughout... 2024-04-17 14:42:54 +02:00
jgunstone 8a409507c8 add version 2024-04-17 14:42:54 +02:00
jgunstone 30cedd16ee 🔧 add pyproject.toml and __init__.py 2024-04-17 14:42:54 +02:00
Dion Moult d5aff85b35 Fix #889. Write docs for how to do translations. 2024-04-17 14:42:54 +02:00
Andrej730 708c61e33a Clipping planes with cappings
Added new experimental section that allows you to cut objects based on current clipping planes in the scene. The difference from other clipping plane methods - it actually (temporarily) edits meshes geometry and adds cappings at the cut. So, the clipped meshes can be seen both on render and cutted parts won't get in the way as they do with temporary section cutaways (shader based method)

Example - https://imgur.com/a/SOqovOM
2024-04-17 14:42:54 +02:00
Andrej730 a75f5ef66f remove_data_block - option to skip some checks to speed it up 2024-04-17 14:42:54 +02:00
Dion Moult b70b285c03 See #4380. Remove support for EOL Python 3.6 2024-04-17 14:42:54 +02:00
Dion Moult 9de06fbd6e Fix #4300. You can now select spatial elements by their location too. 2024-04-17 14:42:54 +02:00
Dion Moult 0c5a173de7 Fix #4340. Indicate user needs to setup IFC2X3 user/app when using API directly. 2024-04-17 14:42:54 +02:00
Dion Moult 14e49ac633 Fix #4333. Ensure order of info is correct for valid IDSes. 2024-04-17 14:42:54 +02:00
Dion Moult 1d7de2063a See #4380. Standardise filepaths when linking in IFCs. 2024-04-17 14:42:54 +02:00
Dion Moult e7cd66bb44 You can now specify a false origin when linking in a model 2024-04-17 14:42:54 +02:00
Dion Moult 525279d4b7 Add Python3.12 to installation docs 2024-04-17 14:42:54 +02:00
Dion Moult dcc81eb6e9 See #4380. Bump IOS. 2024-04-17 14:42:54 +02:00
Dion Moult d51e75d8f0 New cable carrier and cable tool grouped into MEP tool submenu 2024-04-17 14:42:54 +02:00
Dion Moult f6e0781c78 Add icon and convenience functions for walk and set orbit center in explore tool 2024-04-17 14:42:54 +02:00
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