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

IFCBooleanOperator.Union don't work! #32

Merged
merged 1 commit into from Dec 14, 2018

Conversation

@AngelVelezSosa

This comment has been minimized.

Copy link
Contributor

commented Sep 19, 2018

You are allowed to use:

#... = IFCBOOLEANCLIPPINGRESULT(.UNION.,#... ,#...) in a file, but this code doesn't create that, it internally unions some code. What is the issue here? Can you translate from Russian?

@triroakenshield

This comment has been minimized.

Copy link
Contributor Author

commented Sep 20, 2018

Test file:rvt.zip

you export:
#208= IFCBOOLEANRESULT(.UNION.,#204,#135);
#209= IFCBOOLEANRESULT(.UNION.,#208,#152);
#210= IFCBOOLEANRESULT(.UNION.,#209,#163);
#211= IFCBOOLEANRESULT(.UNION.,#210,#174);
#212= IFCBOOLEANRESULT(.UNION.,#211,#185);
#213= IFCSHAPEREPRESENTATION(#102,'Body','CSG',(#212));

ifc:test28_.zip

xbim:
ifc_false

my export:
#208= IFCSHAPEREPRESENTATION(#102,'Body','SweptSolid',(#135,#152,#163,#174,#185,#204));

ifc:test26_.zip

xbim:
ifc_true

@triroakenshield

This comment has been minimized.

Copy link
Contributor Author

commented Sep 21, 2018

Within an IfcBooleanResult an IfcHalfSpaceSolid shall only be used as the SecondOperand of an Operator=".DIFFERENCE." (and not for an Operator=".UNION." or ".INTERSECTION."). Therefore the subtype IfcBooleanClippingResult shall be used within the CSG tree. This is to avoid Boolean results of unlimited size.
http://www.buildingsmart-tech.org/implementation/ifc-implementation/ifc-impl-agreements/cv-2x3-112

@AngelVelezSosa AngelVelezSosa merged commit 9118bab into Autodesk:master Dec 14, 2018

AngelVelezSosa added a commit that referenced this pull request Dec 14, 2018
Integrate master into dev (#77)
* Added missing source inside Revit.IFC.Export project and remove an obsolete one.

* Issue#51 Fixed

* Update Source/IFCExporterUIOverride/IFCExporterUIWindow.xaml.cs (#59)

* IFCBooleanOperator.Union don't work! (#32)

http://adn-cis.org/forum/index.php?topic=8149.msg29022#msg29022
http://www.buildingsmart-tech.org/implementation/ifc-implementation/ifc-impl-agreements/cv-2x3-112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.