DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0031771

mkshell returns corrupted shape for torus

CommunityOCCT:Modeling Algorithmsnew0 public notes

Search issues

Description

any uv parameters off of the torus period boundaries causes draw mkshell to produce a corrupted shape.

Steps to reproduce

#drawscript
pload MODELING
torus t 10 2
mkshell s t 1 2*pi 0 2*pi
checkshape s
#end drawscript

results:
Shape faulty_1 on shape faulty_2 :
BRepCheck_InvalidPointOnCurve
Shape faulty_1 on shape faulty_3 :
BRepCheck_InvalidPointOnCurve
On Shape faulty_4 :
BRepCheck_UnorientableShape
Shape faulty_5 on shape faulty_4 :
BRepCheck_NotClosed
Shape faulty_3 on shape faulty_4 :
BRepCheck_InvalidCurveOnClosedSurface
BRepCheck_InvalidSameParameterFlag

Faulty shapes in variables faulty_1 to faulty_5

Additional information

mkshell s t 0 2*pi 0 2*pi //works as expected
mkshell s t 1 2*pi 0 2*pi //fails
mkshell s t 0 1 0 2*pi //fails
mkshell s t 0 2*pi 1 2*pi //fails
mkshell s t 0 2*pi 0 1 //fails

anything off of period boundaries fails.
note: mkface doesn't have that problem.

Public activity

No public notes

Participants are labeled by their role within this record.