DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0006474

Incorrect result of intersection of a plane and an extrusion surface

Open CASCADEOCCT:Modeling Algorithmsclosed0 public notes

Search issues

Description

The direction of extrusion lies in the plane. The result is expected as 1
direct line. But we have got 4 overlapping bspline curves lying on that line.
The script to reproduce is following:

restore s1
restore s2
intersect i s1 s2
if {[llength [directory i*]] != 1} {
    error "more than 1 intersection line is got"
}
puts "TEST COMPLETED"

The surfaces are attached in the Attachment 1 (TGZ) file.

The possible solution is to treat such a case as a particular one and give as a
result the line whose direction is a direction of extrusion and origin is got
by intersection of the basis curve of extrusion surface and the plane.

Additional information

Documentation remark, added by Author 2004-10-01 12:42:27:

Improvements:
Intersection of a surface of linear extrusion with a plane parallel to the
direction of extrusion now stably produces a direct line instead of a set of
overlapped bspline curves.
Modified entities:
only *.cxx and *.gxx files.

Public activity

No public notes

Participants are labeled by their role within this record.

Related records