Andrej730
28aab490df
IFC v2.3 json schema and parsing tool to regenerate it ( #2501 )
...
* IFC v2.3 json schema and parsing tool to regenerate it
Added entities and propeties schema in json format.
ifc2x3_entities.json format:
entity_name -> description, url, attributes;
attributes format: attribute_name -> attribute_descrption
ifc2x3_properties.json format:
property_set_name -> property_name -> description, children
children format: child_property_name -> child_property_description.
Also added doc.py script that can generate the same json schema files but requires docs IFC 2.3 docs in the same folder (https://github.com/buildingSMART/IFC/tree/Ifc2.3.0.1 )
* Moved all json schema files to /util/schema
* Moved json files back to /util/, changed doc.py export location
* Added specification urls for entities and properties
Added specification urls for entities and properties.
Also added a function to parse actual property sets domain from the website to generate specification urls (domain on website and on github do not match).
Schema structure was changed:
ifc2x3_entities.json format:
entity_name -> description, spec_url, attributes;
attributes format: attribute_name -> attribute_descrption
ifc2x3_properties.json format:
property_set_name -> properties, spec_url
properties format: property_name -> description, children_properties
children_properties format: child_property_name -> child_property_description.
ifc2x3_property_sets_domains.json format:
property_set_name -> ifc_domain
2022-10-15 07:14:34 +11:00
Thomas Krijnen
0810fa7564
Escape \W in selector grammar
2022-10-14 11:30:11 +02: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
Dion Moult
8be1a913ec
Basic support for mesh booleans
2022-10-13 17:04:53 +11:00
Dion Moult
dff35c173d
You can now delete a type when managing types
2022-10-11 15:31:31 +11:00
Thomas Krijnen
0446fca56a
--json --spf option in validate.py
2022-10-10 14:25:45 +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
bdbd874fa8
Fix #2488 . Copying objects now copy deep instead of adding afresh (and losing parametric data and openings).
2022-10-09 18:09:22 +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
Thomas Krijnen
cd27d48701
#2482 entity_instance.to_string()
2022-10-08 17:18:47 +02: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
Dion Moult
7d1a41c1c7
Minor fix
2022-10-07 16:08:21 +11:00
Dion Moult
2cb8eebf83
Profiles now retain manual booleans alongside autogenerated clipping planes
2022-10-05 21:52:07 +11:00
Dion Moult
e97d427e9f
Copying elements with openings now also copies openings
2022-10-05 19:44:32 +11:00
Dion Moult
428ee648b4
Wall representations now distinguish between auto and manual booleans and manual booleans move with the wall
2022-10-05 13:09:18 +11:00
Thomas Krijnen
fa6bbf2d4a
A bunch of not so pretty validate.py performance improvements
2022-10-04 15:16:34 +02:00
Dion Moult
1f56b36bfa
Minor fix
2022-10-04 20:16:36 +11:00
Thomas Krijnen
f41ad0d5de
#2471 work around file gc with instance refs
2022-10-04 10:23:08 +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
c57e5e2100
Capture lower level errors in validate.py reported in C++
2022-10-03 14:19:29 +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
944cbeea1a
Handle both 2D and 3D placement matrixes in IfcOpenShell utils
2022-10-01 23:25:34 +10:00
Dion Moult
4b8238a602
Openings are no longer loaded when loading fresh IFC projects
2022-10-01 20:32:40 +10:00
Dion Moult
9e76b2b9eb
Footprints are now supported in the new profile editor
2022-09-30 13:00:40 +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
33ebcd7664
New convenient modifier to rotate beam/wall/column etc by 90 degrees
2022-09-24 21:46:32 +10:00
Dion Moult
56f4b72161
Reimplement profile cardinal points 1-9 with new profile engine
2022-09-24 15:42:50 +10: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
4cfa327159
New API functions for adding arbitrary profile and profile-based representations
2022-09-21 23:27:24 +10:00
Dion Moult
920177d8c6
Minor fix. See #2416 .
2022-09-21 10:50:02 +10:00
Dion Moult
db9af13843
Fix #2427 . Don't treat missing mandatory attributes as fatal in IFC version migration
2022-09-20 22:46:15 +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
ea1d797605
Add documentation for IfcPatch
2022-09-19 12:25:35 +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
322abdff53
Minor fix
2022-09-17 22:19:49 +10:00
Dion Moult
6d0fdb32c6
Fix #2416 .
2022-09-17 14:51:50 +10:00
Dion Moult
f93604d6b7
Implement connection aware wall L-joints
2022-09-16 18:30:57 +10:00
Dion Moult
81e46b533b
New API to directly create wall-like representations without Blender geometry
2022-09-15 10:44:43 +10:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Dion Moult
91fac6d4bd
Add IfcTester support and test cases for bounded, table, and reference props
2022-09-12 22:35:05 +10:00
Dion Moult
c7c59d9496
IfcTester now supports list and enumerated properties
2022-09-12 21:34:06 +10:00
Dion Moult
73ac5d314b
Complex properties and quantities are not supported in IDS
2022-09-12 20:10:25 +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
e2df4f335d
API now supports adding representations using the Sverchok geometry structure
2022-09-09 22:20:06 +10:00
bosonprojets
87f0475b99
Quality - run black on api/sequence directory
2022-09-09 02:25:20 +01:00