Bruno Perdigão
699c692f6c
ifc array modifier: adds the option to get the dimensions from the 3d cursor
2023-04-06 10:45:47 +10:00
Bruno Perdigão
0c85e26950
ifc array modifier: bugfix, prevent divider from being zero.
2023-04-06 10:45:35 +10:00
Bruno Perdigão
2cd7e737cd
ifc array modifier: adds the option to choose between "total" and "increment" as dimension input
2023-04-06 10:45:35 +10:00
Gorgious56
a1adbe2b34
You can now change the section line decorator width in the UI
2023-04-06 09:37:01 +10:00
Gorgious56
a144c2b7ea
Add new shader to display the section as a thick line on the mesh
2023-04-06 09:37:01 +10:00
Gorgious56
201c056ffa
Add new decorator utility to the Compare node group
2023-04-06 09:37:01 +10:00
Andrej730
2e95168610
Title case naming for operators
2023-04-05 17:49:58 +05:00
Andrej730
b18c05cbb9
Open all drawings at once with shift+click (similar to print all)
...
Also added filepath check to make sure all drawings were printed first.
2023-04-05 17:47:27 +05:00
Andrej730
102a4c6110
Title case naming for operators
2023-04-05 17:47:27 +05:00
Dion Moult
b6c0ef3d19
Fix #2936 . Unassigning a type now also unmaps representations.
2023-04-05 22:33:11 +10:00
Andrej730
ea3065dbc2
Sync viewport visibility based on EPset_Drawing/Include Exclude #2613
...
It's not real time, it's triggered on using "Activate view" button in "Drawings" section.
2023-04-05 16:34:43 +05:00
Gorgious56
534c3ad329
Fix temporary section cutaway socket inputs/outputs not initializing properly
...
Related to #2547
2023-04-05 13:30:35 +02:00
Dion Moult
90a7d807a1
Fix #2938 . Unlinked objects should no longer synchronise edits after they've changed.
2023-04-05 21:07:44 +10:00
Dion Moult
4baafb5e2f
See #2938 . Fix issue where unlinking didn't consider other users of the object's data or material.
2023-04-05 20:58:24 +10:00
Andrej730
f911765cdb
Support for SECTION_LEVEL annotations description in viewport
...
Example - https://i.imgur.com/ATF9Fp6.png
(similar to svg)
2023-04-05 14:44:27 +05:00
Andrej730
d0a36c79d5
Small fix
2023-04-05 13:10:41 +05:00
Andrej730
ffea5320a0
Background for Ifc Text annotations in SVG
...
Added option to fill background of Ifc Text annotation with white color.
To make it work need to add "fill-bg" class to EPset_Annotation - https://i.imgur.com/ig2EhkQ.png .
Result - https://i.imgur.com/mq4hzAM.png
2023-04-05 12:38:36 +05:00
Andrej730
0b54e41a40
Small editing assigned product UI fix
...
Previously checkmark didn't worked at all if the existing and new product were the same.
2023-04-04 19:02:07 +05:00
Andrej730
f6623db0e6
Sliding doors - moved annotation arrow to Annotation/PLAN_VIEW #2919
2023-04-04 18:38:44 +05:00
Dion Moult
d7844ee8e8
Fix #2114 . Duplicate overrides are now defined as macros which means that repeating last function now works.
2023-04-04 22:01:45 +10:00
Andrej730
1c8970bbf2
removed redundant parts from generate_steel_profiles_library.py
...
removed never used methods and contexts
2023-04-04 14:23:21 +05:00
Dion Moult
eb70849a30
Fix #2898 . Explicitly check for changed active material in material UI panels.
2023-04-04 17:04:32 +10:00
Andrej730
77ce3c9067
Fixed ifc validation errors for generated openings #2925
...
Now ELEVATION_VIEW 3d curves converted to 2d to be extruded later on to create opening representation.
2023-04-04 11:18:29 +05:00
Dion Moult
56cd226a27
Deprecate mode subscriptiosn of profiles and walls
2023-04-04 13:59:10 +10:00
Dion Moult
1a624c957b
See #2916 . Minor fix.
2023-04-04 09:43:58 +10:00
Andrej730
1c9eeb2aca
Revert "Fixed ifc validation errors for generated openings #2925 "
...
This reverts commit 66a53b486a .
2023-04-03 23:04:27 +05:00
Gorgious56
45f06eeea7
Interface now displays a hint when trying to edit a non-mesh-like object
...
& Fix case where the active object would go into edit mode even if not mesh-like when multiple objects were selected
2023-04-03 17:55:44 +02:00
Andrej730
66a53b486a
Fixed ifc validation errors for generated openings #2925
2023-04-03 19:53:43 +05:00
Andrej730
fc45f5b48f
Fixed ifc validation errors for furniture library #2925
...
Fixed bunch of validation errors with furniture library:
- IfcSpaceType PredefinedType wasn't optional
`<attribute PredefinedType: <enumeration IfcSpaceTypeEnum: (EXTERNAL, GFA, INTERNAL, NOTDEFINED, PARKING, SPACE, USERDEFINED)>> Not optional`
- some object had 0.0 depth extrusion
```
Rule IfcPositiveLengthMeasure_WR1:
(self > 0.)
Violated by:
(0.0 > 0.0)
```
- some orphan representations violating:
```
Rule IfcShapeModel_WR11:
((sizeof(self.OfProductRepresentation) == 1) ^ (sizeof(self.RepresentationMap) == 1) ^ (sizeof(ofshapeaspect) == 1))
Violated by:
((0 == 1 ^ 0 == 1) ^ 0 == 1)
+ where 0 = sizeof(())
+ where () = #9091=IfcShapeRepresentation(#15,'Body','SweptSolid',(#9090 )).OfProductRepresentation
+ and 0 = sizeof(())
+ where () = #9091=IfcShapeRepresentation(#15,'Body','SweptSolid',(#9090 )).RepresentationMap
+ and 0 = sizeof(())
```
2023-04-03 19:53:43 +05:00
Andrej730
e1fc7cad44
Fixed all unit.add_si_unit uses after fd87747
...
Now they were causing `TypeError: Usecase.__init__() got an unexpected keyword argument 'name'`
2023-04-03 19:53:42 +05:00
Andrej730
2bc60b87f2
Fixed issue with tool.Blender.apply_bmesh
2023-04-03 19:53:42 +05:00
Dion Moult
48666def6b
Fix #2910 . Bug where style colours were not synced prior to duplication.
2023-04-03 20:16:43 +10:00
Dion Moult
c947ccb8be
Fix #2926 . Connections removed when rotating 90 deg to prevent unintuitive behaviour. Layer2 are also now recalculated.
2023-04-03 13:43:42 +10:00
Dion Moult
28c6b0d4bb
Link to IfcArchitect tutorial series for quickstart video tutorials
2023-04-03 12:35:10 +10:00
Dion Moult
19317a9cc2
See #2881 . Add support for evaluated commands in smart text literals
2023-04-02 21:25:06 +10:00
Dion Moult
d67da6425e
Fix #2927 . Continuing to make mesh editing stricter.
2023-04-02 15:02:43 +10:00
Dion Moult
901f41358f
Shortlist which IFC geometries may be treated as a meshlike object.
2023-04-02 13:45:05 +10:00
Dion Moult
061922aea2
Minor fix
2023-04-01 22:19:29 +11:00
Massimo Fabbro
5f7b6a5498
fix qto ui bug where objects with no assigned base qto doesn't allow to show the qto panel
2023-04-01 21:59:53 +11:00
Dion Moult
2ef9d5eed9
Fix #2922 . You can now edit extrusion profiles of swept solids.
2023-04-01 21:27:20 +11:00
Dion Moult
9fba57d5db
Disable edit mode on non mesh-like representations as well to prevent risk of invalid geometry.
2023-04-01 21:25:45 +11:00
Dion Moult
e9074e3b3f
Fix bug where generated openings invalidly used 3 dimensions instead of 2
2023-04-01 18:14:54 +11:00
Andrej730
f053ba714f
Fixed bug in tool.Blender.get_bmesh_for_mesh
...
It caused errors because it was expecting mesh object to be selected - when it's not necessary that active_object is the one that mesh belongs to and sometimes no objects can be selected at all.
2023-04-01 12:12:34 +05:00
Andrej730
b6598f09a3
Fixed error with switching from EDIT mode for annotation meshes
...
Error occured when you were editing annotation mesh and tried to switched from EDIT mode
Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\geometry\operator.py", line 838, in invoke
elif element.HasOpenings:
File "\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 153, in __getattr__
raise AttributeError(
AttributeError: entity instance of type 'IFC4.IfcAnnotation' has no attribute 'HasOpenings'
2023-04-01 12:00:07 +05:00
Andrej730
b9d7b95304
Revert part of 3a3d96be0 #2897
...
Reverted part of the bgl to gpu transition (to not scare away people with annotations without antialiasing🙂 ) until I work out the complete solution.
2023-03-31 19:56:26 +05:00
Andrej730
3db540f786
Fixed another typo related to #2889...
2023-03-31 19:50:22 +05:00
Andrej730
071b99c6c6
Fixed crash in Blender 3.5 on creating fill area annotation
...
Crash was caused by some change in Blender Python API in 3.5.
The code below resulted in `ValueError: bpy_struct: item.attr = val: MeshPolygon.vertices: array length cannot be changed to 4 (expected 0)`
```
obj.data.polygons.add(1)
p1 = obj.data.polygons[-1]
p1.vertices = (v1.index, v2.index, v3.index, v4.index)
```
2023-03-31 17:52:07 +05:00
Andrej730
3a3d96be0a
bgl to gpu: profiles and openings decorations #2897
...
Still need to fix shaders.py and decoration.py
2023-03-31 16:38:24 +05:00
Andrej730
a03fbab4d5
Added description to some annotation operators
2023-03-31 11:06:21 +05:00
Andrej730
cc3b119288
Automatically adjusted STAIR_ARROWs now stop at the top thread
...
Previously they were ending at the end of the stair object and problem was that the end of the object could be at the slab underneath the stair.
Example - https://i.imgur.com/Y43v0GM.png
Before - https://i.imgur.com/Ze9DoK2.png
2023-03-31 10:59:39 +05:00