[x3d-public] X3D-Edit 4.0 release: HTML5 id/class/style, links for Ultimaker Cura (3D printing)

John Carlson yottzumm at gmail.com
Sun Jun 20 20:12:47 PDT 2021

Python didn't pan out, so I switch back to Node.JS and a modicum of success.

Here are the diffs so far:

NodeJSHttpsSerer$ diff 
< href="https://doc.x3dom.org/download/dev/x3dom.css"/>
 > href="https://www.x3dom.org/download/dev/x3dom.css"/>
< src="https://doc.x3dom.org/download/dev/x3dom-full.js"/>
 > src="https://www.x3dom.org/download/dev/x3dom-full.js"/>
<    <body id="htmlBody" onload="toggleFullscreen ();">
 >    <body id="htmlBody" onload="/*toggleFullscreen ();*/">

(replace doc with www in downloads, comment out toggleFullscreen, since 
it doesn't seem to be defined.

I might try to figure out how to set up fonts for X3DOM, it's been a 
long time since I looked at them.

Node.JS server seems to be working with HTTPS, I'll work on creating a 
zip/repository for interested people.


On 6/20/21 9:18 PM, John Carlson wrote:
> I didn't have much luck setting up Node.JS for this.  I will try to 
> use my keys with python3 next.
> John
> On 6/20/21 8:40 PM, John Carlson wrote:
>> Your CORS example uses http, not https, as talked about in the CORS 
>> text.  The X3DOM example does not work.  X_ITE example is good.
>> I can help you set up a Node.JS HTTPS server (you can't use X3DJSONLD 
>> becase I haven't checked in the keys, but I probably should, because 
>> it's localhost).
>> It should be easy enough to set up a pair of keys to use on 
>> localhost, and check the keys into a repository.  (yes, localhost 
>> will work with the same encryption keys on any machine.  At least 
>> they did last time I encountered this issue).
>> Don, I trust you with my server keys, so I will send them to you when 
>> you're back.  Then we can use the X3DJSONLD's app.js (minus 
>> enhancements).
>> Others may have other suggestions for HTTPS, but at a minimum, you 
>> need keys targeted at your server name (localhost or other). Also, 
>> I'm unsure if Node.js does the WebDAV thing, so you may have to 
>> specify the models directly.
>> I will set up a minimal project right now, then check out X3d-Edit.
>> You said you wouldn't run Node.js?  How is it worse than python3?
>> John
>> On 6/20/21 1:28 PM, Don Brutzman wrote:
>>> X3D-Edit 4.0 beta has another release: includes refactored DEF/USE 
>>> panel with tabbed support for HTML5 id/class/style, added links for 
>>> Ultimaker Cura (3D printing).
>>> * https://savage.nps.edu/X3D-Edit/#Downloads
>>> Also includes partial CORS support, testing and integration continues.
>>> * X3D Scene Authoring Hints: Cross-Origin Resource Sharing (CORS)
>>> https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS 
>>> All reports welcome (Windows Mac Linux).  Have fun with X3D-Edit! 8)
>>> all the best, Don

More information about the x3d-public mailing list