[X3D-Ecosystem] Proto processor output without protos
John Carlson
yottzumm at gmail.com
Sun Jun 29 05:16:03 PDT 2025
What I’d like to do is JSON -> DOM -> Proto processor-> JSON -> STL, but
there’s a possible infinite loop in that I haven’t figured out yet.
Plus I need to enable STL -> JSON processing when not loading a file.
A lot of work to do.
John
On Fri, Jun 27, 2025 at 1:42 PM John Carlson <yottzumm at gmail.com> wrote:
> The issue is, if I convert an X3D Rubik’s cube of protos, I only get one
> cube in STL.
>
> I will see what I can do by converting DOM, but perhaps the problem is
> that I’m converting original JSON without my proto expander. Oops, I
> deleted it!
>
> John
>
> On Fri, Jun 27, 2025 at 9:06 AM Andreas Plesch <andreasplesch at gmail.com>
> wrote:
>
>> Hi John,
>>
>> I believe there is a way in x3dom to access the populated protobody of a
>> protoinstance if that is what you trying to extract. It is a property of
>> the protoinstance dom node which you may be able to find. I do not recall
>> the details but the browser devtools would help in exploring the full dom
>> object.
>>
>> Hope this helps,
>>
>> Andreas
>>
>> On Thu, Jun 26, 2025, 5:33 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> In X3DOM or X_ITE, is the post Proto processor XML or DOM available?
>>> Such that I can convert to STL, which doesn’t have protos?
>>>
>>> Thanks!
>>>
>>> John
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250629/c99d4acb/attachment-0001.html>
More information about the X3D-Ecosystem
mailing list