MantisBT - Open CASCADE
View Issue Details
0029238Open CASCADE[OCCT] PRODUCTS:JT Exportpublic2017-10-18 14:262018-06-29 21:19
kgv 
bugmaster 
normalminor 
closedfixed 
[OCCT] 7.2.0 
[OCCT] 7.3.0[OCCT] 7.3.0 
jt xbf2jt bug29238
0029238: TKJT, JTCAFControl_XcafToJT - saves empty JT file when passing TopoDS_Face
JTCAFControl_XcafToJT ignores sole TopoDS_Face (e.g. not as sub-shape of Compound or Shell) stored on Label in XDE document.
pload MODELING VISUALIZATION OCAF XDE
pload -DrawPluginProducts JT

# close opened documents
catch { Close XDOC }
catch { Close JDOC }
vclear
vclose ALL

box b 1 2 3
explode b F
XNewDoc XDOC
XAddShape XDOC b_1
XShow XDOC
vfit
vsetdispmode 1
StoreTriangulation 1
XSave XDOC doc_tmp.xbf
# OK, document contains shape

xbf2jt doc_tmp.jt doc_tmp.xbf
jtread JDOC doc_tmp.jt
XShow JDOC
vfit
vsetdispmode 1
XGetFreeShapes JDOC js *
trinfo js

# KO, no triangulation:
> This shape contains 0 triangles.
>                     0 nodes.
> Maximal deflection 0
No tags attached.
Issue History
2017-10-18 14:26kgvNew Issue
2017-10-18 14:26kgvAssigned To => kgv
2017-10-18 14:26kgvRelationship addedchild of 0028905
2017-10-18 14:43kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17929#r17929
2017-10-18 15:17kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17930#r17930
2017-10-18 16:01kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17931#r17931
2017-10-18 16:35kgvNote Added: 0071600
2017-10-18 16:35kgvAssigned Tokgv => pdn
2017-10-18 16:35kgvStatusnew => resolved
2017-10-18 16:35kgvTarget Version7.3.0 => 7.4.0
2017-10-18 23:02kgvNote Edited: 0071600bug_revision_view_page.php?bugnote_id=71600#r17941
2017-10-23 17:29pdnAssigned Topdn => bugmaster
2017-10-23 17:29pdnStatusresolved => reviewed
2017-10-24 12:56bugmasterTest case number => jt xbf2jt bug29238
2017-10-24 12:57bugmasterNote Added: 0071736
2017-10-24 12:57bugmasterStatusreviewed => tested
2017-10-27 09:56bugmasterNote Added: 0071815
2017-10-27 09:56bugmasterStatustested => verified
2017-10-27 09:56bugmasterResolutionopen => fixed
2017-12-19 13:49bugmasterCategoryPRODUCTS:Advanced samples => PRODUCTS:JT Export
2018-02-20 12:58aivTarget Version7.4.0 => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0071600)
kgv   
2017-10-18 16:35   
(edited on: 2017-10-18 23:02)
Patch is ready for review.

http://jenkins-test-10.nnov.opencascade.com/view/master-CR29238-KGV/ [^]

(0071736)
bugmaster   
2017-10-24 12:57   
Combination -
OCCT branch : master
Products branch : CR29238 SHA-1: aa93a6fe426553628d910fdcecaac4b60b35f2c2
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
No differences that require special attention

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

New test case is OK
(0071815)
bugmaster   
2017-10-27 09:56   
Fix has been integrated into master of occt-products repository