mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 17:20:04 +00:00
See #4240. Fix validation issue with perspective drawing pyramid booleans. Boolean clipping results can only be used on swept solids.
This commit is contained in:
@@ -321,7 +321,7 @@ class Usecase:
|
|||||||
)
|
)
|
||||||
half_space = self.file.createIfcHalfSpaceSolid(surface, False)
|
half_space = self.file.createIfcHalfSpaceSolid(surface, False)
|
||||||
|
|
||||||
clipping_result = self.file.create_entity("IfcBooleanClippingResult", "DIFFERENCE", pyramid, half_space)
|
clipping_result = self.file.create_entity("IfcBooleanResult", "DIFFERENCE", pyramid, half_space)
|
||||||
|
|
||||||
return self.file.createIfcShapeRepresentation(
|
return self.file.createIfcShapeRepresentation(
|
||||||
self.settings["context"],
|
self.settings["context"],
|
||||||
|
|||||||
Reference in New Issue
Block a user