Commit Graph

8793 Commits

Author SHA1 Message Date
Dion Moult b2db70a2ac Whoops 2024-04-16 10:10:51 +02:00
Dion Moult b6b2c718f6 Skeleton of "add fitting" operator which decides appropriate fitting type 2024-04-16 10:10:51 +02:00
Andrej730 fa3e3bc9b8 Fixed TestGetApplicableTypes after 0e69f484f 2024-04-16 10:10:51 +02:00
Andrej730 391cecdb21 keep the default flow direction for ports NOTDEFINED as it's not yet set 2024-04-16 10:10:51 +02:00
Andrej730 0df12194d6 operator to add mep obstruction
Currently it's not yet available from UI, only from F3 menu.
On changing segment's length obstruction is not yet adjusted.
Short demonstration - https://imgur.com/a/I5fybpO
2024-04-16 10:10:51 +02:00
Andrej730 25ec0ee36c root.remove_product to remove IfcRelConnectsPorts too
previously if you deleted some flow segment that was connected to another the connection would stay resulting in invalid ifc and other bugs
2024-04-16 10:10:51 +02:00
Andrej730 72c2ef1dd1 Poll check for show/hide ports
https://i.imgur.com/NFAM1UC.png
2024-04-16 10:10:51 +02:00
Andrej730 8c21c74ff5 Communicate that blend file is also saved on Ctrl-S
https://i.imgur.com/BnzTDhM.png
2024-04-16 10:10:51 +02:00
Andrej730 c2320bb320 small add_constr_type_instance refactor
ifc_class removed as it was never used - ifc_class was always figured either from BIMModelProperties.relating_type_id or operator.relating_type_id
2024-04-16 10:10:50 +02:00
Dion Moult a2b972707e Another minor documentation fix 2024-04-16 10:10:50 +02:00
Dion Moult 17de7a1808 Easily create a "default" duct / pipe even if you have no demo library. 2024-04-16 10:10:50 +02:00
Dion Moult ec4f4bd158 Minor documentation fix 2024-04-16 10:10:50 +02:00
Andrej730 9812e5a603 Fixed error opening type manager from window_tool, slab_tool etc
Th error was:

Error: Python: Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\model\ui.py", line 54, in invoke
    props.type_class = props.ifc_class
