Dion Moult
117f663f48
Fix bug where you couldn't add a plan representation to something with no context identifier
2021-11-06 17:48:31 +11:00
Thomas Krijnen
2dc29978f6
--cache and subtraction in draw.py
2021-11-05 11:03:44 +01:00
Dion Moult
07bee4acfa
Fix bug where adding a representation to type instances didn't ensure it was added to a geometric type
2021-11-05 15:14:10 +11:00
Thomas Krijnen
100b0637ac
submodule
2021-10-30 16:16:03 +02:00
Roch Bertucat
bc430b80f6
Fix Python validate to handle Logical (see #1787 )
2021-10-30 13:12:45 +02: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
Dion Moult
109149a0be
Optimise owner check depending on your implementation and no longer create default users on IFC4. Can result in 50% faster script running on long scripted operations.
2021-10-29 18:04:17 +11:00
luzpaz
0aa8a19b6d
Fix various typos ( #1837 )
...
Found via `codespell`
2021-10-29 08:56:02 +11:00
HassanEmam
4bb549f3e9
IFC4D code refactoring ( #1834 )
...
* P6XML Parser failing on calendar type
* add work plan references a get_person which is not an attribute. modified to get_user to work
* Initial support for Primavera XER files
* IFC4D impl XER calendars exceptions and work time
* merged updats
* refactoring code for the 4D model to avoid duplicate code
* Assign process in the api module was missing an atrribute QuantityIn Process
* Merged changes from master
* refactoring
* resolved conflicts
* refactoring code for IFC4D
* refactoring code for IFC4D
* refactoring code for IFC4D
* Reverted the changes to IfcRelAssignsToProcess usecase
* Changed the class to be more discriptive from Utils to ScheduleIfcGenerator
* reverted changes to add_work_plan and Makefile
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2021-10-28 18:49:02 +11:00
Dion Moult
2ad2a102cb
First pass at connecting to new ifcopenshell.draw. See #1153 .
2021-10-27 19:42:36 +11:00
Dion Moult
3406c23f98
Fix bug where copying a type also copied its type relations which is invalid.
2021-10-26 20:51:27 +11:00
Dion Moult
818e8010a4
Minor fix.
2021-10-25 19:32:37 +11:00
Dion Moult
54fa45850a
Get psets utility now supports getting material and profile psets
2021-10-25 16:09:04 +11:00
Dion Moult
fbadcc017b
Get psets utility can now filter only psets or qtos
2021-10-25 15:36:55 +11:00
Dion Moult
6337698494
Element get_psets utility now returns the pset ID for convenience.
2021-10-25 14:21:41 +11:00
Thomas Krijnen
4733c82b82
Separate out consume_iterator()
2021-10-23 21:34:25 +02:00
Dion Moult
7bccf10fec
Fix regression bug where you couldn't add a grid.
2021-10-23 21:19:10 +11:00
Dion Moult
9ffe92eae5
Assigning a parametric layer type (for walls for now) now attempts to switch from non parametric to parametric geometry.
2021-10-22 15:43:04 +11:00
Dion Moult
a5b8728aec
Fix bug where copying elements didn't ensure that material usages were unique
2021-10-22 12:09:57 +11:00
Dion Moult
a8c99cebaf
Fix terrible bug #1819 where duplicating mapped elements didn't actually copy the geometry mapping.
2021-10-22 11:16:03 +11:00
Dion Moult
c437ba8f9d
Assigning a parametric profile type now auto switches from non parametric geometry to parametric geometry
2021-10-21 16:28:55 +11:00
Dion Moult
9907651d4a
Fix bug where you could reassign class to another product type and create invalid relationships
2021-10-21 11:28:49 +11:00
Dion Moult
58859ef8c3
Fix bug where when deleting representations it could sometimes overreach and delete geometric, style, or layer data of other elements. See #1812 .
2021-10-20 14:11:49 +11:00
Dion Moult
52062bc7e8
Experimental proposed deep removal. See #1812 .
2021-10-20 11:44:19 +11:00
Dion Moult
4577b7bf60
Potentially risky refactor of add_representation in preparation of stabilisation and optimization of geometric operators.
2021-10-18 19:23:40 +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
d666a687dc
FMHEM classes now updated to latest draft
2021-10-15 13:23:18 +11:00
Laurens Oostwegel
b41e90ead6
IfcOpenShell-python: Implemented point cloud export functionalities ( #1799 )
...
* Implemented export of point cloud representation
* Do representation geometry data no-edge check before no-polygon check
2021-10-15 12:15:55 +11:00
Dion Moult
68fd0c0cf5
Fix bug where you couldn't filter imported subelements without also selecting their parents
2021-10-14 18:47:48 +11:00
Dion Moult
199be3363f
Fix bug where copying elements shared a placement. This fix speeds up copying parent elements in the decomposition significantly, like when copying a storey.
2021-10-14 16:13:48 +11:00
Dion Moult
d384b3d7df
Fix bug where copying a container also copied its contents
2021-10-14 15:52:38 +11:00
Dion Moult
3d0d2ec8fb
Fix #1795 . New support for conversion based units with offsets, like fahrenheit.
2021-10-14 12:46:01 +11:00
Dion Moult
1fa1a9e3d3
Support auto detection of unit type when adding imperial units
2021-10-14 12:44:13 +11:00
Dion Moult
464b0c2ebc
Unassigning the last unit now cleans up empty unit assignments
2021-10-14 12:42:33 +11:00
Dion Moult
e17ae4ef61
Fix #1792 . Regression caused by other improvements in editing object placement.
2021-10-13 11:55:03 +11:00
Dion Moult
fc2e12bff6
New usecase for adding conversion based units
2021-10-12 18:34:26 +11:00
Dion Moult
170cd3b5f5
Minor fix again
2021-10-07 18:59:41 +11:00
Dion Moult
f26d43e0cd
Prioritise editing rendering surface styles over shading surface styles
2021-10-07 18:51:50 +11:00
Dion Moult
9508858fcb
New unassign aggregate feature.
2021-10-06 14:11:54 +11:00
Dion Moult
3aa36dd4b7
Changing aggregation now ensures spatial containment is mutually exclusive to prevent invalid IFC data
2021-10-06 12:52:01 +11:00
Dion Moult
cbc0b8d5d4
When assigning containers, ensure aggregates and containers are mutually exclusive
2021-10-05 17:49:29 +11:00
Dion Moult
c105b8f3a7
Fix bug where assigning a spatial container didn't work with non local placements
2021-10-05 17:49:29 +11:00
Dion Moult
7c94d4275a
Removing or changing spatial containers now supports updating more types of collection organisations
2021-10-05 17:49:29 +11:00
Jesusbill
e8764c58b5
minor mods in api structural data
2021-10-04 21:32:48 +02:00
Dion Moult
6e6cbcef6f
Test edit object placement. See #1711
2021-10-04 13:14:47 +11:00
Dion Moult
808ae37c66
Forgot to commit tests
2021-10-03 08:58:47 +02:00
Dion Moult
6cc7d7963a
Allow user to toggle duplicates when getting inverses. See #1747 .
2021-10-03 10:20:24 +11:00
Dion Moult
4697e063af
You can now add and remove users for ownership history
2021-10-01 17:32:58 +10:00
Dion Moult
fe1e30702a
Fix bug where removing addresses and roles could leave other elements in invalid states, "IfcPersonAndOrganization"
2021-10-01 14:48:44 +10:00