Dion Moult
cdce612566
Update all geom settings to new v0.8 syntax
2024-06-09 16:15:55 +10:00
Dion Moult
c4dfbdbe2e
Merge branch 'v0.7.0' into v0.8.0
2024-06-07 23:48:39 +10:00
Andrej730
2d35869c41
typing
2024-05-09 18:00:17 +05:00
Dion Moult
93639e9e50
Even more cleaning of documentation references
2024-05-07 19:08:13 +10:00
Andrej730
5b877b549a
fix numpy typing #4579
...
On older numpy versions, np.ndarray was less forgiving and wasn't allowing passing 1 argument instead of required 2.
And turned out numpy doesn't yet have typing for shapes (https://github.com/numpy/numpy/issues/16544 ), so all matrices and other shapes specified as `npt.NDArray[np.float64]`.
Fixed type discrepancies for `get_edges` and `get_faces` and also had to fix `import_ifc` as Blender apparently has problems with storing np.int32 in custom attributes (https://projects.blender.org/blender/blender/issues/121072 ), tested that Blender is okay with np.int32 in other cases we had (addressing BMesh.verts[i] where `i` is np.int32).
2024-04-25 18:05:47 +05:00
Andrej730
f1037de14d
small fix for 60a70f523
2024-04-25 18:05:46 +05:00
Andrej730
d33fdbba69
small optimization
2024-04-22 17:31:49 +05:00
Andrej730
0ddbcd98ea
use column-major reshape for matrices #4565
2024-04-22 17:31:16 +05:00
Andrej730
9e79499532
small optimization
2024-04-22 17:30:24 +05:00
Thomas Krijnen
71c9066dc7
Fallback to C++ impl of IfcAxis2PlacementLinear #4565
2024-04-21 11:27:22 +02:00
Andrej730
60a70f5236
support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565
2024-04-19 17:11:56 +05:00
Andrej730
7132c4e9bf
typing and small refactor
2024-03-22 16:54:42 +05:00
Andrej730
b67b5e8d9f
typing
2024-03-18 17:05:55 +05:00
Andrej730
a3d970e014
shape_builder.create_axis2_placement_3d utility method and docs
2024-03-06 17:30:55 +05:00
Bruno Postle
70a1d7d345
python api documentation fix
2023-11-23 21:15:24 +00:00
Dion Moult
1f6d23c19c
Minor fixes to placement utilities for getting mapped item matrixes
2023-10-13 23:40:23 +11:00
Dion Moult
e4f5b0e3d8
Write documentation for placement utility
2023-10-10 10:56:28 +11:00
Dion Moult
8cbe298072
Utility function to create rotation matrixes in numpy.
2023-07-18 14:28:35 +10:00
Thomas Krijnen
8f8862d23d
get_mappeditem_transformation()
2023-04-18 13:17:20 +02:00
Thomas Krijnen
836f36fd8e
Add util.placement.get_cartesiantransformationoperator3d()
2023-04-18 13:15:13 +02:00
Thomas Krijnen
a1326cb5ed
Normalize vectors in a2p()
2023-04-18 13:13:29 +02:00
Dion Moult
944cbeea1a
Handle both 2D and 3D placement matrixes in IfcOpenShell utils
2022-10-01 23:25:34 +10:00
Dion Moult
a08a78b3c9
Slabs are now first created directly in IFC instead of reverse engineering meshes
2022-09-30 12:08:57 +10:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
699ccddda3
New utility function to get storey elevations with elevation attribute fallback for more compliant sorting of building storey elevations.
2021-10-18 12:39:04 +11: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
Dion Moult
a25ca91ba6
Fix fundamental coordinate placement resolution utility bug. See #688 .
2021-03-15 18:58:32 +11:00
Dion Moult
0ecf66f7fa
New IfcOpenShell placement utility module
2021-01-02 19:32:27 +11:00