DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0033704

Data Exchange - Handle whichChoice / choice in VRML 2.0 Switch node

CommunityOCCT:Data Exchangeassigned2 public notes

Search issues

Description

Current VrmlData_Scene / VrmlData_Group doesn't support the Switch node from VRML 2.0 standard and gives VrmlFormatError.

Example usage of Switch node:

Group {
  children 
    Switch {
      whichChoice 0
      choice [ 
        Shape {
          ...
        },
          
        Shape {
          ...
        },
          
        Group {
          ...
        } ]
    }
}


Example files and patch are attached.

It is ok to push the patch without CLA.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Commenter 2,
My apologies, there are some internal bug with attachments, Could you please re-attach files as a new node(Add Node).

Thank you for your investigation!
02Author
Attachment 4 (PATCH) (5,474 bytes)   
Attachment 1 (WRL) (201,758 bytes)
Attachment 2 (WRL) (141,563 bytes)
Attachment 3 (WRL) (221,309 bytes)