Skip to content

Intersection produces strange result for given surfaces #275

Open
@alexnoe88

Description

@alexnoe88

Description

The intersection between the two given faces produces a strange edge.

Image

Expected Behavior

The intersection between the two surfaces should produce a correct edge.

Actual Behavior

The intersection produced an edge which is not expected by intersecting this two surfaces.

Sample Code or DRAW Tcl Script

C++

BRepAlgoAPI_Section section(surface1, surface2, Standard_False);
section.Approximation(Standard_True);
section.ComputePCurveOn1(Standard_True);
section.ComputePCurveOn2(Standard_True);
section.Build();
if(!section.IsDone())
{
	return false;
}
auto result = section.Shape();

DRAW:

restore surface1.brep s1
vdisplay s1
restore surface2.brep s2
vdisplay s2
intersect my_intersect s1 s2
whatis my_intersect //whatis cannot tell me what it is, so I guess the intersection failed

Operating System

Windows

Compiler

MSVC

Bitness

64-bit

OCCT Version

7.6

Additional Files

surfaces.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