View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021630 | Open CASCADE | OCCT:Application Framework | public | 2010-03-16 15:20 | 2011-07-12 12:00 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.4.0 | ||||
Summary | 0021630: Naming of any of four vertexes presented on the picture gives Compound of vertexes instead of a single vertex | ||||
Description | Selection of a single Vertex (any of four vertexes presented on the picture) from the built shape returns Compound of vertexes. It is limitation of the current Naming algorithm implementation. Theoretically the case has solution. Script to reproduce the problem (Naming testing framework to be used): NewDocument D MDTV-Standard AddDriver D Box Cyl Sph Attach XAttach PTxyz PTALine PRLine PMirr Cut 0000001 Create Box NewCommand D set B2 [AddObject D]; ## add object set F2 [AddFunction D $B2 Box]; ## add function BoxDX D $B2 190; ## set arguments of this function BoxDY D $B2 290 BoxDZ D $B2 390 InitLogBook D; ## initialize (clean) internal maps of labels ComputeFun D $F2; ## compute the function GetShape D $F2:2 Box2; ## check result 0000002 Create Cylinder NewCommand D explode Box2 F explode Box2_1 E set Sel1 [AttachShape D Box2_1_1 ${B2} ${B2} 1]; ## set attachment ## AddDriver D Attach Cyl set Cyl [AddCyl D 70 275 ${Sel1}] ComputeFun D $Cyl:1 GetShape D $Cyl:1:2 CylS #3 Transalte Cylinder NewCommand D set FTr1 [PTranslateDXYZ D $Cyl 100 0 0] ComputeFun D $FTr1 GetShape D $Cyl:2:2 CylS #4 Cut Box Cylinder NewCommand D set CS [AddCut D $B2 $Cyl] ComputeFun D $CS erase GetShape D $CS:2 S don S #5 Naming NewCommand D explode S V set Sel5 [AttachShape D S_5 ${B2} ${B2} 0]; set Sel6 [AttachShape D S_6 ${B2} ${B2} 0]; set Sel7 [AttachShape D S_7 ${B2} ${B2} 0]; set Sel8 [AttachShape D S_8 ${B2} ${B2} 0]; ============================================ scripts creates at the label specified by each selection Naming data structure which defines compound of Vertexes. Algorithm should be refined for case when Selection shape in Filter is a Vertex. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-16 15:34 | bugmaster | Assigned To | bugmaster => szy |
2010-03-16 15:34 | bugmaster | Status | new => assigned |
2010-03-30 11:21 |
|
OtherBugsDependingOnThis | => 21653 |
2010-04-01 17:15 |
|
Status | assigned => resolved |
2010-04-02 17:39 |
|
BugsThisDependsOn | => 21662 |
2010-04-28 19:02 |
|
CC | => apv, mkv |
2010-06-23 12:37 | bugmaster | Status | resolved => tested |
2010-07-28 15:56 | bugmaster | Status | tested => verified |
2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |