MantisBT - Open CASCADE
View Issue Details
0030692Open CASCADE[OCCT] OCCT:Data Exchangepublic2019-05-05 20:282019-05-14 22:03
kgv 
abv 
normalfeature 
resolvedopen 
 
[OCCT] 7.4.0* 
0030692: Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document
This issue is intended for creation of a new framework for importing mesh data format into XDE document - e.g. providing common auxiliary tools.
N/A
No tags attached.
related to 0025777closed bugmaster Community Draw Harness, ViewerTest - make commands defining standard views to match their names 
child of 0030691resolved abv Open CASCADE Data Exchange - implement import of mesh data from files in glTF format 
jpg cs_assorty.jpg (41,843) 2019-05-09 22:32
https://tracker.dev.opencascade.org/
png cs_3dsmax_unity_unreal.png (135,289) 2019-05-09 22:39
https://tracker.dev.opencascade.org/
? occt_cambox_posYfwd_posZup.ply (1,019,714) 2019-05-09 22:47
https://tracker.dev.opencascade.org/
png cs_blender_axo.png (68,512) 2019-05-09 22:53
https://tracker.dev.opencascade.org/
png cs_blender_front.png (67,976) 2019-05-09 22:53
https://tracker.dev.opencascade.org/
png cs_occt_axo.png (42,323) 2019-05-09 22:55
https://tracker.dev.opencascade.org/
png cs_occt_front.png (37,537) 2019-05-09 22:55
https://tracker.dev.opencascade.org/
png cs_unigine.png (41,965) 2019-05-10 00:09
https://tracker.dev.opencascade.org/
png cs_gltf.png (156,012) 2019-05-10 00:11
https://tracker.dev.opencascade.org/
jpg cs_maya_Yup.JPG (49,726) 2019-05-10 00:34
https://tracker.dev.opencascade.org/
gif left-hand-right-hand.gif (8,222) 2019-05-10 00:39
https://tracker.dev.opencascade.org/
png cs_visual_studio_axo.png (68,585) 2019-05-10 00:56
https://tracker.dev.opencascade.org/
png cs_visual_studio_front.png (31,530) 2019-05-10 00:56
https://tracker.dev.opencascade.org/
png cs_win10_viewer_axo.png (241,566) 2019-05-10 00:58
https://tracker.dev.opencascade.org/
png cs_win10_viewer_front.png (295,840) 2019-05-10 00:58
https://tracker.dev.opencascade.org/
Issue History
2019-05-05 20:28kgvNew Issue
2019-05-05 20:28kgvAssigned To => kgv
2019-05-05 20:28kgvRelationship addedchild of 0029296
2019-05-05 20:29kgvRelationship addedchild of 0030691
2019-05-05 20:29kgvRelationship addedchild of 0028364
2019-05-05 20:29kgvSummary0030691: Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document => Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document
2019-05-05 20:47gitNote Added: 0084162
2019-05-05 20:50gitNote Added: 0084165
2019-05-08 08:34abvNote Added: 0084234
2019-05-08 09:46kgvRelationship addedrelated to 0029357
2019-05-09 15:54gitNote Added: 0084272
2019-05-09 15:57gitNote Added: 0084274
2019-05-09 15:58kgvNote Added: 0084275
2019-05-09 22:32kgvFile Added: cs_assorty.jpg
2019-05-09 22:39kgvFile Added: gltf_coordinate_system.png
2019-05-09 22:39kgvFile Added: cs_3dsmax_unity_unreal.png
2019-05-09 22:43kgvRelationship addedrelated to 0025777
2019-05-09 22:47kgvFile Added: occt_cambox_posYfwd_posZup.ply
2019-05-09 22:53kgvFile Added: cs_blender_axo.png
2019-05-09 22:53kgvFile Added: cs_blender_front.png
2019-05-09 22:55kgvFile Added: cs_occt_axo.png
2019-05-09 22:55kgvFile Added: cs_occt_front.png
2019-05-10 00:09kgvFile Added: cs_unigine.png
2019-05-10 00:11kgvFile Deleted: gltf_coordinate_system.png
2019-05-10 00:11kgvFile Added: cs_gltf.png
2019-05-10 00:34kgvFile Added: cs_maya_Yup.JPG
2019-05-10 00:39kgvFile Added: left-hand-right-hand.gif
2019-05-10 00:51kgvFile Added: cs_visual_studio_axo.png
2019-05-10 00:52kgvFile Added: cs_visual_studio_front.png
2019-05-10 00:55kgvFile Deleted: cs_visual_studio_axo.png
2019-05-10 00:55kgvFile Deleted: cs_visual_studio_front.png
2019-05-10 00:56kgvFile Added: cs_visual_studio_axo.png
2019-05-10 00:56kgvFile Added: cs_visual_studio_front.png
2019-05-10 00:58kgvFile Added: cs_win10_viewer_axo.png
2019-05-10 00:58kgvFile Added: cs_win10_viewer_front.png
2019-05-10 17:12gitNote Added: 0084284
2019-05-10 17:14gitNote Added: 0084286
2019-05-10 17:18kgvNote Added: 0084287
2019-05-10 17:18kgvAssigned Tokgv => abv
2019-05-10 17:18kgvStatusnew => resolved
2019-05-11 07:57gitNote Added: 0084291
2019-05-13 14:45gitNote Added: 0084304
2019-05-14 22:03kgvRelationship addedrelated to 0030421

