WIP nodeSnap: new jBeam editor

Discussion in 'Utilities and programming' started by Max98, Feb 3, 2021.

  1. Max98

    Max98
    Expand Collapse

    Joined:
    Aug 18, 2012
    Messages:
    42
    Some of you probably heard about nodeSnap on RoR.
    Since I released the first beta version over there, I decided to directly dive into BeamNG.

    nodeSnap is a nodes and beams editor based on rorEditorizer. A few people like me really do not like blender and we'd love something slightly easier and more straight forward like rorEditorizer (I actually used rorEditorizer with BeamNG a few years ago lol), so here it is!


    nodeSnap v0.1.1-beta (RoR: 777-300ER by Zephyr/Me)

    upload_2021-2-3_22-14-14.png
    nodeSnap dev (BeamNG: an12 by dummiesman, single jbeam)

    upload_2021-2-4_2-33-2.png
    nodeSnap dev (BeamNG: barstow, multiple jbeams)

    Today I managed to parse one jbeam file and load it into the editor, so it's kind of a milestone, which is why I made this thread.

    It will include basic functions such as (which are already on the ror version):

    • Read all jbeam files in a folder
    • Basic edit functions (new node, remove node, new group, remove group, rename group, add beam, remove beam)
    • Snap to grid nodes
    • N/b transform functions (scale/rotate/translate)
    • Render nodes id/names
    • View resizing
    • Fast performance while editing complex n/bs
    • Duplicating functions (Offset and Flip mirroring on selected axis, works on groups and visible nodes)
    • Import blueprints and move/scale/rotate
    • Import mesh wire frame as reference for working on N/B and move/scale/rotate
    • Saved project preferences (Blueprint's positions, grid size, etc)
    • Backups system
    • Undo system (ctrl+z)
    • Project watcher system: Edit your project on notepad and the editor will reload automatically

    This is made using Electron, VueJS, Bootstrap , three.js and typescript (and obviously Node.js).
    This project is opensource and published on github.
    Please use github for feature requests, etc..
    Github: https://github.com/Max98/project_nodeSnap

    Note: I'm not planning on making a version for RoR and an other for BeamNG, nodeSnap will support both out of the box, will also probably allow converting just nodes and beams between the two games.
     
    #1 Max98, Feb 3, 2021
    Last edited: Feb 4, 2021
    • Like Like x 37
    • Staff Pick Staff Pick x 2
  2. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    2,589
    Very good work!
    I feel like a nice feature would be is importing a the mesh, so you actually know where to put the nodes.
     
  3. Max98

    Max98
    Expand Collapse

    Joined:
    Aug 18, 2012
    Messages:
    42
    It already does.
     
    • Like Like x 1
  4. EmizarPL

    EmizarPL
    Expand Collapse

    Joined:
    Apr 19, 2019
    Messages:
    265
    This should make everything much easier. I'm glad someone made alternative for BNE. :D
     
    • Agree Agree x 1
  5. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,513
    I seen that you released this over there... didn't think you would bring it over hear as well! Great job!
     
  6. Max98

    Max98
    Expand Collapse

    Joined:
    Aug 18, 2012
    Messages:
    42
    I did some clean up and some work and this is the result:
    upload_2021-2-3_22-16-15.png

    The idea here is you select which slot you want to work on and freeze the others..
     
    • Like Like x 8
  7. Cincinnatus

    Cincinnatus
    Expand Collapse

    Joined:
    Aug 25, 2020
    Messages:
    515
    Oh man, this is looking interesting... I can't wait to try it out!
     
  8. silvermanblu

    silvermanblu
    Expand Collapse

    Joined:
    Mar 1, 2013
    Messages:
    368
    This looks awesome. It will do so much for the community!
     
  9. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    2,381
    Finally. Devs gave up on bne so this will be great!
     
    • Agree Agree x 5
  10. Nacho Problem

    Nacho Problem
    Expand Collapse

    Joined:
    Nov 2, 2019
    Messages:
    610
     
    • Agree Agree x 10
  11. Natandog

    Natandog
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    804
    Any updates? This is going to be a big help because notepad++ isn't for me
     
    • Agree Agree x 3
  12. Max98

    Max98
    Expand Collapse

    Joined:
    Aug 18, 2012
    Messages:
    42
    Not yet, I've got some other stuff to finish first, then I'll jump right back to this.
     
    • Like Like x 8
  13. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    2,381
    cough cough
     
    • Agree Agree x 4
  14. silvermanblu

    silvermanblu
    Expand Collapse

    Joined:
    Mar 1, 2013
    Messages:
    368
    God I need this.
     
    • Agree Agree x 2
  15. Max98

    Max98
    Expand Collapse

    Joined:
    Aug 18, 2012
    Messages:
    42
    This is taking too long I know, but it's slowly progressing.. :)

    Simply, I'll be redesigning the core functions of the editor to be able to easily port beamng without a lot of hassle (unlike it is now), and it will be using webassembly (Like Figma does), aka native code, for much more performance (probably Rust, or C++). So yeah, there's a lot to be done under the hood.
     
    #15 Max98, Apr 26, 2021
    Last edited: Apr 26, 2021
    • Like Like x 7
  16. i.want.to.mod

    i.want.to.mod
    Expand Collapse

    Joined:
    Jul 11, 2019
    Messages:
    180
    cant seem to get the program to open with node.js. it flashes a black screen then nothing opens, just shows my desktop from where i opened the file in node.js. no errors either just absoutely nothing opens.
     
  17. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    2,381
    I cant really figure out how to install it either. I have essentially no knowledge in programming.. but I tried. Downloaded from the git, got node.js, and typed npm install into cmd prompt (since node,js said I had to use something else). Both commands gave me errors. I know I'm obviously doing something wrong here.. but I cant figure out what I need to do exactly.
     
    • Agree Agree x 2
  18. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    2,928
    I don't think it's even in a usable state yet, making something like this must take a really long time. I could be wrong, I haven't tried.
     
  19. i.want.to.mod

    i.want.to.mod
    Expand Collapse

    Joined:
    Jul 11, 2019
    Messages:
    180
    o
    --- Post updated ---
    luckily i still have the utils files from bne editor from before it was taken down. Ill continue using that for now
     
  20. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    991
    I’m still trying to figure out what this actually is
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice