[x3d-public] Python Field Type and Parent Child methodJSONservices for X3DUOM

John Carlson yottzumm at gmail.com
Wed Jul 10 07:43:01 PDT 2019


What I’m trying to do is reduce duplication of the files on the file system, as a short term benefit.

John
Sent from Mail for Windows 10

From: John Carlson
Sent: Wednesday, July 10, 2019 8:51 AM
To: vmarchetti at kshell.com; X3D-Public
Subject: RE: [x3d-public] Python Field Type and Parent Child methodJSONservices for X3DUOM

“These services will ultimately allow my serializers to stay current with the X3DUOM versions.”

The serializers convert XML and JSON to other languages.  Instead of providing an intermediate file, which may go out of date, the service would provide an interface which would stay up-to-date the with standard better.

John

Sent from Mail for Windows 10

From: vmarchetti at kshell.com
Sent: Wednesday, July 10, 2019 8:47 AM
To: John Carlson; X3D-Public
Subject: Re: [x3d-public] Python Field Type and Parent Child method JSONservices for X3DUOM

John

Could you clarify a little more what you had in mind; would this be a service that would be used by X3D developers and specification writers, or by users or consumers of X3D?

I have a web application (http://spri.kshell.com) that prepares X3D files from STEP (CAD) files. From a web browser it looks like a site to which you upload a STEP file and download the X3D, but it can be run as a service mediated by HTTP request/replies. Would the service you propose be relevant in an application such as this?

Vince Marchetti


On Jul 10, 2019, at 1:56 AM, John Carlson <yottzumm at gmail.com> wrote:

Thank you for your attention.
 
I would like to propose a service, which produces type  and access type for fields from X3DUOM.
I would like to propose another service, which produces methods for parent/child relationships from X3DUOM.
 
I currently have JSON files which my python generators produce.  I would like to create python services that return JSON structures. Then we can more finely return values as people ask for them, as an option.
 
Would someone propose a hosting solution for this, I have Heroku, but I’m not familiar with hosting a python service in the recent past (was back in 2012 when I created a Django solution).
 
These services will ultimately allow my serializers to stay current with the X3DUOM versions.
 
If you wish to start off creating the service, I have the attached generators you can produce javaScript files from.  The goal would be to provide 2 services, fieldTypes and mapToMethod which produce the JSON found in fieldTypes.js and mapToMethod.js
 
Thanks,
 
John
 
<fieldTypesGenerator.py><mapToMethodGenerator.py>_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190710/d48831b5/attachment-0001.html>


More information about the x3d-public mailing list