Skip to content

Boolean cut has issues when it involves a common Edge between argument and the tool. #245

Open
@kavindaTurbogen

Description

@kavindaTurbogen

Description

In this operation the argument and the tool both have a common edge (Attachment: Highlighted in blue) which affects the boolean cut operation.
When we rotate or offset the shape to avoid the common edge boolean cut operation works as intended.
BRep files are attached in the opencascade forum issue (link included below).

Expected Behavior

Boolean cut should be done without issues even a common edge exists.

Actual Behavior

Boolean operation is not completed

Sample Code or DRAW Tcl Script

  BRepAlgoAPI_Cut _operation;

void geo_OperationCut::setArguments(const TopTools_ListOfShape& targetList, const TopTools_ListOfShape& toolList)
{
	_operation.SetArguments(targetList);
	_operation.SetTools(toolList);
}

void geo_OperationCut::build()
{
	if (validate(_operation.Arguments(), _operation.Tools()))
		try
	{
		OCC_CATCH_SIGNALS
			_operation.Build();
	}
	catch (const std::exception&)
	{
		return;
	}
}

Operating System

Windows

Compiler

MSVC

Bitness

64-bit

OCCT Version

7.8

Additional Files

Boolean cut shapes
files_to_cut.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categories1. ModelingBoolean operations, offsets, primitives, any conversion, brep builders and etc...2. BugSomething isn't working

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions