Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement of IfcLogical with OPTIONAL IfcBoolean #92

Open
devonsparks opened this issue May 14, 2024 · 0 comments
Open

Replacement of IfcLogical with OPTIONAL IfcBoolean #92

devonsparks opened this issue May 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@devonsparks
Copy link

devonsparks commented May 14, 2024

Description of the proposal:
#36 describes a number of simplifications to the IFC "base" datatype system. Despite being marked as "decision made" with strong consensus, the base types called out for simplification remain in IFC4.3.

In particular, we call to remove IfcLogical and the underlying EXPRESS Logical type, replacing all occurrences with OPTIONAL IfcBoolean.

Describe how it contributes to the objectives (https://github.com/buildingSMART/NextGen-IFC/wiki/Towards-a-technology-independent-IFC):

To maintain "technology independence", the model should be rooted in concepts that can be implemented in multiple schema language. Many schema languages support booleans and most support optional properties. Fewer support a true ternary data type. Replacing all instances of a ternary Logical type with an optional boolean simplifies integration.

Is this a proposal to 'add', 'remove' of 'change' entities in the schema (pick one):
change

What do we win:
Schema simplification.

What do we lose
Explicit IfcLogical type, replaced by an OPTIONAL IfcBoolean pattern.

Schema impact:
Removable of all Logical types or their derivatives.

Instance model impact:
Replacement of Logical instance values with a Boolean or NULL ($ in STP).

Backwards compatible:
No.

Automatic migration possible:
Yes.

Additional implications:

Note that not all points need to be satisfied!
Backwards compatibility and file size are not concerns.

@devonsparks devonsparks added the enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant