Massimo Fabbro
d421cc0bbb
No mapped quantities in qto calculator has None value ( #2549 )
2022-10-30 09:07:56 +11:00
Dion Moult
bf57c8b1bf
Refactor profile module to use data class
2022-10-29 23:45:12 +11:00
Andrej730
9a25db6584
get_attribute_doc get_entity_doc now use recursive method by default
2022-10-29 18:31:40 +06:00
Andrej730
17ccd0adf7
Simplified getting entity parent information for schema api
...
Removed unnecssary parent information from json schema - now API is getting it from ifcopenshell schema.
2022-10-29 18:27:51 +06:00
Andrej730
937f39c898
Added information about parent entity to schema
...
Added information about parent entity to schema (it's located in "parent_entity" entity parameter inside schema), both for Ifc2x3 and Ifc4.
Modified get_entity_doc and get_attribute_doc - now you can use additional optional parameter `recursive=True` with those functions - then parent entities attributes will be included to the list of entity's attributes. For example IfcWindow will also have attributes from IfcBuildingElement, IfcElement, IfcProduct etc...
2022-10-29 17:35:43 +06:00
Andrej730
0b5ccd88a5
Added descriptions for psets and qsets to ifc2x3, ifc4 schema
...
Example of getting pset description: `get_property_set_doc("IFC4", "Pset_ZoneCommon")['description']`
2022-10-29 16:31:54 +06:00
Andrej730
ebf3cd8909
Added IFC libraries for AU and EU profiles
...
Also added script that was used to generate those libraries (the script is using data from https://github.com/boltsparts/BOLTS ).
Types of steel profiles included:
I profiles, Z profiles, C profiles (known as U profiles in IFC), L profiles (both equal and unequal), hollow profiles (circle, square and rectangular).
blenderbim-221029
2022-10-29 10:32:26 +06:00
Dion Moult
08afec3461
Support material layer set usage negative direction sense for parametric walls
2022-10-28 22:32:15 +11:00
Dion Moult
4408a23873
Merge duplicate types IfcPatch recipe can now merge based on any attribute
2022-10-28 22:30:57 +11:00
Gorgious56
7164103a80
Search button now only displays when an enum has more than 10 items
...
To reduce visual clutter for enums with only a few values
Also tweak the online docs ui function
2022-10-28 08:33:56 +02:00
Gorgious56
5fb7f33fb0
You can now access the ifc classes online docs from the right click context menu
...
+ Remove the ugly buttons in the interface
blenderbim-221028
2022-10-28 08:19:35 +02:00
Gorgious56
e602f16ed3
Add description to more ifc entities enums
...
- Constraint type
- Material type
- ObjectMaterial type
- Actor class and type
- Structural load type and boundary condition type
- Style type
- System type
- Relating type
- Unit type
2022-10-27 17:19:24 +02:00
Gorgious56
17a872a8d8
Use new get_predefined_type_doc function #1982
2022-10-27 16:00:12 +02:00
Dion Moult
4533b74d65
Minor IfcTester fixes
2022-10-27 23:37:01 +11:00
Dion Moult
62229b032e
You can now array IFC elements parametrically
2022-10-27 23:36:09 +11:00
Andrej730
f2c2fa8dce
Added entities predefined types to schema
...
Both for ifc2x3 and ifc4 but there is still a problem with ifc2x3 predefined types description - it's empty since constants have no description in ifc2x3. For temporary solution I've used description available on ifc4 for ifc2x3 too.
I've also added API function to get entity's predefined type description: `get_predefined_type_doc(version, entity, predefined_type)`
Example for the same constant that has no description in ifc2x3 and has one in ifc4:
https://github.com/buildingSMART/IFC/blob/Ifc2.3.0.1/Constants/s/STEAMINJECTION_1b6zZZM99EevT2LVdQ7B%24V.xml
https://github.com/buildingSMART/IFC/blob/Ifc4.0.2.1/Constants/s/STEAMINJECTION_1b6zZZM99EevT2LVdQ7B$V.xml
2022-10-27 16:23:46 +06:00
Dion Moult
ae170bbfac
Fix #2541 . Forgot that wall body must be based off the axis reference line.
blenderbim-221027
2022-10-27 19:08:37 +11:00
Dion Moult
706b925f4c
FM documents now use the identification as the key, and refer to the doc info instead of doc reference
2022-10-27 09:46:11 +11:00
Dion Moult
65288eac04
Minor fix. See #2533 .
2022-10-27 09:45:28 +11:00
Massimo Fabbro
bf5a9bdac6
Start quantity calculator implementation (related to #2533 ) ( #2534 )
...
* Start quantity calculator implementation
* Fix get qto_name
2022-10-26 23:51:52 +11:00
Dion Moult
e22ebfbf94
Fix #2523 . Extrusion depth now reflects perpendicular depth
2022-10-26 22:24:18 +11:00
Dion Moult
fb2989c17f
Fix #2528 . Setting x angle on slabs now only affects the X euler angle
2022-10-26 18:11:54 +11:00
Dion Moult
ffbf6483b5
You can now disconnect a wall from a roof clipping
blenderbim-221026
2022-10-26 17:53:20 +11:00
Dion Moult
5c5488fa49
You can now clip walls by sloped slabs / roofs.
2022-10-25 23:13:44 +11:00
Dion Moult
7ff1b8a34d
New API for connecting and disconnecting elements
2022-10-25 17:54:24 +11:00
Dion Moult
fb786bb90c
Batch reassignments now take advantage of inverse indices for a slight speedup. See #2408 .
2022-10-25 16:27:13 +11:00
Dion Moult
fad80eacaf
Bump IOS
blenderbim-221025
2022-10-25 14:03:25 +11:00
Gorgious56
84020c9832
Type Manager : Add search to ifc class and descriptions to class an predefined type enums
2022-10-24 15:20:52 +02:00
Dion Moult
59bce590cc
Fix #2529 . Bulk copying decomposed elements to multiple storeys now maintains decomposition.
2022-10-24 22:57:23 +11:00
Dion Moult
a7ae78ec2a
Fix crash when deleting opening. See #2529 .
2022-10-24 21:49:44 +11:00
Dion Moult
523a97329e
Fix door appearing on wrong RL when not on ground floor. See #2529 .
2022-10-24 20:34:09 +11:00
Dion Moult
248dab936d
Experimental reimplementation of reloading an updated IFC
blenderbim-221024
2022-10-24 13:36:50 +11:00
Dion Moult
a908fa62ba
Loading model elements is now half aware of existing elements and will reuse where possible.
2022-10-24 13:07:45 +11:00
Dion Moult
2f7643424d
IfcDiff now uses the iterator to compare geometry, which seems significantly faster.
2022-10-24 13:06:03 +11:00
Dion Moult
226c94381b
IfcDiff now supports file objects as inputs instead of filepaths
2022-10-23 23:33:52 +11:00
Dion Moult
548a2972bc
You can now add new profileset based types easily in the type manager.
2022-10-23 21:17:52 +11:00
Dion Moult
6263110733
You can now add layerset types in the type manager and access the manager on blank projects.
2022-10-23 20:02:34 +11:00
Dion Moult
89e8bf1ed6
You can now add new mesh based types in the type manager
2022-10-23 18:15:33 +11:00
Dion Moult
3809b5a34b
You can now create new empty types, and select type objects from the type manager
2022-10-23 16:53:09 +11:00
Ryan Schultz
3cda25773d
Maintaining the MaterialLayer thickness when X_Angle is used ( #2525 )
2022-10-23 15:35:17 +11:00
Ryan Schultz
77f2ad8f68
'X angle' rotates ifcslab/ifcramp in space. ( #2522 )
...
* 'X angle' rotates ifcslab/ifcramp in space.
* rotation w/ mathutils.Matrix.Rotation instead
per https://github.com/IfcOpenShell/IfcOpenShell/pull/2522#issuecomment-1287969832
blenderbim-221023
2022-10-23 15:32:31 +11:00
Dion Moult
733b89be12
Link to C++ API reference from Python Sphinx docs
2022-10-23 12:15:11 +11:00
Thomas Krijnen
6346c5ba47
#1444 V3d_DirectionalLight compatibility fix
blenderbim-221022
2022-10-22 20:30:13 +02:00
Thomas Krijnen
dbb342d494
Small changes to code_examples.rst
2022-10-21 09:25:55 +02:00
Massimo Fabbro
cb0ad67bcc
Fixed errors and little improvement
2022-10-21 09:17:40 +02:00
Massimo Fabbro
f0266a16a3
Little improve about code example doc and geometry setting doc
2022-10-21 09:17:40 +02:00
Thomas Krijnen
cdde536651
Test cases for #2486 and #2517
2022-10-20 20:31:56 +02:00
Thomas Krijnen
c1aca6ba8c
#2517 Don't free parsed simple types as part of parent entity, but at file destruction
2022-10-20 20:30:48 +02:00
Thomas Krijnen
f9391f80c4
#2408 test case
2022-10-20 13:36:00 +02:00
Thomas Krijnen
f012286eda
#2408 ifcopenshell.file.get_inverse(with_attribute_indices)
2022-10-20 13:35:02 +02:00