[x3d-public] NppX3D progress for color-coded editing of X3DV files

Don Brutzman brutzman at nps.edu
Mon Mar 8 10:24:00 PST 2021


Attendees: Jordi R. Cardona and Don Brutzman

1. We had a great review of Jordi's update at

* https://sourceforge.net/u/jordirc/profile

He is using Python and has written his own programs to read the X3DUOM file (itself in XML) and create Notepad++ (Npp) configuration files.

* https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml

Original name was NppX3D, looking at possibly changing to NppX3DV

* https://sourceforge.net/projects/nppx3d

is current site, might be moving to

* https://sourceforge.net/projects/nppx3dv

We discussed that there is no need to duplicate this on Web3D Sourceforge account, and so I will be deleting

* https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/tools/Npp/

Jordi will produce a README for installation then I can test when I update my system... will send back any edits if needed.

---

2. We next discussed an alternative approach to python: x3d.py package

* https://pypi.org/project/x3d/

* https://www.web3d.org/x3d/stylesheets/python/python.html

"The x3d.py Python X3D Package supports programmers with Python interfaces and objects for standards-based X3D programming, all as open source. The presentation Python X3D Package Implementation provides an overview and shows examples."

There is _no need_ to change Jordi's program, since there are many paths to success...  8)

Here is an example, in multiple forms:

* http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldIndex.html

* http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldX3dom.xhtml

* http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.py

---

3. Next steps.

a. Jordi will update his sourceforge site, provide README

b. Don will delete draft sourceforge tree, review README and test an installation

c. We will create a short introduction presentation, then after review that everything is OK,

d. We will create a short YouTube video demonstration of Jordi showing how he made this project work.

We will meet again in three weeks, 29 March 2021 at 0800 pacific on Web3D Consortium zoom line.

Having fun with X3D!   8)

=============================

On 3/3/2021 8:16 AM, Don Brutzman wrote:
> Hi Jordi, am able to return to this effort soon.  Might we meet next Monday at 0800 pacific?
> 
> We can use Web3D zoom room, will send you an appointment and we can adjust times as needed.
> 
> On 3/1/2021 8:16 AM, jordircardona at yahoo.com wrote:
>>
>> Thanks Don. I can give you my Python source scripts, in case you want to use them. Just tell me.
> 
> Yes let's discuss.  Perhaps you maintain primary version control, and we archive versions on Web3D sourceforge?
> 
> Am hoping to do a brief code walkthrough if that is OK, hoping to understand your approach.
> 
> You might also find the x3d.py package of interest.  I believe most (perhaps all) the information needed for a implementing program to create your configuration files might be there already; if something is missing, it will be good to identify (and hopefully remedy) that.
> 
> [1]    Python Package Index (PyPI) x3d.py v4.0.40

* https://pypi.org/project/x3d/

> [2]    Python X3D Package x3d.py

* https://www.web3d.org/x3d/stylesheets/python/python.html

> "The x3d.py Python X3D Package supports programmers with Python interfaces and objects for standards-based X3D programming, all as open source."
> 
> Looks like the following needs updating:
> 
> [3]    presentation: Python X3D Package Implementation

(on the preceding page)

>> Or if anybody experienced with Vim or Ultra Edit wants to contribute too.
>>
>> I had a look at Vim documentation for this, and it's very confusing. As many things in Linux (sorry if offends someone) some sites says it's one way, others say different things. Not sure if there is a modern and simple guide for their syntax files. If someone more experienced with Vim and Linux can help or do that part, it would be better.
> 
> (rhyming) Hmmm any Vim power users out there?
> 
> [4]    vim

www.vim.org

> [5]    Wikipedia: vim

en.wikipedia.org/wiki/Vim_(text_editor)

>> Ultra Edit is more documented, although it's a lot to read now, and I am a bit in the middle of finishing many works now. For that I would need help.
>> I found this:

https://www.ultraedit.com/wiki/Syntax_highlighting

https://www.ultraedit.com/wiki/Wordfiles

>> Maybe for this the xlst approach can do too.
>>
>> -Jordi
> 
> Yes am keen to do that, but first hoping we can get clear about color conventions and anything else configurable.  Maybe then we can have a consistent approach across major text editors, if that is useful.
> 
> Another potential asset, if wanted and applicable: tooltip information.  This information is retrievable via XML file, and indeed tooltip topic sentences are embedded in Python and Java APIs as well as X3D Ontology.
> 
> [6]    Extensible 3D (X3D) 4.0 Tooltips

as ever

* www.web3d.org/x3d/tooltips/X3dTooltips.html

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list