SNCF CADViewer Architecture
SNCF has the following infrastructure:
- Library of drawings over all stations and railroads in France
- Online search system PAAS which allow users to select drawings from an internal database
SNCF has the following requirement:
- Users will select two drawings in PAAS.
- A button in PAAS will contains a link to CADViewer, with the two drawings as parameters (drawingname1 and drawingname2).
- PAAS (or a script) will create a temp folder with the drawings, and pass this information over to CADViewer
- CADViewer will directly execute the Compare method of the two drawings - alternatively, this can be controlled from the compare button inside CADViewer
Suggested SNCF Overview Architecture
graph TD;
A[CADViewer Front-End
SNCF Compare Extensions
1: JavaScript library/npm Script library
2:JavaScript API / Callback methods API ] -->|post/get| C[CADViewer RestFUL API
Implements structured request-responses for:
CAD conversion, Data Extraction and File manipulation ]
C --> |post/get| A
A--> D[PAAS System
Calls CADViewer Front-End
Interacts with SNCF Back-end]
D --> |Trigger call to CADViewer with
location of compare drawings
in folder structure| A
E[CAD Converter Packages
Tailor Made c++ native-code core CAD software:
AutoXchange 2024 - data conversion, data compare] --> C
C --> E
I[PAAS Database
Database containing all information in respect to:
SNCF Drawings and content] --> |SNCF internal process| D
D -->|SNCF internal process| I
J[Folder structure with DWG drawings for Compare
Subfolders /temp names/ for each compare DWG pair ] --> D
D -->|move DWG compare files
into random named folder| J
J -->|Load compare drawings|E
E -->|Directory query|J
Last updated on 25 Oct 2023
Published on 22 Mar 2020