View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025050 | Open CASCADE | OCCT:Data Exchange | public | 2014-07-04 10:41 | 2015-05-14 16:25 |
Reporter | oan | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 6.9.0 | Fixed in Version | 6.9.0 | ||
Summary | 0025050: Shape can not be stored to VRML format | ||||
Description | XSDRAWSTLVRML_ToVRML::Write uses BRepMesh_FastDiscret to produce mesh to be stored in VRML format. It tries to access to elements and nodes of a mesh via interface provided by BRepMesh_FastDiscret. However, since the time BRepMesh_FastDiscret is divided onto BRepMesh_FastDiscret and BRepMesh_FastDiscretFace it does not keep info about mesh of a whole shape. Instead of this, it processes a shape face by face and creates data structures for particular one and clears them by the end of meshing procedure. This bug is expected to be fixed in context of 0023106 issue. | ||||
Steps To Reproduce | pload ALL box b 10 10 10 writevrml b test.vrml # Content of the resulting file is the following: # # VRML V2.0 utf8 # Group { # children [ # NavigationInfo { # type "EXAMINE" # }, # Shape { # appearance Appearance { # texture ImageTexture { # url [] # } # material Material { # diffuseColor 0.3 0.3 0.5 # emissiveColor 0.3 0.3 0.3 # transparency 0 # ambientIntensity 0.3 # specularColor 0.7 0.7 0.8 # shininess 0.1 # } # } # geometry IndexedFaceSet { # coord Coordinate { # point [ | ||||
Tags | No tags attached. | ||||
Test case number | bugs stlvrml(019) bug25050 | ||||
|
Dear Bugmaster, this bus has been fixed in context of 0023106. Please create corresponding test case |
|
Branch CR25050 has been created by mkv. SHA-1: 12e45267ceae0b8d77758d58f9ccac99425f026b Detailed log of new commits: Author: mkv Date: Wed Oct 8 20:37:32 2014 +0400 Test case for issue CR25050 |
|
Dear BugMaster, Test cases bugs/stlvrml(018)/bug25050 is created and pushed to new branch CR25050 of occt git-repository. Test cases bugs/stlvrml(018)/bug25050 is BAD. There is following message in log of test case: ++ VRML Error: VrmlFormatError in line 7 |
|
Please see relationship 0025279 "OCCT fails to read VRML file created by OCCT" |
|
Dear MKV, VRML model stored by OCCT can be successfully read by 3rd-party viewers (e.g. Cortona 3d). Please proceed the issue and integrate test case for this bug marked as BAD. Status of the test case will be changed when 0025279 will be fixed. |
|
Dear oan, Test cases bugs/stlvrml(018)/bug25050 in CR25050 is BAD on current master - bad nbshapes of result, could you please review it. |
|
Dear MKV, models restored from VRML file are discrete models of initial shapes. So, there is no vertices, no solids and no shells. Moreover, depending of parameters of "writevrml" command it can contain only edges and wires. To store shape without face triangulations current syntax of the command can be used. In order to store triangulations command storing VRML file should be modified (please see command's help): writevrml b test.vrml 2 2 Please make corresponding modifications. BR, OAN |
|
The test case should be corrected to write triangulation (and call incmesh before writing to mesh faces): box b 10 10 10 incmesh b 0.1 trinfo b set aFile ${imagedir}/bug25050.wrl writevrml b ${aFile} 2 2 loadvrml result ${aFile} trinfo result here check number of sub-shapes (6 faces, 24 edges). You can show this shape in 3d viewer -- in shading it should be the box with edges shown as wireframe. The test can be extended to use different values (0, 1, 2) for the last argument to writevrml command, with corresponding changes in expected result. Do not use checkshape -- the shape produced from VRML is incomplete and is not expected to be valid! |
|
Branch CR25050 has been updated forcibly by mkv. SHA-1: d1e954bcd266979dc9f630af0a595718eb5a5c01 |
|
Branch CR25050 has been updated by mkv. SHA-1: a5a5c2ae997e50c8ba3f9a3616d15c78a4e401e0 Detailed log of new commits: Author: mkv Date: Thu Apr 30 16:30:38 2015 +0300 Test cases for issue CR25050 Author: mkv Date: Thu Apr 30 16:22:02 2015 +0300 Merge branch 'CR25050' of git.dev.opencascade.org:occt into CR25050 Author: mkv Date: Wed Oct 8 20:37:32 2014 +0400 Test case for issue CR25050 |
|
Branch CR25050_1 has been created by mkv. SHA-1: b3ef3b6786b45d4ae7f89b00c2bd4a84127d0a8f Detailed log of new commits: Author: mkv Date: Thu Apr 30 17:09:43 2015 +0300 0025050: Shape can not be stored to VRML format |
|
Dear BugMaster, Test case bugs stlvrml(019) bug25050 was created and pushed to new branch CR25050_1 of occt git-repository. This test case have status OK. |
|
Branch CR25050 has been deleted by inv. SHA-1: a5a5c2ae997e50c8ba3f9a3616d15c78a4e401e0 |
|
Branch CR25050_1 has been deleted by inv. SHA-1: b3ef3b6786b45d4ae7f89b00c2bd4a84127d0a8f |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-04 10:41 | oan | New Issue | |
2014-07-04 10:41 | oan | Assigned To | => gka |
2014-07-04 10:41 | oan | Relationship added | related to 0023106 |
2014-09-12 10:07 |
|
Assigned To | gka => oan |
2014-09-12 10:07 |
|
Target Version | => 6.8.0 |
2014-09-26 17:37 | oan | Relationship added | parent of 0025279 |
2014-09-26 17:38 | oan | Note Added: 0032264 | |
2014-09-26 17:38 | oan | Assigned To | oan => bugmaster |
2014-09-26 17:38 | oan | Status | new => assigned |
2014-09-26 17:59 |
|
Status | assigned => feedback |
2014-09-29 15:48 | bugmaster | Assigned To | bugmaster => mkv |
2014-10-08 20:37 | git | Note Added: 0032848 | |
2014-10-08 20:53 |
|
Assigned To | mkv => oan |
2014-10-08 20:53 |
|
Note Added: 0032852 | |
2014-10-09 09:53 | oan | Note Added: 0032856 | |
2014-11-05 16:39 | oan | Note Added: 0034052 | |
2014-11-05 16:39 | oan | Assigned To | oan => mkv |
2014-11-05 16:39 | oan | Status | feedback => assigned |
2014-11-05 16:41 | oan | Status | assigned => feedback |
2014-11-11 01:04 |
|
Target Version | 6.8.0 => 7.0.0 |
2015-03-11 19:26 |
|
Assigned To | mkv => oan |
2015-03-11 19:26 |
|
Note Added: 0038285 | |
2015-04-30 10:26 | oan | Note Added: 0040451 | |
2015-04-30 10:27 | oan | Assigned To | oan => mkv |
2015-04-30 10:27 | oan | Status | feedback => assigned |
2015-04-30 11:05 |
|
Note Added: 0040459 | |
2015-04-30 11:06 |
|
Note Edited: 0040459 | |
2015-04-30 11:39 |
|
Note Edited: 0040459 | |
2015-04-30 12:44 | apn | Assigned To | mkv => apn |
2015-04-30 12:45 | apn | Assigned To | apn => mkv |
2015-04-30 16:19 | git | Note Added: 0040496 | |
2015-04-30 16:30 | git | Note Added: 0040499 | |
2015-04-30 17:10 | git | Note Added: 0040506 | |
2015-04-30 17:10 |
|
Note Added: 0040507 | |
2015-04-30 17:11 |
|
Test case number | => bugs stlvrml(019) bug25050 |
2015-04-30 17:11 |
|
Assigned To | mkv => bugmaster |
2015-04-30 17:11 |
|
Status | assigned => resolved |
2015-04-30 17:11 |
|
Status | resolved => reviewed |
2015-04-30 17:12 |
|
Status | reviewed => tested |
2015-05-07 11:18 | bugmaster | Changeset attached | => occt master 4422364e |
2015-05-07 11:18 | bugmaster | Status | tested => verified |
2015-05-07 11:18 | bugmaster | Resolution | open => fixed |
2015-05-07 11:34 | bugmaster | Target Version | 7.0.0 => 6.9.0 |
2015-05-14 15:28 |
|
Status | verified => closed |
2015-05-14 15:30 |
|
Fixed in Version | => 6.9.0 |
2015-05-14 16:25 | git | Note Added: 0040950 | |
2015-05-14 16:25 | git | Note Added: 0040951 |