Notes
(0084162)
git   
2019-05-05 20:47   
Branch CR30692 has been created by kgv.

SHA-1: 0ff70b35e600c0f5625aaa3f3dc6253fa271fe73


No new revisions were added by this update.
(0084165)
git   
2019-05-05 20:50   
Branch CR30692 has been updated forcibly by kgv.

SHA-1: 1eebf8d075f9ff11c8ee737947b1c361fa2b3ed4
(0084234)
abv   
2019-05-08 08:34   
1. On OSD_Path.hxx:

- line 234: "sever" instead of "server"

//! \\sever\share\file
 
- method IsUncPath() and possibly others should take into account possibility of using forward slashes in paths on Windows

- method IsRemoteProtocolPath() could be implemented as just
  { return *thePath != ':' && (strstr (thePath, "://") != 0); }

- it is desirable to have tests for the new methods

2. On enum RWMesh_CoordinateSystem:

- how you decided that OCCT coordinate system is "Y forward"? Why not using gp_Axis class as generic means to define axes? Let's discuss that

- RWMesh_CoordinateSystem_NB is defined inconsistently, implicitly assuming that starting value (LOWER) is zero. It should be
 RWMesh_CoordinateSystem_NB = RWMesh_CoordinateSystem_UPPER - RWMesh_CoordinateSystem_LOWER + 1
(0084272)
git   
2019-05-09 15:54   
Branch CR30692 has been updated by kgv.

SHA-1: b1ae13ec0782255fca5f9651e02a2bc568184062


Detailed log of new commits:

Author: kgv
Date: Thu May 9 13:41:06 2019 +0300

    # 0030692 - remarks for OSD_Path

Author: kgv
Date: Thu May 9 13:33:33 2019 +0300

    # 0030692 Move RWMesh_DocumentExplorer -> XCAFPrs_DocumentExplorer

(0084274)
git   
2019-05-09 15:57   
Branch CR30692_1 has been created by kgv.

SHA-1: 5b399cdc79d70857660864163bf55bfa450cf7bd


Detailed log of new commits:

Author: kgv
Date: Fri May 3 17:50:28 2019 +0300

    0030692: Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document
    
    RWMesh_CafReader - added new interface class for common workflow for reading mesh data files into XDE document.
    
    OSD_Path - added auxiliary methods splitting path into folder+file pair
    and checking relative/absolute path semantically:
    OSD_Path::FolderAndFileFromPath(), ::IsRelativePath(), ::IsAbsolutePath().
(0084275)
kgv   
2019-05-09 15:58   
> 1. On OSD_Path.hxx
Remarks applied.
(0084284)
git   
2019-05-10 17:12   
Branch CR30692_1 has been updated by kgv.

SHA-1: 59b2d680433f53a40fb569ca364f0fd5c328c167


Detailed log of new commits:

Author: kgv
Date: Fri May 10 16:47:14 2019 +0300

    # 0030692 - revise Coordinate System converter - use gp_Ax3

Author: kgv
Date: Fri May 10 11:33:29 2019 +0300

    # 0030692 - revise coordinate system convertor
    
    V3d_TypeOfOrientation enumeration has been extended with aliases
    (like front/left) for Z-up and Y-up conentions.
    V3d_View::SetProj() now accepts argument for asking Y-up instead of Z-up.
    
    Added command vviewproj defining standard camera direction.
    Commands vaxo, vleft, vright, vtop, vbottom, vfront, vbottom now redirect to vviewproj.

Author: kgv
Date: Fri May 10 09:23:02 2019 +0300

    # 0030692 - add SingleShape() method

(0084286)
git   
2019-05-10 17:14   
Branch CR30692_2 has been created by kgv.

SHA-1: 361f8e85d5c27c47754e36288a7f5e63832efd63


No new revisions were added by this update.
(0084287)
kgv   
2019-05-10 17:18   
> 2. On enum RWMesh_CoordinateSystem:
Coordinate system converter has been revised following remarks.
(0084291)
git   
2019-05-11 07:57   
Branch CR30692_2 has been updated forcibly by kgv.

SHA-1: 225b35f6efbf4bda3a74cd72b9389b315cffc6ab
(0084304)
git   
2019-05-13 14:45   
Branch CR30692_2 has been updated forcibly by kgv.

SHA-1: eda6a869a4866942c5f3a14f4b2c066fd388240b