MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #22614 All Revisions ] Back to Issue ]
Summary 0022614: Scaling fails with linear (p-)curves
Revision 2011-11-24 16:41 by szy
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.
Revision 2011-06-20 11:20 by szy
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.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker