<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 20, 2022 at 8:37 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</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><div><div dir="auto">Yep, i will try adding view3dscene to path in x3d-edit environment and  view3dscene will likely start working outputting VRML and X3D.  i’m getting the idea that no one else is starting x3d-edit from bash.</div></div></div></blockquote><div><br></div><div>Updates. I just had to set the PATH to include the openjdk bin.   Version 18</div><div><br></div><div>Michalis code looks good for reading both ASCII and binary STL.   I'm guessing that Blender might write both binary and ASCII STL, but I'm researching that now, looks possible.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="auto"><br></div><div dir="auto">Unfortunately, as discussed, outputting STL is not supported, but i could be pleasantly surprised.   I do think Blender might work and is probably preferred.  Anyone want to write an x3d input, stl output python blender plugin?  Vince?  Can we get a prototype from Blender folks?</div><div dir="auto"><br></div><div dir="auto">If STL output works, is it still on the wish list?</div><div dir="auto"><br></div><div dir="auto">I don’t know the status of STL output in X3DJSAIL.  I know there’s no stylesheet for it last I checked.   I already asked the status of any work on X3dToStl.xslt, so I wouldn’t be duplicating work.</div><div dir="auto"><br></div><div dir="auto">Now do you guys understand why i keep poking my head in and asking for a tessellator?</div><div dir="auto"><br></div><div dir="auto">Will accept video showing me wrong.   Thanks!</div><div dir="auto"><br></div><div dir="auto">If the work is more important in python, who can work on it?</div></div></div></blockquote><div><br>I guess I can learn a bit of python, enough to load brython in.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="auto"><br></div><div dir="auto">Would someone take the steering wheel, I’m about ready to drop it, and press on the brakes.</div><div dir="auto"><br></div><div dir="auto">Okay, I’ll test x3d-edit next.</div></div></div></blockquote><div><br></div><div>Done, everything I tried worked well.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="auto"><br></div><div dir="auto">John</div></div></div><div><div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 20, 2022 at 7:56 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</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 lang="EN-US"><div><p class="MsoNormal">Thanks for reminding everyone of this important conversion tool, Michalis.  For everyone’s convenience, here is your list of formats:<u></u><u></u></p><div style="border-style:none none solid;border-bottom-width:1.5pt;padding:0in 0in 1pt;border-bottom-color:windowtext"><p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">Convert everything to X3D<u></u><u></u></li><li style="margin-left:0in"><a href="https://castle-engine.io/convert.php" target="_blank">https://castle-engine.io/convert.php</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in"><b><span style="font-size:12pt;font-family:Helvetica,sans-serif;background-color:white;color:rgb(51,51,51)">Convert to X3D</span></b><span style="font-size:12pt;font-family:Helvetica,sans-serif;background-color:white;color:rgb(51,51,51)"> from </span><a href="https://castle-engine.io/creating_data_model_formats.php" target="_blank"><span style="font-size:12pt;font-family:Helvetica,sans-serif;text-decoration:none;background-color:white;color:rgb(51,122,183)">any model format supported by Castle Game Engine</span></a><span style="font-size:12pt;font-family:Helvetica,sans-serif;background-color:white;color:rgb(51,51,51)"> (glTF, X3D, VRML, Wavefront OBJ, STL, Collada, 3DS, MD3, Spine JSON and others).</span><u></u><u></u></li><li style="margin-left:0in"><a href="https://castle-engine.io/creating_data_model_formats.php" target="_blank">https://castle-engine.io/creating_data_model_formats.php</a><u></u><u></u></li></ul><div style="border-style:none none solid;border-bottom-width:1.5pt;padding:0in 0in 1pt;border-bottom-color:windowtext"><p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Linking to this service is topmost on the X3D-Edit Import menu, screenshot attached.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in">X3D-Edit > Import X3D Model from File > Castle Game Engine Convert to X3D<u></u><u></u></li><li style="margin-left:0in"><a href="https://sourceforge.net/projects/x3d/files" target="_blank">https://sourceforge.net/projects/x3d/files</a><u></u><u></u></li></ul><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u style="font-family:"Courier New""></u> <u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" style="font-family:"Courier New"" target="_blank">brutzman@nps.edu</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">X3D graphics, virtual worlds, Navy robotics https://</span> <span style="font-size:10pt;font-family:"Courier New""><a href="http://faculty.nps.edu/brutzman" style="font-family:"Courier New"" target="_blank">faculty.nps.edu/brutzman</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal"><b>From:</b> x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" target="_blank">x3d-public-bounces@web3d.org</a>> <b>On Behalf Of </b>Michalis Kamburelis<br><b>Sent:</b> Tuesday, December 20, 2022 4:58 AM<br><b>To:</b> John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br><b>Cc:</b> X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br><b>Subject:</b> Re: [x3d-public] Over next several weeks, I will be ramping up<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">STL already contains a simple list of triangles. So if by "tesselation" you mean "ability to produce triangles from more complex shapes", you don't really need it for STL :)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Note that CGE, view3dscene and <a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcastle-engine.io%2Fconvert.php&data=05%7C01%7Cbrutzman%40nps.edu%7C57d473d582de411f7cfc08dae289f5ad%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C638071380227599253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=JFbfbfnV2fzh4OgJZ7B%2F4obPyL2hbiaGXBt6JuhOVuo%3D&reserved=0" target="_blank">https://castle-engine.io/convert.php</a> can convert STL -> X3D. The code to handle STL is really simple and you can likely adjust it for other purposes / libraries / languages : <a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcastle-engine%2Fcastle-engine%2Fblob%2Fmaster%2Fsrc%2Fscene%2Fload%2Fx3dloadinternalstl.pas&data=05%7C01%7Cbrutzman%40nps.edu%7C57d473d582de411f7cfc08dae289f5ad%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C638071380227599253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=j%2Fk7%2FlWaTJ%2FlOTl3lFRXYjkYWOcf%2BAM6a4IJGdU%2BYnE%3D&reserved=0" target="_blank">https://github.com/castle-engine/castle-engine/blob/master/src/scene/load/x3dloadinternalstl.pas</a> .<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Michalis<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">wt., 20 gru 2022 o 12:07 John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> napisał(a):<u></u><u></u></p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><p class="MsoNormal"><img border="0" src="cid:18532673f2aad7999131" style="width: 932px; max-width: 100%;"><u></u><u></u></p></div></blockquote></div></div></div><div lang="EN-US"><div><div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">The Stereo Lithography (STL) export converter from X3D JSON to STL looks like low hanging fruit. I just need to find some good tesselation code in ECMAScript. I already have a basic framework. Can anyone recommend A-Frame, Three.js, Babylon.js, Unity, X3DOM or X_ITE code for doing tesselation, or is it built into WebGL?  Meanwhile, I will be working on meshes and creating a project, etc.<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, Dec 20, 2022 at 4:45 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><p class="MsoNormal">Over the next several weeks, I will be ramping up for potential return to work, testing out CTS coping skills (laying on a different side, taking breaks), computer hygiene, sleeping hygiene etc.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">My wife has given me the thumbs up to return to work remotely.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">So if there's any X3D tasks, I should be able to pick some of them up, I will look at the wishlist.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">BTW, has anyone attached Gmail to GPT-3?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Everyone have a merry xmas and happy new year.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks!<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">John<u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal">_______________________________________________<br>x3d-public mailing list<br><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><u></u><u></u></p></blockquote></div></div></div></blockquote></div></div>
</div>
</div>
</blockquote></div></div>