Dion Moult
e1913bf03e
Fix #3497 . Set closed vs unclosed polygonal face sets to allow loading in some IFC software.
2023-07-25 17:41:33 +10:00
Andrej730
efc84606c5
Support looped railings #3415
...
Example - https://imgur.com/a/RaLORbk
2023-07-19 16:53:39 +05:00
Dion Moult
268039fb13
Write docs describing how to create profile representations
2023-07-19 19:58:19 +10:00
Dion Moult
892b41a540
New geometry.create_2pt_wall API function to create a wall-like representation from two points.
2023-07-18 18:29:26 +10:00
Dion Moult
05e05d0d5a
Rename sverchok representation to mesh representation
2023-07-18 18:22:56 +10:00
Andrej730
572a8c812e
root.remove_product fix
2023-07-14 18:22:31 +05:00
Andrej730
846dbc341d
root.copy_class to support copying ports in ifc2x3
2023-07-14 15:48:41 +05:00
Andrej730
6810bbff2f
remove_product to remove IfcRelConnectsElements
2023-07-14 14:46:58 +05:00
Dion Moult
89df937f89
Fix #3425 . Fix invalid IFC data where grid axes should be 2D not 3D.
2023-07-12 11:41:58 +10:00
Andrej730
52a8fcd86e
add_representation - detect non consequtive curves and handle them
...
Basically if current mesh curve is non consequtive we handle it in similar way to b03c4da7b - convert it to curves using Blender and then save them to ifc.
The advantage is that it creates less curves in ifc because mesh method wasn't able to detect separate curves correctly if vertex order was messed up (usually it is) and it would create separate curve for each curve segment.
I've also replaced figuring vertex duplicates with `bmesh.ops.remove_doubles` manually with `bmesh.ops.remove_doubles` and it's now much faster. In some cases because of the manual calculations it was taking too long - in #3233 Ryan mentiones that it freezes blender, it wasn't really freezing Blender but to finish calculations it would take 10 minutes.
2023-07-04 16:43:42 +05:00
Andrej730
b03c4da7bf
experimental support for spline curves representation #3233
...
there is still no full support but as a workaround I've added blender converting curves to meshes and back to curves so we could preserve the actual shapes
before - https://i.imgur.com/9F542Iy.png
after - https://i.imgur.com/t58RlkF.png
2023-07-04 10:57:22 +05:00
Andrej730
a86456392b
improved relative path handling for textures #3365
...
now we're going to store all texture paths in .ifc as posix to keep them working if .ifc moved from one platform to another
previously it was saving all paths as absolute
2023-06-30 18:05:26 +05:00
Andrej730
243eee9ebf
Added support for OCCLUSION textures for 3aff29dec
2023-06-30 14:44:06 +05:00
Andrej730
40656297a6
Fix for f88835b #3271
...
Now we do not rely on small offset to keep using inner curves to create linings, if some part of the lining is not present (which happens on mullions and transoms) we'll create U or L shape extrusion instead of rectangle with inner curve.
Long story short - this should keep ifc for windows valid.
2023-06-28 15:57:29 +05:00
Andrej730
f88835b87b
Corrected L shapes in window lining after e89a9cd #3271
...
From this - https://i.imgur.com/hQuCcR3.png
To this - https://i.imgur.com/qZ2Lyfo.png
It's a bit hacky since we still use really small offsets to keep "The outer curve shall enclose all inner curves." rule for IfcArbitraryProfileDefWithVoids valid.
2023-06-28 15:56:38 +05:00
Andrej730
e89a9cd01c
adjust window offset on transoms/mullions for symmetry #3271
...
Before - https://i.imgur.com/DbEzJ9H.png
After - https://i.imgur.com/0CERh86.png
Added it for modifier preview and ifc 2d and 3d repr but still need to work some things in 3d representation (L shape lining is not always detected correctly).
2023-06-27 19:30:49 +05:00
Thomas Krijnen
9c21304629
Correct if-clause
2023-06-16 14:08:48 +02:00
Totally a booplicate
d31b470e83
smol fix
2023-06-16 14:08:48 +02:00
Totally a booplicate
1ecb25684e
fix missing else clause
2023-06-16 14:08:48 +02:00
Totally a booplicate
5999976d37
raise TypeError on invalid pset
2023-06-16 14:08:48 +02:00
Totally a booplicate
51e5f843ba
rework unpack_unit_value
...
handle the `None` case, simplify logic
2023-06-16 14:08:48 +02:00
Totally a booplicate
3d787338fb
improve naming of the new method
2023-06-16 14:08:48 +02:00
Totally a booplicate
de67648f3e
improve update_existing_properties
...
explicit class check
error out on a not supported type
better methods names
2023-06-16 14:08:48 +02:00
Totally a booplicate
afa803ea62
implement _try_purge
...
per review comment about repeating code
2023-06-16 14:08:48 +02:00
Totally a booplicate
3a0aaee03b
restructure if/elif/else chain
2023-06-16 14:08:48 +02:00
Totally a booplicate
a5353e02b5
support tuples
2023-06-16 14:08:48 +02:00
Totally a booplicate
1acc743370
move prop check
2023-06-16 14:08:48 +02:00
Totally a booplicate
375f4f2a86
per review
...
change exception message
remove TODO
pass `Unit`
raise `NotImplementedError` when no template was found
2023-06-16 14:08:48 +02:00
Totally a booplicate
d4b88fd422
resolve TODO
...
This is being fixed, we should always have a class to use
2023-06-16 14:08:48 +02:00
Totally a booplicate
df6cc74a87
attempt to improve pset support
...
1. Adds support to directly passed in property entities
2. Adds support for tuples
3. Adds support for P_LISTVALUE
2023-06-16 14:08:48 +02:00
Andrej730
a3859385c4
Blender curves to IfcIndexedPolyCurve #3233
...
Now blender curves segments saved in IfcIndexedPolyCurves instead of creating individual polygons.
Also changed ShapeBuilder.polyline - now it will try to store points in IfcLineIndex where it's possible (previously it was storing just 2).
2023-06-05 17:21:27 +05:00
Sigma Dimensions
0c946fae36
fix removing cost item value
2023-06-02 00:31:50 +01:00
Sigma Dimensions
90c19f8454
Ctrl+P and Alt+P BIMTool Hotekys to assign/unassign aggregation
2023-05-28 14:45:57 +01:00
Andrej730
812eb5eaef
Small documentation note
2023-05-25 16:09:43 +05:00
Sigma Dimensions
eb54f5a0cb
ios api task fix: remove orphan IfcRelNests when deleting tasks
2023-05-21 12:45:04 +01:00
Sigma Dimensions
a4a6dce6de
BBIM D: Copy cost items, export Cost Schedules individually, start improving Cost Schedule UI
2023-05-21 12:42:50 +01:00
Sigma Dimensions
64fd6a1f52
fix copying relationships when duplicating tasks
2023-05-03 19:43:05 +01:00
Dion Moult
60a9d96ac8
See #1676 . You can now duplicate space boundaries.
2023-05-03 20:38:09 +10:00
Sigma Dimensions
9422f804fb
minor fix
2023-05-03 04:22:02 +01:00
Dion Moult
04e5f5036c
See #1676 . Deleting space boundaries now also removes connection geometry.
2023-05-02 22:20:34 +10:00
Sigma Dimensions
ca77a895e0
IOS.API consider removing baseline tasks when deleting tasks
2023-05-02 02:31:48 +01:00
Sigma Dimensions
0f447f964e
IOS.API usecase to create a work schedule baseline
2023-05-02 02:30:38 +01:00
Sigma Dimensions
2c31fc6b25
run black
2023-05-02 02:27:32 +01:00
Sigma Dimensions
107873cf6e
- refactor IOS.API resource calculation to re-use shared utilities
...
- run black
2023-04-30 15:35:17 +01:00
Sigma Dimensions
2af4388f40
Fix duplicate task logic in IOS.API
2023-04-29 13:53:04 +01:00
Andrej730
9b22b5000f
Added support for different railing cap types
...
Very similar to this - https://i.imgur.com/SNyvfgh.png
2023-04-28 17:24:41 +05:00
Andrej730
11601d6532
Fixed bug with wrong position of support in wall mounted railing
...
The problem was that that support's disk was not rotated according to the railing path.
2023-04-28 11:43:15 +05:00
Andrej730
ee2f18349f
WALL_MOUNTED_HANDRAIL type for Railing modifier
...
Added WALL_MOUNTED_HANDRAIL type for railing modifier. It's still a bit work in progress - still need to add support for different railing termination types.
Here's the short demonstration - https://user-images.githubusercontent.com/9417531/234582621-6c6f948b-9cdc-4be6-b380-17ddbf5803bf.mp4
2023-04-26 18:04:39 +05:00
Dion Moult
7df80af30b
Fix #2913 . Bug where properties with multiple inverses were not correctly purged.
2023-04-18 18:08:24 +10:00
Dion Moult
f63091ce05
Fix #2974 . Type property sets are now properly copied.
2023-04-13 14:08:02 +10:00