How to import the jbeam structure directly to blender?

Discussion in 'Content Creation' started by G-Farce, Aug 15, 2021.

  1. G-Farce

    G-Farce
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    544
    I've made a car in automation, upon testing in beamng found the jbeam is sagging on the floor, causing a car that is not functional. I can import the .dae just fine but the jbeam?
    I can edit it using notepad but would prefer to in blender or other software to visualise the jbeam structure. Perhaps there's an import format or container? Any help is appreciated
     
    • Like Like x 1
  2. Maxy_к9-Fυяяу

    Maxy_к9-Fυяяу
    Expand Collapse

    Joined:
    Feb 23, 2016
    Messages:
    167
    Blender does not edit jbeam. You'll have to use notepad(++), or you can try out BNEditor.
     
    • Like Like x 1
  3. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,101
    You can't. Basically all visual softwares related to Jbeam are terribly outdated and broken.
     
    • Like Like x 1
  4. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,026
    The only way to visualize the JBeam is by hitting ctrl-t in game and manually move all the nodes to where they be. It’s cumbersome and stupid but it’s the only way
     
    • Agree Agree x 2
    • Like Like x 1
  5. Chevy1980s

    Chevy1980s
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    85
    I was able to import all the coordinates of some jbeams as vertices by reformatting it into a python script for the point cloud addon in Blender 2.83 (). You have to delete all the irrelevant data in the jbeam file and add some extra info to get the script to work right. I kept some notes for anyone familiar using regular expressions in notepadd++ and normal search to replace text. It has been some time since I have used it and it might not make the most sense, but I want anyone out there who might research this to know that this could be a way to at least get the vertices in blender in a relatively short amount of time. The file "FormatHelper" is a mixture of searches I was pasting into regular expression and normal search modes to delete most of the irrelevant data (after manually deleting sections like beams, flexbodies, slots, any section not containing node coordinates) and the other file is an example of a jbeam turned into a point cloud script (I couldn't upload it as a .ply file, which is the format it needs to be in to import it with the addon). The bottom half of FormatHelper was revised to get more code out of the jbeam than the older section. I also have provided screenshots of the two files and the end result. Sorry if this looks like a mess...
    Screenshot2021-09-23060933.jpg Screenshot2021-09-23062120.jpg 283.jpg Screenshot2021-09-23061737.jpg
     

    Attached Files:

    • Like Like x 1
  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