Andrej730
84d58cc572
revert 4211e7a93 to restore bot builds #4980
2024-07-05 14:55:19 +05:00
Andrej730
ef39acfb05
Suffixes for compiled .pyd/.so based on the platform #4686
2024-07-05 11:44:01 +05:00
Thomas Krijnen
cf3d050423
Rename taxonomy kind enum accordingly
2024-07-03 20:04:52 +02:00
Thomas Krijnen
813a8e12ed
Update python bindings for name changes
2024-07-03 20:04:52 +02:00
Andrej730
4211e7a936
IfcWrap CMake - migrate to FindPython
...
Previously it was giving deprecation warnings:
CMake Warning (dev) at /IfcOpenShell/src/ifcwrap/CMakeLists.txt:38 (FIND_PACKAGE):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
CMake Warning (dev) at /IfcOpenShell/src/ifcwrap/CMakeLists.txt:73 (FIND_PACKAGE):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
2024-07-03 18:12:22 +05:00
Thomas Krijnen
d4efcd40f9
Advanced brep, sweeps and various fixes #4848 #4895
2024-07-03 14:36:35 +02:00
Thomas Krijnen
19b89a3b1f
Workarounds for unstyled elements in tree and wrapper #4924
2024-07-02 11:44:00 +02:00
Andrej730
d1be0e8c1c
create_shape - raise the same error for representations and rep items
...
To be consistent with how it's handled when product+representation is passed, previously it would fail silently.
2024-06-28 18:24:58 +05:00
Dion Moult
2d5be6cf89
Search replace 0.7.0 with 0.8.0
2024-06-27 11:49:12 +10:00
Thomas Krijnen
54a0a5b454
Some more python mapping wrapping experiments
2024-06-24 21:57:16 +02:00
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