<div dir="ltr">Very good example.  I tried to load it into Sunrize, failed.  Castle Model Viewer reported 4 errors, fixed those.  still wouldn't view in Sunrize.  Tried to convert to JSON with x3d-tidy.  I used the wrong output file extension, it's .x3dj.   Tried to use X3DJSAIL's CommandLine to validate, borked, typical containerField issues (this is hardcoded in the stylesheet, I can probably fix X3DJSAIL for you, let me know.  It's a very typical error in X3DJSAIL:  Note that this has nothing to do with setContainerFieldOverride() in any other Java except X3DSAIL.<div><br></div><div>java -cp "../../../X3DJSAIL.4.0.full.jar" org.web3d.x3d.jsail.CommandLine -validate ../data/mobius.x3d<br>CommandLine parameter: "-validate" for model validation<br>parameter: source file mobius.x3d filesize 42115 bytes<br>Parsing using Document Object Model (DOM) based X3DLoaderDOM...<br>Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: *** Invalid setContainerFieldOverride() value='controlPoint', legal values for Coordinate are containerField_ALLOWED_VALUES='"coord" "skinCoord" "skinBindingCoords"'<br>        at org.web3d.x3d.jsail.X3DConcreteNode.setContainerFieldOverride(X3DConcreteNode.java:424)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:633)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:621)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:621)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:621)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:492)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:455)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:249)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:233)<br>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:207)<br>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:924)<br>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:244)</div><div><br></div><div>So here's the two files.  I will work with AI next.</div><div><br></div><div>Nice picture from X3DJSONLD (no AI yet). </div><img src="cid:ii_mdlmc3a90" alt="image.png" width="473" height="226"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 27, 2025 at 5:46 AM vmarchetti--- via X3D-Ecosystem <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>In response to "What I really need are X3D examples with a variety of shapes" here's a doughnut constructed out of NurbsPatchSurface nodes, if you pay attention to the obvious faces and edges it's a mobius strip folded on itelf three times and the edge sewn together.<div></div></div><div><div></div><div><br></div><div>Vince Marchetti</div><div><br></div><div><br><div><div><br><blockquote type="cite"><div>On Jul 27, 2025, at 5:24 AM, John Carlson via X3D-Ecosystem <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>> wrote:</div><br><div><div dir="ltr">I've done some work with PLY and STL converting to and from X3D JSON with my simple examples on X3DJSONLD 12.  I'd like to expand the geometry which I can convert from X3D JSON to STL and PLY.  I've found <a href="https://ai.dev/" target="_blank">https://ai.dev</a> quite useful for tessellation in JavaScript, so I'm going to rely on it more.  For example, it mostly figured out how to tessellate a Sphere.<div><br></div><div>What I really need are X3D examples with a variety of shapes. I recently saw that Holger's Connectors.x3d did not translate to STL or PLY (probably no surprise).  I have not tried the Castle Model Converter yet.  If anyone has a scenegraph that presents an X3D Catalog, that would be useful!</div><div><br></div><div>I'm guessing that X_ITE and X3DOM can tessellate to geometry render, so it's probably easy enough to extract the code from there and use it to output triangles and material to STL and PLY.  An alternative is to convert Pascal code to JavaScript using Pas2Js and use Michalis' X3DNode to STL converter.</div><div><br></div><div>If such code appears in my lap, I would be extremely happy.</div><div><br></div><div>This is all for the "bake-off" I've been planning.</div><div><br></div><div><br></div><div>John</div></div>
-- <br>X3D-Ecosystem mailing list<br><a href="mailto:X3D-Ecosystem@web3d.org" target="_blank">X3D-Ecosystem@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org</a><br></div></blockquote></div><br></div></div></div>-- <br>
X3D-Ecosystem mailing list<br>
<a href="mailto:X3D-Ecosystem@web3d.org" target="_blank">X3D-Ecosystem@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org</a><br>
</blockquote></div>