TypeError: bpy_struct: item.attr = val: enum "" not found in ('IfcActuatorType', 'IfcAirTerminalBoxType', 'IfcAirTerminalType', 'IfcAirToAirHeatRecoveryType', 'IfcAlarmType', 'IfcAudioVisualApplianceType', 'IfcBeamType', 'IfcBoilerType', 'IfcBuildingElementPartType', 'IfcBuildingElementProxyType', 'IfcBurnerType', 'IfcCableCarrierFittingType', 'IfcCableCarrierSegmentType', 'IfcCableFittingType', 'IfcCableSegmentType', 'IfcChillerType', 'IfcChimneyType', 'IfcCivilElementType', 'IfcCoilType', 'IfcColumnType', 'IfcCommunicationsApplianceType', 'IfcCompressorType', 'IfcCondenserType', 'IfcControllerType', 'IfcCooledBeamType', 'IfcCoolingTowerType', 'IfcCoveringType', 'IfcCurtainWallType', 'IfcDamperType', 'IfcDiscreteAccessoryType', 'IfcDistributionChamberElementType', 'IfcDistributionElementType', 'IfcDoorStyle', 'IfcDoorType', 'IfcDuctFittingType', 'IfcDuctSegmentType', 'IfcDuctSilencerType', 'IfcElectricApplianceType', 'IfcElectricDistributionBoardType', 'IfcElectricFlowStorageDeviceType', 'IfcElectricGeneratorType', 'IfcElectricMotorType', 'IfcElectricTimeControlType', 'IfcElementAssemblyType', 'IfcEngineType', 'IfcEvaporativeCoolerType', 'IfcEvaporatorType', 'IfcFanType', 'IfcFastenerType', 'IfcFilterType', 'IfcFireSuppressionTerminalType', 'IfcFlowInstrumentType', 'IfcFlowMeterType', 'IfcFootingType', 'IfcFurnishingElementType', 'IfcFurnitureType', 'IfcGeographicElementType', 'IfcHeatExchangerType', 'IfcHumidifierType', 'IfcInterceptorType', 'IfcJunctionBoxType', 'IfcLampType', 'IfcLightFixtureType', 'IfcMechanicalFastenerType', 'IfcMedicalDeviceType', 'IfcMemberType', 'IfcMotorConnectionType', 'IfcOutletType', 'IfcPileType', 'IfcPipeFittingType', 'IfcPipeSegmentType', 'IfcPlateType', 'IfcProtectiveDeviceTrippingUnitType', 'IfcProtectiveDeviceType', 'IfcPumpType', 'IfcRailingType', 'IfcRampFlightType', 'IfcRampType', 'IfcReinforcingBarType', 'IfcReinforcingMeshType', 'IfcRoofType', 'IfcSanitaryTerminalType', 'IfcSensorType', 'IfcShadingDeviceType', 'IfcSlabType', 'IfcSolarDeviceType', 'IfcSpaceHeaterType', 'IfcSpaceType', 'IfcSpatialZoneType', 'IfcStackTerminalType', 'IfcStairFlightType', 'IfcStairType', 'IfcSwitchingDeviceType', 'IfcSystemFurnitureElementType', 'IfcTankType', 'IfcTendonAnchorType', 'IfcTendonType', 'IfcTransformerType', 'IfcTransportElementType', 'IfcTubeBundleType', 'IfcUnitaryControlElementType', 'IfcUnitaryEquipmentType', 'IfcValveType', 'IfcVibrationIsolatorType', 'IfcWallType', 'IfcWasteTerminalType', 'IfcWindowStyle', 'IfcWindowType')

