Vukas Pajic
7ca6fec75f
cleanup
2024-04-15 09:37:49 +02:00
Vukas Pajic
bc2a12a498
added new tests for case where spec has no requirements
2024-04-15 09:37:49 +02:00
Andrej730
1cf524b95d
Fixed bug in bim.select_assigned_product
...
It was trying to call method `Drawingcls.get_active_object()` that didn't exist
2024-04-15 09:37:49 +02:00
Andrej730
00370e94d0
TEXT_LEADERS BoxAlignment, FontSize, multiline in viewport preview #3008
...
Moved code for drawing text in viewport to a separate reusable method `draw_text` in BaseDecorator.
2024-04-15 09:37:49 +02:00
Dion Moult
98309da543
Add support for loading IfcProxy
2024-04-15 09:37:49 +02:00
Dion Moult
fe8220f9a7
Add support for editing ref latitude/longitude
2024-04-15 09:37:49 +02:00
Massimo Fabbro
cc9b178535
Small fix
2024-04-15 09:37:49 +02:00
Massimo Fabbro
8daa5bf5f7
Now it's possible to specify the digits number in a drawing. Fix #2993
2024-04-15 09:37:49 +02:00
Ryan Schultz
5c301da21e
Library - changed to correct class
2024-04-15 09:37:49 +02:00
Dion Moult
507f03640a
Fix #3003 .
2024-04-15 09:37:49 +02:00
Dion Moult
d2fbdfeada
Fix #2975 . Fix bug where imperial projects still created drawings with metric scales by default.
2024-04-15 09:37:49 +02:00
Dion Moult
2b81da2c50
See #2975 . Fix bug where custom scales were not loaded correctly.
2024-04-15 09:37:49 +02:00
Dion Moult
00a40024a9
Fix bug where changing object visibility didn't first check for view layer existence.
2024-04-15 09:37:49 +02:00
Ryan Schultz
187b4d9dc0
Fix #2989
2024-04-15 09:37:49 +02:00
Dion Moult
66c9fa6934
Fix #2980 . Minor cleanup to polish array panel UI.
2024-04-15 09:37:49 +02:00
Dion Moult
6dfe7dc31b
Fix #2988 . Imperial dimensions in viewport are now split between feet and inches.
2024-04-15 09:37:49 +02:00
Ryan Schultz
61b255b08f
Fix #2990
2024-04-15 09:37:49 +02:00
Andrej730
d2124e1c8b
Fixed bugs with furniture library toilets and basins #2976
...
Bug was introduced in cf6acd5 when `shape_builder.get_rectangle_coords` started returning coords in counter-clockwise order instead of clockwise.
2024-04-15 09:37:49 +02:00
Andrej730
f6a95e8c17
Dimension description in viewport/option to hide the measurements #2918
...
same thing for diameter annotations since they are just reusing dimension annotations
+ some refactor along the way
2024-04-15 09:37:49 +02:00
Dion Moult
d9726efee0
Fix #2986 . Reimplement Metadata property of EPset_Drawing to include arbitrary metadata as CSS classes.
2024-04-15 09:37:49 +02:00
Dion Moult
4f7454070c
Fix #2985 . Purge obsolete vector style feature.
2024-04-15 09:37:49 +02:00
Dion Moult
d753852042
Fix #2979 . Batch drawling unselected and selected cut lines.
2024-04-15 09:37:49 +02:00
Andrej730
fcdfa5dd23
Annotation Tool
...
Added Annotation Tool that allows you create annotation types and their occurences. It will also allow us to get rid of "Annotation" panel in N-panel.
I've recorded bunch of short videos to demonstrate the features:
- bulk tagging - currently works only for "Text" and "Stair arrow" type of annotations, adds annotations to all selected objects, automatically assigns products to the annotations
https://user-images.githubusercontent.com/9417531/231968358-28cbb762-3349-470a-beef-d1ab21882769.mp4
- creating annotation type with representation - all occurences will share the same representation which makes bulk tagging really powerful if you use variables like {{PredefinedType}}, {{GlobalId}}, {{Name}}, {{Description}}, {{ObjectType}}, {{Tag}}
https://user-images.githubusercontent.com/9417531/231970500-333514c6-6406-4ef5-a9e7-fddfcc9a2436.mp4
- creating annotation type without representation - it allows occurences to have unique text or line geometry but still share the same classes from inherited property set
Examples:
creating text type without representation to create title case annotations
https://user-images.githubusercontent.com/9417531/231969361-bda5f924-a8c8-4f5a-ba61-461aa7101f73.mp4
creating type for oblique dimension annotations
https://user-images.githubusercontent.com/9417531/231969902-38e8c3f4-45a6-4c98-bba4-2956288ce10a.mp4
- readjusting - if you created some annotations using bulk tagging but the products were changed / moved afterwards now you can select those annotations and "readjust" them according to new product's position / measurements
https://user-images.githubusercontent.com/9417531/231968975-ee8d6589-60ee-4575-9be2-b0ce68d43ffa.mp4
PS In this commit I've also moved all icons to 1 .blend file and added instructions how to regenerate them.
2024-04-15 09:37:49 +02:00
Dion Moult
01a4d64419
Fix #2980 . Array deletion now uses delete tool. Delete moved into tool so it can be used by other functions.
2024-04-15 09:37:49 +02:00
Dion Moult
c852678437
See #2978 . Fix crash upon drawing deletion.
2024-04-15 09:37:49 +02:00
Dion Moult
019c9d89e4
Fix #2955 . Drawings can now set a precision.
2024-04-15 09:37:49 +02:00
Dion Moult
718082e4df
Fix #2971 . Only update placement if object actually moved.
2024-04-15 09:37:49 +02:00
Dion Moult
e5c9f0e38f
Purge old code from timer-based type browser system
2024-04-15 09:37:49 +02:00
Thomas Krijnen
f2c25f430a
Fixes to validation of selected simple type / enum
2024-04-15 09:37:49 +02:00
Dion Moult
09a72b32e9
Minor fix
2024-04-15 09:37:49 +02:00
Dion Moult
cf640a971d
Fix #2968 . Deletions are no longer postponed. Should fix or reveal a lot of sync errors.
2024-04-15 09:37:48 +02:00
Dion Moult
c4c3fc1bfa
Fix bug where switching representations didn't update the material checksum, leading to unnecessary material syncs at export time.
2024-04-15 09:37:48 +02:00
Dion Moult
4c6565d4a4
Styles are applied per mesh data now (potentially dangerous). Fix crash when switching to representation which has styles from an unstyled mesh.
2024-04-15 09:37:48 +02:00
Dion Moult
e3979cadc7
Fix #2974 . Type property sets are now properly copied.
2024-04-15 09:37:48 +02:00
Dion Moult
7ba65857bd
New activate model operator to switch back to a MODEL_VIEW target view subcontext
2024-04-15 09:37:48 +02:00
Dion Moult
92a8bf27c8
Activating a drawing now automatically switches to the preferred target view representation of all elements
2024-04-15 09:37:48 +02:00
Dion Moult
9d006f4eb3
New "cut decorator" that draws cut lines in drawings.
2024-04-15 09:37:48 +02:00
Dion Moult
5f44435acb
Only activate drawing styles if underlay enabled, and default to default Blender styles to prevent confusion
2024-04-15 09:37:48 +02:00
Dion Moult
697d10620a
Regenerating fills now maintains the active representation
2024-04-15 09:37:48 +02:00
Dion Moult
5e91b77df0
Only allow drawing / sheet / schedule creation once the IFC is saved to enforce correct relative paths.
2024-04-15 09:37:48 +02:00
Andrej730
e78ab0db93
Focus on text field on edit Ifc Text with BIM Tool hotkey (once again)
...
This option was here before but it was accidentally discarded after f7181aa
2024-04-15 09:37:48 +02:00
CyrilWaechter
8aa5830741
Fix #2964
2024-04-15 09:37:48 +02:00
Andrej730
ed1f35c09c
restoring selection on bim.override_mode_set_edit if nothing worked
...
it was a bit confusing when you're trying to edit some object, you get error message but you also lose object selection
2024-04-15 09:37:48 +02:00
Andrej730
1ebb018187
Fixed bug with roof created in projects with milimeters units
...
the problem was that operators were converting angle using SI and angle was set to 10000
2024-04-15 09:37:48 +02:00
Andrej730
e3a64788ef
Fixed error in PLAN_LEVEL elevation value in printed svgs #2961
...
Also added more precision to inPerFoot in helper.format_distance to avoid this a bit annoying precision problem where format function keeps adding 1/256"
Without precision - https://i.imgur.com/D9WYjvJ.png
With precision - https://i.imgur.com/3XgOFSH.png
2024-04-15 09:37:48 +02:00
Andrej730
c20f9eaffd
Changed roof preview colors and it's now transparent
...
Changed roof preview colors to the same as openings
2024-04-15 09:37:48 +02:00
Andrej730
5707d8245f
fixed mistake in tool.Blender.apply_bmesh
...
was resulting in error when you apply roof path
2024-04-15 09:37:48 +02:00
Andrej730
37949a0d80
Added checkboxes to drawing list to mark multiple selected drawings
...
Checkboxes affect the drawings that will be used when you shift click "Create drawing", "Open Drawing", "Remove Drawing". Previously those opeartors were always applying the action to all drawings.
Also added option to remove selected drawings with shift+click to "Remove Drawing" and added new operator "Select all drawings" to select drawings in one click (you can shift click it to delsect all drawings).
Example - https://i.imgur.com/GAGghu5.png
2024-04-15 09:37:48 +02:00
Dion Moult
759a5a6b86
Fix bug where invalidly mapped representations shouldn't be edited.
2024-04-15 09:37:48 +02:00
Thomas Krijnen
7a82dbeaf4
Some small fixes for rule compliance in template.py
2024-04-15 09:34:22 +02:00