CyrilWaechter
cabc91dd5e
Allow to write to unexisting directory
...
`ifcopenshell.write("/unexisting/path/model.ifc")` was failing without
throwing an error. It now works and a test ensure it works.
2022-12-19 01:44:40 +01:00
CyrilWaechter
25a7a95284
Allow to write .ifcZIP | .ifcXML #2350
...
Transparently write any .ifc | .ifcXML | .ifcZIP formatted file
with any extension :
- by guessing format from its extension
(eg. .zip | .ifczip | .ifcZIP | .ifcXML | .ifcxml | .IFC | .ifc)
zipped file can file can be of any supported format
- by specifying a format
- by specifying if it should be zipped
2022-11-26 05:19:01 +01:00
CyrilWaechter
f0b1935861
Add system assignment check
...
@aothms Is there a way to check against IFC formal propositions ?
Example for [IfcZone](http://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcZone.htm#5.4.3.82.4-Formal-propositions )
@Moult Should I move is_assignable to an util ?
2022-11-25 18:52:58 +01:00
Thomas Krijnen
afe9f7602f
Test cases for #2586
2022-11-23 13:46:15 +01:00
CyrilWaechter
09c8268494
Fix path for ci (root at src/ifcopenshell-python)
2022-11-22 23:25:11 +01:00
CyrilWaechter
e7d5add13d
Add test suite for ifcopenshell.open #2350
...
Fix open function: format argument was unused
2022-11-22 00:40:27 +01:00
Dion Moult
ff90728a22
New unassign container API function
2022-11-07 18:47:15 +11:00
Dion Moult
516bd37518
Fix #2550 . Bug where material styles weren't included when appending from a library
2022-11-07 16:20:23 +11:00
Dion Moult
7ff1b8a34d
New API for connecting and disconnecting elements
2022-10-25 17:54:24 +11:00
Thomas Krijnen
cdde536651
Test cases for #2486 and #2517
2022-10-20 20:31:56 +02:00
Thomas Krijnen
f9391f80c4
#2408 test case
2022-10-20 13:36:00 +02:00
Dion Moult
16b05d9981
Fix support for document references in IFC2X3
2022-10-19 20:17:10 +11:00
Dion Moult
a34c0cb35c
Fix a variety of IFC validation errors in entity creation and asset appending
2022-10-14 18:19:35 +11:00
Thomas Krijnen
785dc2a300
Test case for string formatting
2022-10-10 14:20:21 +02:00
Dion Moult
32f0911479
Elements with filled openings don't have their openings copied, as it depends on the fill
2022-10-09 22:22:12 +11:00
Dion Moult
232252f61d
Copy deep can now exclude things, useful for copying representation graphs where you don't want to duplicate the context
2022-10-09 17:15:39 +11:00
Dion Moult
4110b81270
Decomposition mode now selects all children (not parenting) to move a host and all children easily
2022-10-08 23:42:03 +11:00
Dion Moult
7d779130e1
Removing products now handles purging a bunch more inverse relationships
2022-10-08 21:15:01 +11:00
Thomas Krijnen
2dee2afdfa
#1861 test case
2022-10-05 13:07:16 +02:00
Dion Moult
e97d427e9f
Copying elements with openings now also copies openings
2022-10-05 19:44:32 +11:00
Thomas Krijnen
5d95475970
#2471 test case
2022-10-04 10:23:27 +02:00
Dion Moult
0eae3de6a2
Openings now move with the host by default. Small change, big impact.
2022-10-03 23:30:19 +11:00
Thomas Krijnen
1d39413717
Test cases for previous commits
2022-10-03 14:29:41 +02:00
Dion Moult
567548c7f3
Fix bug where adding an opening didn't create a relative placement
2022-10-03 22:35:53 +11:00
Dion Moult
7545313dee
Removing an element now also purges connection relationships
2022-09-24 14:12:45 +10:00
Dion Moult
b7eaefee50
Fix bug when deleting elements may possibly create an invalid containment relationship
2022-09-23 23:26:29 +10:00
Dion Moult
13a387cc73
Add support for descriptions in path connection relationships
2022-09-23 23:00:27 +10:00
Dion Moult
f139f2ba1e
Fix bug where removing an element in an aggregation could leave the file in an invalid state
2022-09-23 23:00:07 +10:00
Dion Moult
eb48a68dd1
Copying elements do not copy connections to prevent mutually exclusive connectivity
2022-09-20 12:01:40 +10:00
Dion Moult
c7af6c4482
Fix #2420 . Bug where project library assets sharing relationships with other assets would pull in other assets
2022-09-18 23:19:23 +10:00
Dion Moult
f93604d6b7
Implement connection aware wall L-joints
2022-09-16 18:30:57 +10:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Dion Moult
5ee4e2704d
User can now explicitly choose the quantity type via the edit qto API
2022-09-12 18:05:13 +10:00
Dion Moult
5b5540494d
Qtos now support being added to types and contexts (despite being rare)
2022-09-12 12:55:15 +10:00
Dion Moult
72544419da
External resource relationships are now also purged when removing classifications
2022-09-05 16:51:42 +10:00
Dion Moult
917344ee1d
Fix bug where new instances may have a wrong Z coordinate
2022-09-05 11:13:31 +10:00
Dion Moult
68ef6458d7
Fix #2379 . Regressions where context adding never had any tests and failed.
2022-09-05 11:13:31 +10:00
Dion Moult
fdfaf54698
Support resource level classifications in IfcOpenShell API
2022-09-02 18:23:49 +10:00
Dion Moult
af1a40c913
Fix bug where if an object placement was reused elsewhere a circular reference was created
2022-08-30 20:08:50 +10:00
Dion Moult
0844d6f52e
Fix #2354 - add support for selector queries for enumerated properties
2022-08-19 20:10:54 +10:00
Dion Moult
520e7653e4
#1375 #2317 add API support for referencing in spatial structures
2022-08-19 18:43:39 +10:00
Dion Moult
5b34e08c37
#2321 Remove IDS from IfcOpenShell to prevent confusion as it is now refactored heavily and lives in ifctester
2022-08-05 09:29:01 +10:00
Dion Moult
709c530434
Fix bug where MergeDuplicateTypesByTag recipe would've left multiple IfcRelDefinesByType relationships which is no good
2022-08-03 17:33:23 +10:00
Dion Moult
21094c59d9
API now supports adding classifications by identifier instead of from a library
2022-08-02 10:10:02 +10:00
Carlos Villagrasa
7a6005d0ea
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-26 20:43:38 +02:00
Dion Moult
7de454337d
Minor fix
2022-07-26 10:33:40 +10:00
Carlos Villagrasa
a3942ee5e2
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2022-07-22 18:42:25 +02:00
Vukas Pajic
f1e0375b6a
api: assign_group now expects product to be a list
...
* minor change to assign_group
* api: assign_group now expects product: list
2022-07-21 10:14:58 +02:00
Vukas Pajic
5b76e83965
Selector: added new tests and improved UX
...
Selector: added tests to check non-standard characters and missing values
2022-07-21 07:37:48 +02:00
Dion Moult
a21b73225a
Fix #2296 . Bug where material and profile psets couldn't be removed.
2022-07-21 15:12:00 +10:00