DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0022614

Scaling fails with linear (p-)curves

CommunityOCCT:Modeling Algorithmsclosed5 public notes

Search issues

Description

Post from the Forum http://www.opencascade.org/org/forum/thread_20945/.
RLN:
====================================
OCC 6.5.0.
If a face's edge lies on linear curve and (?) pcurve scaling produces wrong model.
DRAWEXE reproducer:
- pload MODELING
- pcylinder p 10 50
- explode p f
- tscale p_1 0 0 0 0.001 #p_1 is a cylindrical face
- tscale p_2 0 0 0 0.001 #p_2 is top planar face
#p_1 is wrong, p_2 is fine

- cylinder c 50
- mkface f c 0 5 0 10
- tscale f 0 0 0 0.001
# f is wrong

My assumption is that tscaling sets wrong SameRange/SameParameter flags - it
keeps them true while ranges have changed and no longer match each other.

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 1
As confirmed by RLN, this is false report.

However, test case deserves to be created in OCCT database, also in the view of
expected integration of RLN fixes, one of which is likely a reason of such bug.
02Commenter 2
I suggest we add a test case (just add checkshape to Roman's commands) and close the issue
03Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Wed Oct 8 19:46:03 2014 +0400

    Test cases for issue CR22614
04Commenter 4
Dear Commenter 1,
Test cases bugs/modalg_5(010)/bug22614_1,bug22614_2,bug22614_3 are created and pushed to new branch CR22614 of occt git-repository.
Test cases bugs/modalg_5(010)/bug22614_1,bug22614_2,bug22614_3 are OK.

05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records