[X3D-Ecosystem] X3D (JSON) to PLY and STL (tessellation)

John Carlson yottzumm at gmail.com
Sun Jul 27 03:41:05 PDT 2025


Apparently, AI did not "get" pulling colors for a shape by pulling it out
of a protodeclare referenced by an externprotodeclare.  I may try again in
a bit.  Apparently, it changed rubikFurnace.json so it would display both
green boxes (normal) plus white spheres (not normal).  I guess I should
make a backup of the  changes.

So ExternProtoDeclares and Inlines might be difficult with AI converting to
PLY.  Time to put my nose to the grindstone!

John

On Sun, Jul 27, 2025 at 4:24 AM John Carlson <yottzumm at gmail.com> wrote:

> 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 https://ai.dev
> 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.
>
> 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!
>
> 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.
>
> If such code appears in my lap, I would be extremely happy.
>
> This is all for the "bake-off" I've been planning.
>
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250727/36ff0683/attachment-0001.html>


More information about the X3D-Ecosystem mailing list