Dion Moult
2e466ead37
See #2516 . WARNING: breaking changes! Restructure drawing system to use relative paths based on IfcDocumentReference Locations.
2024-04-15 09:25:50 +02:00
Andrej730
5864873945
Solved producing orphan objects data on drawing deletion
2024-04-15 09:25:50 +02:00
Andrej730
cc34e16c6b
Updating sheet name from UI #2950
2024-04-15 09:25:50 +02:00
Thomas Krijnen
788f1154da
#2685 Fix AttributeError
2024-04-15 09:25:50 +02:00
Andrej730
638eb34680
annotation and gizmo shaders rework for smoothed lines without bgl #2897
...
Reworked annotation and gizmo shaders to work without `bgl` and support smooth lines.
Moved LIB_GLSL and DEF_GLSL to shaders module since it's basically the same code and this way it'll be easier to keep track of it.
2024-04-15 09:25:50 +02:00
Dion Moult
5e9e666484
Minor improvement to add error message when mirror elements called without a mirror axis.
2024-04-15 09:25:50 +02:00
Bruno Perdigão
7b1c2ef3d4
minor fix, sets a minimum to 'count'
2024-04-15 09:25:50 +02:00
Bruno Perdigão
b1538cbb25
Fix #2937 . IFC Array now have the option to sync children
2024-04-15 09:25:50 +02:00
Sigma Dimensions
827b0fe6ac
BBIM 4D Features to:
...
- Display nested task resources/task inputs of the active task
- Show list of tasks related to the current object selection
- Highlight, in the WorkSchedule panel, tasks related to the current object selection
2024-04-15 09:25:50 +02:00
Kristoffer Andersen
365de4054f
conda daily pin occt version
2024-04-15 09:25:50 +02:00
Dion Moult
a1eff64aec
Fix #2935 . Duplicating objects clear any parametric array relationships.
2024-04-15 09:25:50 +02:00
Massimo Fabbro
6873de45a8
Fix bug #2825
2024-04-15 09:25:50 +02:00
Dion Moult
9707a2b2f6
Fix #2945 . Selector should expand enumerated list properties so that you can match any of them.
2024-04-15 09:25:50 +02:00
Andrej730
6e8a9c8f13
Warning when user loading sheets and some svgs are missing
...
Added this warning because missing svgs can lead to errors later on.
2024-04-15 09:25:50 +02:00
Andrej730
963d464e73
ChangeSheetTitleBlock operator
...
Added operator to change title block of currently selected sheet, it's located right after "Add sheet" button.
The way it works - you select the sheet, select the desired titleblock from dropdown menu and it overrides current titleblock from the sheet with the new one.
2024-04-15 09:25:50 +02:00
Bruno Perdigão
b201bb5c3b
ifc array modifier: get cursor position in relation to the object local axes
2024-04-15 09:25:50 +02:00
Bruno Perdigão
5074a0bf8d
ifc array modifier: adds the option to get the dimensions from the 3d cursor
2024-04-15 09:25:50 +02:00
Bruno Perdigão
792f1fcefd
ifc array modifier: bugfix, prevent divider from being zero.
2024-04-15 09:25:50 +02:00
Bruno Perdigão
0627d90486
ifc array modifier: adds the option to choose between "total" and "increment" as dimension input
2024-04-15 09:25:49 +02:00
Gorgious56
91d7229353
You can now change the section line decorator width in the UI
2024-04-15 09:25:49 +02:00
Gorgious56
d717fe040d
Add new shader to display the section as a thick line on the mesh
2024-04-15 09:25:49 +02:00
Gorgious56
6b67532228
Add new decorator utility to the Compare node group
2024-04-15 09:25:49 +02:00
Andrej730
87f5e7f852
Title case naming for operators
2024-04-15 09:25:49 +02:00
Andrej730
8731cf7fcf
Open all drawings at once with shift+click (similar to print all)
...
Also added filepath check to make sure all drawings were printed first.
2024-04-15 09:25:49 +02:00
Andrej730
397617550e
Title case naming for operators
2024-04-15 09:25:49 +02:00
Dion Moult
32f21c8ea0
Fix #2936 . Unassigning a type now also unmaps representations.
2024-04-15 09:25:49 +02:00
Andrej730
d86a1cedc1
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.
2024-04-15 09:25:49 +02:00
Gorgious56
d76775c616
Fix temporary section cutaway socket inputs/outputs not initializing properly
...
Related to #2547
2024-04-15 09:25:49 +02:00
Dion Moult
9e33d9bfad
Fix #2938 . Unlinked objects should no longer synchronise edits after they've changed.
2024-04-15 09:25:49 +02:00
Dion Moult
9b3625717f
See #2938 . Fix issue where unlinking didn't consider other users of the object's data or material.
2024-04-15 09:25:49 +02:00
Andrej730
57c9efba97
Support for SECTION_LEVEL annotations description in viewport
...
Example - https://i.imgur.com/ATF9Fp6.png
(similar to svg)
2024-04-15 09:25:49 +02:00
Andrej730
4540dcc006
Small fix
2024-04-15 09:25:49 +02:00
Andrej730
232e415c87
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
2024-04-15 09:25:49 +02:00
Andrej730
d9562c66a4
Small editing assigned product UI fix
...
Previously checkmark didn't worked at all if the existing and new product were the same.
2024-04-15 09:25:49 +02:00
Andrej730
6043d35821
Sliding doors - more consistent 2d repr between door types #2919
2024-04-15 09:25:49 +02:00
Andrej730
5d4ecb7177
Sliding doors - moved annotation arrow to Annotation/PLAN_VIEW #2919
2024-04-15 09:25:49 +02:00
Dion Moult
b44cd7e153
Fix #2114 . Duplicate overrides are now defined as macros which means that repeating last function now works.
2024-04-15 09:25:49 +02:00
Andrej730
7f058ab8bf
removed redundant parts from generate_steel_profiles_library.py
...
removed never used methods and contexts
2024-04-15 09:25:49 +02:00
Dion Moult
12f60084f4
Fix #2898 . Explicitly check for changed active material in material UI panels.
2024-04-15 09:25:49 +02:00
Andrej730
7233840434
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.
2024-04-15 09:25:49 +02:00
Dion Moult
6ad091b0be
Deprecate mode subscriptiosn of profiles and walls
2024-04-15 09:25:49 +02:00
Dion Moult
dff33632ae
See #2881 . Allow indices in the selector instead of relying on external evaluations.
2024-04-15 09:25:49 +02:00
Dion Moult
e76487ca90
See #2916 . Minor fix.
2024-04-15 09:25:49 +02:00
Andrej730
a2df9dcadd
Revert "Fixed ifc validation errors for generated openings #2925 "
...
This reverts commit 66a53b486a .
2024-04-15 09:25:49 +02:00
Gorgious56
1503a13f6c
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
2024-04-15 09:25:49 +02:00
Andrej730
7842877ba0
Fixed ifc validation errors for generated openings #2925
2024-04-15 09:25:49 +02:00
Andrej730
be75ef2596
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(())
```
2024-04-15 09:25:48 +02:00
Andrej730
ec882a1a7d
Fixed validation error for ELEVATION_VIEW curves #2925
...
Error occured because ShapeBuilder was assigning "Curve2D" representation type for elevation view curves when the correct type is "Curve3D".
It use to occur for both doors and windows created with ifc modifier.
```
Validation error text:
2023-04-03:18:21:28,879 ERROR [rule_executor.py:154] On instance:
#135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 ))
Rule IfcShapeRepresentation_CorrectItemsForType:
(IfcShapeRepresentationTypes(self.RepresentationType,self.Items))
Violated by:
False
+ where False = IfcShapeRepresentationTypes('Curve2D', (#134=IfcIndexedPolyCurve(#133,(IfcLineIndex((1,2)),IfcLineIndex((2,3)),IfcLineIndex((3,4)),IfcLineIndex((4,1))),$),))
+ where 'Curve2D' = #135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 )).RepresentationType
+ and (#134=IfcIndexedPolyCurve(#133,(IfcLineIndex((1,2)),IfcLineIndex((2,3)),IfcLineIndex((3,4)),IfcLineIndex((4,1))),$),) = #135=IfcShapeRepresentation(#21,'Profile','Curve2D',(#134 )).Items
```
2024-04-15 09:25:48 +02:00
Andrej730
75d3da9908
Fixed all unit.add_si_unit uses after fd87747
...
Now they were causing `TypeError: Usecase.__init__() got an unexpected keyword argument 'name'`
2024-04-15 09:25:48 +02:00
Andrej730
3095521e36
Fixed some validation errors for doors and windows #2925
...
Fixed the ones caused by using 3d curves as inner/outer curves in profiles.
2024-04-15 09:25:48 +02:00