Andrej730
71c5e83fa0
typing
2024-10-22 18:20:25 +05:00
Andrej730
9eaecdb0a4
black .
2024-10-22 18:20:25 +05:00
Bruno Perdigão
3077687c59
Move product preview logic to its own decorator.
2024-10-22 10:01:50 -03:00
Bruno Perdigão
71997d37c0
Add support for cardinal point in beam and column preview.
2024-10-21 21:51:27 -03:00
Bruno Perdigão
acc9e7f706
Adds beam and columns to insertion point product preview.
2024-10-21 16:29:23 -03:00
Bruno Perdigão
5fa5b28484
Allow AddOccurence to use default container elevation value.
2024-10-21 11:10:10 -03:00
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
e8eb3972a1
Support styles without shading styles after 189bcd5
...
Noticed that after 189bcd5 some representations were missing styles - the ones that are using IfcSurfaceStyle with just IfcExternallyDefinedSurfaceStyle.
Ping @aothms just in case
2024-10-21 16:45:50 +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
Andrej730
4acdd7c960
Fix assigning cost item to resource after 97393eb #5601
...
fyi @myoualid
2024-10-21 11:26:09 +05:00
Richard Brice
647e379c69
Fixes problem with evaluating point on vertical alignment
...
Fixes evaluation of IfcLine parent curve for IfcGradientCurve. See https://github.com/IfcOpenShell/IfcOpenShell/discussions/5587
2024-10-20 08:19:49 -07:00
Thomas Krijnen
18d5957424
Defensiveness against invalid syntax #5608
2024-10-20 14:17:13 +02:00
Chris Mayo
65ecb92c03
python: Fix ifcopenshell.guid.new()
...
pyException:
<class 'AttributeError'>: module 'ifcopenshell' has no attribute 'guid'
2024-10-20 14:01:34 +02: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
9130659f71
ifcopenshell.open - readable error if file doesn't exist
...
Previously it would show obscure error like:
RuntimeError: Type held at index 0 is class Blank and not class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >
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
Thomas Krijnen
ecba1c3e7b
Fix for UVs in python binding #5592
2024-10-18 10:37:53 +02: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
Thomas Krijnen
a04912e174
Assure edges are emitted in some topological order
2024-10-17 14:35:17 +02: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
695ab0bfab
bump ifc sverchok #5546 #5178
2024-10-16 18:00:43 +05:00