Andrej730
68d3539a86
mapping binding - never overwrite already set item->instance
...
1) this way code should be more straightforward
2) this allows us not to reimplement mapping.get_surface_style logic in IfcGeomWrapper as it will be already handled in map_impl(const IfcSchema::IfcStyledItem* inst) and the resulting item->instance is not overridden by IfcStyledItem.
2024-06-21 14:52:37 +05:00
Thomas Krijnen
b44b1cb8b0
Fix segfault on gcc #4832
2024-06-19 11:56:56 +02:00
Thomas Krijnen
17a433a97b
Don't pass around nullptr in case of failed representation mapping
2024-06-18 12:32:00 +02:00
Andrej730
ffd944f4f9
style->instance_id to consider possible IfcPresentationStyleAssignment in ifc2x3/ifc4
2024-06-12 13:52:44 +02:00
Thomas Krijnen
95e36979d5
Don't link against svgfill from python when building without cgal #4832
2024-06-11 12:32:11 +02:00
Thomas Krijnen
c01263d721
shared_ptr styles all over #4833
2024-06-10 20:13:12 +02:00
Dion Moult
c4dfbdbe2e
Merge branch 'v0.7.0' into v0.8.0
2024-06-07 23:48:39 +10:00
Thomas Krijnen
90ae709156
Wrapping of mapping
2024-05-23 13:06:57 +02:00
Kristof Semjen
589b98053e
Fixes #4261
...
SWIG_Python_str_AsChar and SWIG_Python_str_DelForPy3 are no longer available in swig 4.2 (see : https://github.com/swig/swig/commit/f89dd59d4b82ece899087682fdb86e94d2611513 ),
this commit fixes the build for swig versions > 4.2.
2024-04-21 16:22:56 +02:00
Thomas Krijnen
4f9f3d1856
Work around for obtaining instance id that blenderbim expects for materials
2024-04-21 13:34:25 +02:00
Thomas Krijnen
889ed3bb07
Change 'template template' to param pack to make clang happy
2024-04-20 13:22:13 +02:00
Thomas Krijnen
29998e3f57
Option to convert placements via convert_shape() #4565
2024-04-19 20:23:59 +02:00
Thomas Krijnen
0edfb0e791
Settings rework for plan/model/context and interfacing with python
2024-04-18 21:04:02 +02:00
Dion Moult
23f91c73af
Clash detection features
2024-04-18 10:40:32 +02:00
Thomas Krijnen
7fa3cd45ca
#4452 release gil in ifcopenshell.open() and read()
2024-04-17 14:54:42 +02:00
Thomas Krijnen
ce5b1530e3
Add buffer (bytestring) accessors to material colors - plus small fixes
2024-04-17 14:41:49 +02:00
Thomas Krijnen
5e7156021b
Add buffer (bytestring) accessors to geometry data
2024-04-17 13:58:05 +02:00
Martin15135215
5744c3a821
add cff for ifcwrap
2024-04-16 11:12:08 +02:00
Thomas Krijnen
ffa9015798
Lingering changes after conflict resolution
2024-04-16 10:05:40 +02:00
Thomas Krijnen
d6250aaf2a
#3189 proposal ( #3190 )
2024-04-16 10:05:07 +02:00
Thomas Krijnen
fe7d550ef7
Help swig not to trip over old occt handle definitions
2024-04-15 13:29:18 +02:00
Thomas Krijnen
dc81be8a9a
item_id vector #3120
2024-04-15 13:02:45 +02:00
Thomas Krijnen
7589e0bd40
Implement product matric access in Python wrapper
2024-04-10 21:22:13 +02:00
Dion Moult
c7fd42f2cf
Clash detection features
2024-03-26 15:13:36 +01:00
Thomas Krijnen
4f53d8c5f1
#4452 release gil in ifcopenshell.open() and read()
2024-03-21 14:11:34 +01:00
Thomas Krijnen
eaa2aa05a4
Add buffer (bytestring) accessors to material colors - plus small fixes
2024-02-28 11:12:17 +01:00
Thomas Krijnen
abfa6edc5c
Add buffer (bytestring) accessors to geometry data
2024-02-27 16:18:40 +01:00
Thomas Krijnen
d04357933b
Release GIL in some cases
2024-02-18 12:06:02 +01:00
krande
d5da636b00
suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12).
2023-12-20 12:05:47 -08:00
Thomas Krijnen
4dcc1b5718
4x3_add2 py wrapper
2023-12-19 12:40:38 +01:00
Thomas Krijnen
6ed91d3ea4
to_string() option, no shared_ptr in OpaqueCoord, add ConvResShape::vertices(), newell instead of simple cross product, create_epeck(double/str)
2023-12-13 16:43:33 +01:00
Thomas Krijnen
1e83e5b018
Python wrapper improvements
2023-12-11 21:06:25 +01:00
Martin15135215
a3532b24b3
add cff for ifcwrap
2023-12-07 13:42:32 +11:00
Thomas Krijnen
f687e610b9
Workaround to create epeck number from python
2023-12-05 21:15:06 +01:00
krande
eb91f5179b
suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12).
2023-11-28 15:03:31 +01:00
Thomas Krijnen
4166384ab3
Enable setting ITERATOR_OUTPUT from python
2023-11-28 12:59:32 +01:00
Thomas Krijnen
d5fbc72537
if constexpr instead of disallowed member specialization
2023-11-15 12:33:26 +01:00
Thomas Krijnen
65e874c67f
Drastic settings refactoring
2023-11-15 10:32:33 +01:00
Thomas Krijnen
809668c015
Major update to halfspace algorithm, conversion result shape analysis
2023-11-02 09:04:34 +01:00
Thomas Krijnen
94db9ec522
Add IFC4X3_ADD2 schema
2023-10-13 11:51:05 +02:00
Thomas Krijnen
4bb3cc5c90
Fix transformation in serialization element, accept geometry library in more geom functions
2023-08-26 11:35:23 +02:00
Thomas Krijnen
3aea0915d0
#3189 proposal ( #3190 )
2023-07-08 20:07:28 +10:00
Thomas Krijnen
4457da9042
Help swig not to trip over old occt handle definitions
2023-06-29 13:29:49 +02:00
Thomas Krijnen
2b3d547c99
#3120 item_id vector
2023-06-19 13:47:55 +02:00
Thomas Krijnen
09f6992c65
Fix linking of wrapper on GCC
2023-04-09 19:28:57 +00:00
Thomas Krijnen
c32c88b1a0
Merge remote-tracking branch 'origin/v0.7.0' into v0.8.0
2023-03-29 12:55:05 +02:00
Thomas Krijnen
b957e629b5
Update wrapper code
2023-03-22 15:25:14 +01:00
Thomas Krijnen
031694af2b
Make cgal optional
2023-03-22 11:47:00 +01:00
Thomas Krijnen
2b1b79bf1c
Make occt optional
2023-03-22 11:17:14 +01:00
Thomas Krijnen
c78b2893de
Proceed with merge
2023-03-21 20:15:01 +01:00