Thomas Krijnen
593fba98c1
Fix USE_PYTHON_OPENCASCADE setting #4832
2024-06-10 21:12:37 +02:00
Andrej730
51f859d8e4
typing
2024-06-10 17:43:06 +05:00
Dion Moult
c4dfbdbe2e
Merge branch 'v0.7.0' into v0.8.0
2024-06-07 23:48:39 +10:00
Andrej730
db98f13982
typing
2024-06-07 17:15:52 +05:00
Dion Moult
d76462ca42
Write more documentation
...
Sphinx autoapi also now only shows subpackages 1 level deep. This prevents us having a huge long list. Also don't show private or special members. Also show imported members so ifcopenshell.file and ifcopenshell.entity_instance works in docs too.
2024-05-07 17:32:47 +10:00
Dion Moult
0a3dddef2f
More Python 2 to Python 3 upgrades
2024-05-07 16:03:07 +10:00
Dion Moult
424a06f6c8
More cleaning up of forward type hints to fix import errors
2024-05-07 14:58:12 +10:00
Dion Moult
89c4cbeb05
Drop support for Python 2.
2024-05-07 12:17:46 +10:00
Alper Kantarci
62b9fe2e13
Use "gltf" instead of "gtlf" ( #4538 )
...
- Fix "gtlf" typo
2024-04-18 10:48:24 +02:00
Dion Moult
23f91c73af
Clash detection features
2024-04-18 10:40:32 +02:00
Andrej730
5197e27b13
typing
2024-04-17 14:48:55 +02:00
Andrej730
8ba68d0f0b
static ifcopenshell.geom.serializers and some typing for IDE code hints
...
code itself should work exactly the same way
2024-04-16 11:28:58 +02:00
Thomas Krijnen
f50509d2d4
occ_utils.py - #1037
2024-04-16 11:09:32 +02:00
Thomas Krijnen
da348e36be
#2676
2024-04-15 09:56:36 +02:00
Alper Kantarci
4d906578c7
Use "gltf" instead of "gtlf" ( #4538 )
...
- Fix "gtlf" typo
2024-04-10 21:02:56 +10:00
Dion Moult
c7fd42f2cf
Clash detection features
2024-03-26 15:13:36 +01:00
Andrej730
8307bf5877
typing
2024-03-15 15:50:38 +05:00
Andrej730
c3ded31a6a
static ifcopenshell.geom.serializers and some typing for IDE code hints
...
code itself should work exactly the same way
2024-01-22 14:24:24 +05:00
Thomas Krijnen
b976ad3880
occ_utils.py - #1037
2023-12-01 12:42:09 +01:00
Thomas Krijnen
5af975f99e
Backwards compatibility for py setting strings
2023-11-15 13:42:55 +01:00
Thomas Krijnen
65e874c67f
Drastic settings refactoring
2023-11-15 10:32:33 +01:00
Thomas Krijnen
5336b2f987
Implement shape serialization for cgal, possibility to supply geometry library to iterator in py
2023-08-25 21:46:32 +02:00
Thomas Krijnen
64d98f1295
#2676
2023-05-01 20:16:39 +02:00
Thomas Krijnen
6346c5ba47
#1444 V3d_DirectionalLight compatibility fix
2022-10-22 20:30:13 +02:00
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10:00
Thomas Krijnen
b5133c6874
Add caching option in iterate() helper
2022-02-27 12:56:16 +01:00
Thomas Krijnen
e81dd9c7df
Option to yield progress from iterate() and consume_iterator()
2022-02-26 14:57:21 +01:00
Thomas Krijnen
8be79f9aee
Add XML and glTF serializers to python
2022-02-26 14:52:58 +01:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
666e484b2b
Run black on IfcOpenShell-python.
2022-01-10 15:42:24 +11:00
Thomas Krijnen
e0e8281a1e
Allow tree.select(BRepElement)
2021-11-07 19:49:37 +01:00
Thomas Krijnen
9f73bd43b4
Don't wrap HdfSerializer
2021-10-29 10:47:40 +02:00
Thomas Krijnen
ea0e70ef0d
populate more serializers if available
2021-10-29 10:39:32 +02:00
luzpaz
0aa8a19b6d
Fix various typos ( #1837 )
...
Found via `codespell`
2021-10-29 08:56:02 +11:00
Thomas Krijnen
4733c82b82
Separate out consume_iterator()
2021-10-23 21:34:25 +02:00
Thomas Krijnen
da8e3e6288
#1753
2021-09-24 09:49:28 +02:00
Thomas Krijnen
768b754a0b
Merge remote-tracking branch 'origin/v0.6.0' into v0.7.0
...
# Conflicts:
# .github/workflows/ci.yml
# src/ifcparse/IfcParse.cpp
2021-09-24 09:03:58 +02:00
Thomas Krijnen
38a0c71060
#1674 use id to filter
2021-09-14 11:36:19 +02:00
Dion Moult
865c0f4895
Run black, and add black to a "qa" target to make it a standardised process.
2021-09-09 21:27:31 +10:00
Thomas Krijnen
43f528ce04
Merge remote-tracking branch 'origin/v0.6.0' into v0.7.0
...
# Conflicts:
# src/ifcgeom/IfcGeomTree.h
# src/ifcgeom_schema_agnostic/IfcGeomIterator.h
# src/ifcgeom_schema_agnostic/IteratorImplementation.cpp
# src/ifcgeom_schema_agnostic/IteratorImplementation.h
# src/ifcparse/Ifc4x3_rc3.cpp
# src/ifcparse/Ifc4x3_rc3.h
# src/serializers/SvgSerializer.cpp
2021-08-10 14:30:07 +02:00
Dion Moult
2c5442accc
Fix #1124 . Fix example and document quirk to prevent memory related bug.
2021-08-04 11:45:56 +10:00
Thomas Krijnen
34fd959011
expose serializers in higher level module
2021-07-11 15:03:49 +02:00
Thomas Krijnen
b5c3812849
Missing change for 6ecedaa128
2021-07-01 11:09:15 +02:00
Thomas Krijnen
8384235e10
Tree API extensions in wrapper
2021-05-10 11:47:16 +02:00
Thomas Krijnen
b231e9051b
Update main.py
2021-04-24 15:23:36 +02:00
Jesusbill
711acfe120
revert erroneous mod from bulk change
2021-03-26 17:51:35 +01:00
Jesusbill
9c00872a57
replace settings=None with {}
2021-03-25 00:54:42 +01:00
RobinVanTol
d0a9edd186
Update occ_utils.py
2021-02-21 16:04:42 +01:00
Thomas Krijnen
4e897a0c21
surface style ids on serialization
2021-02-13 16:03:57 +01:00
Manuel
3202174903
Attempt for compatibility with PythonOCC 7.4.1
...
Used import statement from occ_utils.py
added an If-Statement to the GetObject()-call.
Calling SetSelectionPriority directly on ais, as proposed by aothms (https://github.com/IfcOpenShell/IfcOpenShell/issues/1098 ) did not work.
Could load some ifc-models but needs further testing.
2021-01-21 13:34:33 +01:00