Skip to content

Boolean operation "section" hangs-up for a pair of cylindrical shapes #1288

@VladislavVitalievichRomashko

Description

Description

An attempt to get a section of two shapes hangs-up the application. Here it is the source code:

BRepAlgoAPI_Section mkSection(S1, S2, false);
mkSection.Approximation(true);
mkSection.ComputePCurveOn1(true);
mkSection.ComputePCurveOn2(true);
mkSection.SetNonDestructive(true);
mkSection.Build();

The shapes are attached. One of them is invalid because has self-intersecting cylindrical faces. Another shapes is a planar face.

Expected Behavior

An intersecting wire of the 2 shapes.

Actual Behavior

Hangs-up.

Sample Code or DRAW Tcl Script

BRepAlgoAPI_Section mkSection(S1, S2, false);
mkSection.Approximation(true);
mkSection.ComputePCurveOn1(true);
mkSection.ComputePCurveOn2(true);
mkSection.SetNonDestructive(true);
mkSection.Build();

Operating System

Windows

Compiler

MSVC

Bitness

32-bit

OCCT Version

latest

Additional Files

S1.zip
S2.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
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions