Andrej730
10e805b3f1
black .
2025-09-10 15:34:06 +05:00
Richard Brice
d552f247fa
Fixed a typo mapping horizontal curve segments to geometry
2025-09-09 13:08:31 -07:00
Andrej730
0cf3bb3da9
ifc2sql - support saving element types geometry
2025-09-05 19:10:36 +05:00
Andrej730
062bf8e60b
typing
2025-09-05 19:10:36 +05:00
Andrej730
8c12bd0322
Reuse builder.create_axis2_placement_3d
2025-09-04 19:09:18 +05:00
Dion Moult
823eb7d199
SetFalseOrigin recipe now by default resets non-geometric spatial elements (XY values only).
2025-08-02 18:11:33 +10:00
Dion Moult
7038cbe871
ResetSpatialElementLocations patch now supports only_xy toggle.
...
Also rewrote the patch to use API and util functions to make it more
robust.
2025-08-02 17:54:55 +10:00
Andrej730
c700a32b09
Fix RUF015
2025-07-28 19:27:59 +05:00
Andrej730
0cb6d9de72
typing
2025-07-28 19:27:59 +05:00
Andrej730
cdeeab4b31
black .
2025-07-28 17:03:25 +05:00
Dion Moult
54522aab6a
Add AGS2IFC patch recipe by David
2025-07-28 16:44:32 +10:00
Richard Brice
f3c72920de
Alignment patch recipes
2025-07-27 15:10:22 -07:00
Andrej730
03fa850ce2
Fix old bug in FixArchiCADToRevitDoorSwings ( 1d74306)
...
It was using variable `f` that was never defined
2025-07-15 17:47:36 +05:00
Andrej730
f18c93c9ee
typing
2025-07-15 17:47:35 +05:00
Andrej730
28043a8e5d
ifc2sql - skip creating geometry if iterator failed to initialize
2025-07-03 18:48:30 +05:00
Andrej730
90ab846a18
typing
2025-06-20 18:48:34 +05:00
Andrej730
a12bb343ca
Fix RUF015 (next() instead of list comprehensions[0])
...
https://docs.astral.sh/ruff/rules/-iterable-allocation-for-first-element/
2025-06-16 19:55:25 +05:00
Andrej
8b4683aef1
replace api.run with static methods
2025-06-09 18:03:19 +05:00
Andrej
02d359d0e6
Fix Ruff UP035 (also deprecated annotation symbols)
2025-06-09 18:03:19 +05:00
Andrej
7d4176d105
Fix Ruff UP006 (deprecated annotation symbols)
2025-06-09 18:03:18 +05:00
Andrej
3892ac56a4
Skip 26b21dd test if non-standard schema is not available (e.g. in github ci)
2025-06-05 19:05:28 +05:00
Andrej
d6b5c73d4a
ifcpatch - fix doc-string ( b07b0e4be)
2025-06-05 19:05:28 +05:00
Andrej
f622d2f961
ifc2sql - consider .ifcsqlite suffix
2025-06-05 19:05:27 +05:00
Andrej
1ce9a4c68e
ifc2sql - fix mysql errors inserting values into shape table
2025-06-04 19:10:52 +05:00
Andrej
930d58cf69
ifc2sql - fix issue inserting mysql json attributes
...
It seems mysql doesn't have automatic conversion from other types to json, so we stringify it for compatibility.
2025-06-04 19:10:51 +05:00
Andrej
926785c5ec
ifc2sql - fix should_get_inverses for mysql
2025-06-04 19:10:51 +05:00
Andrej
274e19dcb9
ifc2sql - warn user if ifc database already exists
2025-06-04 19:10:51 +05:00
Andrej
7f0f93f726
ifc2sql - close cursor too
...
Important on Windows if someone is using Patcher explicitly and `self.c` is not garbage collected and file stays locked and cannot be moved.
2025-06-04 19:10:51 +05:00
Andrej
b07b0e4bea
ifc2sql - fix regression with missing resulting database filepath ( 9055f14) #6758
2025-06-04 19:10:50 +05:00
Andrej
a0e4bdcbef
ifcpatch - fix ifc2x3 bootstrap ( c58b84d)
...
After c58b84d append_asset requires user to be a valid IFC entity.
2025-06-04 19:04:32 +05:00
Andrej
c51e36dbca
ifcpatch - a static way to use ifcpatch
2025-06-04 19:04:31 +05:00
Andrej
b393c120f1
ifcpatch pyproject - list optional dependencies
2025-06-04 19:04:31 +05:00
Andrej
a614fac71a
typing
2025-06-04 19:04:31 +05:00
Andrej
f44769c138
ifc2sql - add example for should_expand
2025-05-30 18:13:18 +05:00
Andrej
a6e3cc667c
ifc2sql - add missing should_get_inverses description
2025-05-30 18:13:17 +05:00
Andrej
92a222cda7
typing
2025-05-30 18:13:10 +05:00
Andrej
0663c5130a
typing
2025-05-29 19:14:42 +05:00
Andrej
7cde9629f8
Fix Ruff UP034 (extraneous-parentheses)
...
https://docs.astral.sh/ruff/rules/extraneous-parentheses/
2025-05-28 18:24:13 +05:00
Dion Moult
0f37eca333
Fix bug in IFC4X3 when convering properties to quantities
2025-05-09 15:24:30 +10:00
Andrej730
a6c37771fc
typing
2025-04-17 18:55:40 +05:00
Andrej730
6dc6fddd0e
add_mesh_representation - expand documentation and typing #6541
2025-04-14 16:17:59 +05:00
Andrej730
fc37cca1d0
ExtractElements - expose assume_asset_uniqueness_by_name option #6243
...
I'd much rather not expose this option to ifcpatch but I guess models are different and there should be a way to extract elements even if assets name uniqueness is not ensured (since it's not IFC requirement anyway). But it may cause duplicated assets.
2025-04-11 19:55:26 +05:00
Andrej730
53b26a9b66
typing
2025-04-11 19:55:25 +05:00
Dion Moult
26b21ddcb3
Fix #6414 . Allow extracting elements from non-standard IFC schemas.
2025-03-23 22:16:42 +11:00
Thomas Krijnen
f7163b8db8
schema -> schema_identifier #6414
2025-03-22 19:27:50 +01:00
Andrej730
2f87029434
Use schema_identifier to get IFC4X3 schema more precisely
2025-03-14 18:19:07 +05:00
Andrej730
590288496e
typing
2025-03-07 17:12:58 +05:00
Andrej730
269e137ea2
black .
2025-03-07 17:12:58 +05:00
Dion Moult
1271e4b7e3
New IfcPatch recipe to merge identical styles
2025-03-07 17:01:14 +11:00
Andrej730
10d5378ee3
TessellateElements - small optimization
...
tolist() supports conversion of multidimensional arrays too
2025-03-03 13:54:57 +05:00