Bruno Perdigão
745c8e173a
Small fix after 14917d2c3
2024-10-21 10:46:26 -03:00
Bruno Perdigão
14917d2c31
Windows and Doors preview now get the wall rotation.
2024-10-21 10:34:42 -03:00
Bruno Perdigão
340916a5a4
Refactor snapping point selection to add the object name.
2024-10-21 10:34:42 -03:00
Bruno Perdigão
734ac2ba70
Fix issue with using shift + mousewheel while polyline is active.
2024-10-21 10:34:42 -03:00
Andrej730
dbfe3ea3c4
bim.update_representation - error message for objects with openings
2024-10-21 18:05:27 +05:00
Andrej730
c581946fa8
railing, roof - save representation to ifc instead of marking it as edited #5610
2024-10-21 18:05:27 +05:00
Andrej730
492df2310d
parametric stair - don't mark object as edited
...
As representation already saved to IFC and edited_objs seems to be getting less reliable because of the openings.
2024-10-21 18:05:27 +05:00
Andrej730
45b3008b99
bim.edit_style to update representations if Side was edited
...
Mentioned in #5604 . Since IfcSurfaceStyle.Side is used during representation generation, we need to regenerate them if the value was changed. Previously it would require manual update / project reload.
2024-10-21 16:45:50 +05:00
Andrej730
ce6c56cab4
model.workspace - cache is_representation_item
...
To avoid accessing IFC on every draw call
2024-10-21 14:40:39 +05:00
Andrej730
1d90665c3a
split_by_loose_parts to preserve the objects selection
...
Noticed that bim.assign_class started to loose the objects selection after 29d6d2b
2024-10-21 14:40:39 +05:00
Andrej730
6bfbcb8f92
typing
2024-10-21 14:40:38 +05:00
Bruno Perdigão
b8d98b7512
Black format
2024-10-19 11:15:30 -03:00
Bruno Perdigão
97ed3bb0d5
Add product preview for mesh type objects when insertion point is active.
...
Currently works with doors, windows and furnitures.
2024-10-19 10:57:06 -03:00
Bruno Perdigão
217ada0993
Refactor wall preview for polyline tool.
2024-10-19 10:25:03 -03:00
Andrej730
122ec6fb0a
Use clever Blender length props for editing representation item extrusion depth
...
Example - https://imgchest.com/p/ljyqzpmwoy2
2024-10-18 18:12:00 +05:00
Andrej730
60837b9512
Operator to save pset as a template
...
Mentioned in #5596
Example - https://imgchest.com/p/5xy235xvj4l
Adds 2 things:
1) UI indicator whether pset is based on template or not
2) When pset is not based on a template, indicator becomes clickable and works as a shortcut for creating pset template based on the current pset.
2024-10-18 18:11:59 +05:00
Andrej730
ada4a8884b
tool.PsetTemplate
2024-10-18 18:11:59 +05:00
Andrej730
a27bdc4e3e
Add description to pset template props
...
As name doesn't seem to be displayed in the enum tooltip
2024-10-18 18:11:59 +05:00
Andrej730
43cecf6c5e
Hide 'remove pset template/file' operator when there are no templates/files
2024-10-18 18:11:59 +05:00
Andrej730
4666589fcd
bim.add_pset_template to add psets with unique names for convenience
2024-10-18 18:11:59 +05:00
Andrej730
e3ef64d0b3
Fix UI error switching between pset template files
2024-10-18 18:11:59 +05:00
Andrej730
828160c1b1
Fix UI errors if there are no pset template files
2024-10-18 18:11:59 +05:00
Andrej730
832ccff139
fix broken enum after removing pset template/file
2024-10-18 18:11:59 +05:00
Andrej730
17e67fbdaa
bim.remove_pset_template_file - note
2024-10-18 18:11:58 +05:00
Andrej730
01b28fde6f
remove BIMPsetTemplateProperties.new_template_filename
...
- as it was only used inside bim.add_pset_template_file operator
- also remove second unnecessary ":" in the prop label (":" is automatically added by Blender)
2024-10-18 18:11:58 +05:00
Andrej730
e073f11e25
typing
2024-10-18 18:11:58 +05:00
Andrej730
dbd64ebb0e
black .
2024-10-18 18:11:58 +05:00
Andrej730
5837a143da
bump IOS #5583
2024-10-18 11:55:38 +05:00
Bruno Perdigão
01c67eea48
Fix issue with joining walls with negative direction sense.
2024-10-18 07:49:46 +11:00
Andrej730
b17eacfa6a
typing
2024-10-17 18:25:08 +05:00
Andrej730
ee7fd0cadf
Fix issues with unsanitized cache names #5589
...
Underlay filename wasn't sanitized when saved to 'cache' and when added to .svg but later when it's moved from 'cache' to 'drawings' folder the filename was regenerated using sanitized main .svg filename leading to issues.
2024-10-17 15:10:29 +05:00
Andrej730
5ae75d32bd
fix bug in a0e660583 #5585
2024-10-16 21:23:56 +05:00
Andrej730
a0e6605834
support adding parametric roof to object without representations
2024-10-16 18:00:43 +05:00
Andrej730
903e673984
Fix adding parametric geometry operators missing undo step
...
This also seems to by accident resolve #5565 🤨 🤨 🤨
2024-10-16 18:00:43 +05:00
Andrej730
a7efdb0bff
support adding parametric stair to object without representations
2024-10-16 18:00:43 +05:00
Andrej730
e9e89c1280
remove unnecessary second style reload when disabling style editing
2024-10-16 18:00:43 +05:00
Andrej730
e29f8ce18a
clear collections properties for styles when not editing
2024-10-16 18:00:43 +05:00
Andrej730
ee892f63bf
Fix bug loading wrong external style #5576
...
By mistake it was always using currently edited external style, even if external style was not edited anymore and even if it was different style currently edited.
2024-10-16 18:00:43 +05:00
Andrej730
bb8e1866b0
Subscribe to viewport shading changes for appended BIM workspace too
2024-10-16 18:00:42 +05:00
Andrej730
3a5856511d
bim.update_current_style - optimization for updating styles for multiple objects
2024-10-16 18:00:42 +05:00
Andrej730
725df97ac0
bim.save_project to preserve relative ifc path #5407
2024-10-16 18:00:42 +05:00
Andrej730
98888d5096
bim.load_project - use_relative_path to override should_start_fresh_session
2024-10-16 18:00:42 +05:00
Andrej730
14d44dcd3e
remove ExportIFCBase as it's unused
2024-10-16 18:00:42 +05:00
Andrej730
7f1f249759
typing
2024-10-16 18:00:42 +05:00
Andrej730
3113d62c85
black .
2024-10-16 18:00:35 +05:00
Gorgious56
58b46da04d
Fix SHIFT+D shortcut for duplication not working for vanilla non-meshlike objects (eg lights)
2024-10-16 11:56:04 +02:00
Bruno Perdigão
db77d06a8a
Fix error introduced by b9c6508aa
2024-10-15 23:21:38 -03:00
Dion Moult
4684aa4a55
Fix bug where you couldn't add conditional material psets
2024-10-16 12:26:33 +11:00
Bruno Perdigão
b9c6508aa7
Polyline wall ability to switch axis while drawing.
...
While drawing the polyline the user can press:
- F to flip the wall. Changes the direction sense.
- O to change the offset type between Exterior, Center and Interior. This will change the offset from reference line.
Those attributes can be verified in the Object Materials panels of each wall after they are created.
2024-10-15 21:58:34 -03:00
Bruno Perdigão
d7bf8eba02
Fix small issue with the area decorator for the measure tool.
2024-10-15 21:47:42 -03:00