WARN (bpy.rna): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\intern\bpy_rna.c:1343 pyrna_enum_to_py: current value '8' matches no enum in 'BIMModelProperties', '', 'ifc_class'
2024-04-16 10:10:50 +02:00
Andrej730 bd6e4fbd64 tests for system.get_connected_to / get_connected_from 2024-04-16 10:10:50 +02:00
Andrej730 c5c8a3ba0b error message on setting flow direction for disconnected port
previously it just did nothing which was a bit confusing
2024-04-16 10:10:50 +02:00
Chetan 0ef14bad6f When creating a GLTF file, make the material double sided to fix a bug where some surfaces were transparent. This will allow surfaces created from a mesh to be be viewed from all angles regardless of the shape of the mesh or the directions of the normals. 2024-04-16 10:10:50 +02:00
Dion Moult b044ddfaa2 Flow segments are now created at a specific RL above the active storey in the BIM Tool 2024-04-16 10:10:50 +02:00
ay-ex f94aa6b313 fix_choco_cmake_url (#3528)
fixed problematic url for blender cmake
2024-04-16 10:10:50 +02:00
Andrej730 a3d1c60375 fixed bug in system.get_connected_to / get_connected_from
import was missing
2024-04-16 10:10:50 +02:00
Andrej730 d5e26b5efe Create empty at object placement from debug panel
Small feature for debugging - https://i.imgur.com/OSOCIqG.png
2024-04-16 10:10:50 +02:00
Andrej730 81dc68d11d Fixed #3262 2024-04-16 10:10:50 +02:00
Andrej730 60d62c2dd4 sort keys in the entity to type mapping 2024-04-16 10:10:50 +02:00
Andrej730 871902de12 More general solution for #3466 2024-04-16 10:10:50 +02:00
Dion Moult e49c373011 Fix #3465. Move representation utilities into new tab system. 2024-04-16 10:10:50 +02:00
Dion Moult d330b2f0c6 Fix #3483. You can now conveniently duplicate material layers. 2024-04-16 10:10:50 +02:00
Bruno Postle ed470b6380 Fix some broken restructured text formatting 2024-04-16 10:10:50 +02:00
Dion Moult 418a3feb6c Fix #3453. Hidden annotation type removed, and demo library now comes with linetypes for dashed, fine, thin, medium, thick, and strong. 2024-04-16 10:10:50 +02:00
Wei Yang 8203b2b6d9 Add UV texture support for IfcTessellatedFaceSet (#3523)
* Add texture support for IfcIndexedTextureMap

* fix description.

* Fix posible duplicate coordinate index issue

* Clean up code.

* revert default clean_mesh.

* Fix errors.

* change to EXTEND mode when not RepeatS/T

* remove tris merge to support mix quads and tris.
2024-04-16 10:10:50 +02:00
Massimo Fabbro 44517f3b1d Add new api function that allows to create arbitrary profiles with voids (#3522) 2024-04-16 10:10:50 +02:00
Dion Moult 7d03b0017b Fix #3466. Bug in upstream IFC where distribution elements and furnishing elements had no corresponding type and occurrence. 2024-04-16 10:10:50 +02:00
Dion Moult 84c91518b5 Fix #2906. Basic support added for perspective drawings. 2024-04-16 10:10:50 +02:00
Dion Moult dc18f7a68a Fix #3484. You can now have project-specific pset templates distributed with your project in a relative path. Defaults to pset/. 2024-04-16 10:10:50 +02:00
Dion Moult 43f9d8888f Purge obsolete search operators in favour of new search filters, colour legend system. 2024-04-16 10:10:50 +02:00
Dion Moult 0b306ccee3 Purge select similar prop operator in favour of dedicated select similar panel 2024-04-16 10:10:50 +02:00
Dion Moult 557fe5fd87 Purge obsolete & risky module unloading / loading feature in favour of tabs. 2024-04-16 10:10:50 +02:00
Dion Moult 1e1ab453bf Fix #3501. Annotation tool now creates annotations at the 3D cursor. 2024-04-16 10:10:50 +02:00
Dion Moult 7739779ed6 Fix #3511. You can now use a query to load in occurrences from another project (library). 2024-04-16 10:10:50 +02:00
Dion Moult c076cbc5db Fix #3502. New select similar feature. 2024-04-16 10:10:50 +02:00
Dion Moult 1d8738fea4 Fix #3273. Don't use simple string replacement when renaming drawings but instead identify elements by attributes which is preferred. 2024-04-16 10:10:50 +02:00
Thomas Krijnen 23d096be07 SVG serialization UnifyInputs option 2024-04-16 10:10:48 +02:00
Thomas Krijnen aa7b5bd1e3 Implement IfcGridPlacement 2024-04-16 10:08:33 +02:00
Thomas Krijnen 9214b00893 ci-ifctester-pypi.yml Add workflow_dispatch event 2024-04-16 10:05:52 +02:00
Thomas Krijnen 642e10a6a8 Include .xsd in ifctester package pypi distribution 2024-04-16 10:05:52 +02:00
Dion Moult e6528559d6 Fix #3521. Forgot to commit function. 2024-04-16 10:05:52 +02:00
Sigma Dimensions (Yass) 850b3d1c65 Rename and move sub panels of Costing and Schedule Tab 2024-04-16 10:05:52 +02:00
Dion Moult 4176bfa7d2 Fix #3471. Allow to select hidden types (except if the type is excluded). 2024-04-16 10:05:52 +02:00
Dion Moult 2843d86ad4 Fix #3518. Default to deeper opening extrusions to handle more wall thicknesses. 2024-04-16 10:05:52 +02:00
ay-ex 19dd89515f add ids html report template percentage bars per section (#3520)
adding html report template percentage bars to each section
2024-04-16 10:05:52 +02:00
Dion Moult fefda94153 Revert "Example of UI if we sentence-cased IFC classes. Good or bad? Please comment at https://community.osarch.org/discussion/comment/16493"
This reverts commit 53bd4bf5ea.
2024-04-16 10:05:52 +02:00
Dion Moult 1426481cf8 Fix #3509. Backport Qto_BodyGeometryValidation to IFC4 (via EQto) and fix bug where there was no way to have custom Qtos show up in the qto dropdown. 2024-04-16 10:05:52 +02:00