MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29238 All Revisions ] Back to Issue ]
Summary 0029238: TKJT, JTCAFControl_XcafToJT - saves empty JT file when passing TopoDS_Face
Revision 2017-10-18 16:01 by kgv
Steps To Reproduce
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
Revision 2017-10-18 15:17 by kgv
Steps To Reproduce
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
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
Revision 2017-10-18 14:43 by kgv
Steps To Reproduce
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
XSave XDOC doc_tmp.xbf
# OK, document contains shape

xbf2jt doc_tmp.jt doc_tmp.xbf
jtread JDOC doc_tmp.jt
# KO, Error: file reading failed 'doc_tmp.jt'
XShow JDOC
vfit
vsetdispmode 1
Revision 2017-10-18 14:26 by kgv
Steps To Reproduce


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker