Update - a very kind person has helped me out via email, and now the code is working, yay! The files it is producing aren't quite right, but I'll check back in with the original writer on git hub and see how I go.
Hello all!
A bit stuck here, because I'm in coding territory and that's not my natural home :)
I'm a designer/illustrator, and my client has requested some furniture from a particular catalogue for the design. The catalogue is loaded into an online 3D software called Floorplanner, which only exports .fml files. I'd like to use some of these 3d models in sketch up, but the software doesn't export it. (I have contacted the software makers who are giving me a bit of a run around).
I looked for a new option in the meantime and some clever person has written a script to convert fml files to obj files for Sketchup, but I just can't get it working.
Here is the script:
https://github.com/RobbinBaauw/FloorplannerParser
and here is a test fml file:
https://drive.google.com/file/d/1o5Xd5Tilh_Cxa0tAYdx9BFkU26n…
So, I run 'yarn', and it creates the node_modules folder.
But when I go to the next step (after creating a sources folder in root) and then run cmd in root and the next line of code: ts-node fmlparser.ts / tsc
I get all kinds of error messages:
TypeError: Cannot read property 'length' of undefined
or
TypeError: Cannot read property 'project' of undefined
I've reached out to the code writer as well, but time is of the essence and I would really like the script up and running as soon as I can.
Unfortunately, I've reached the limit of my own troubleshooting and not being a coder, don't know the forums to ask in.
Can anyone help, or direct me to where I can get some troubleshooting?
If you can…please…um, use coding for dummies language. I'm ok to follow instructions, but honestly, don't know how to code.
Thank you!
If you don't know how to code, your best bet is to go back to the code writer. Looks like there's an issue reading the .fml file, maybe the format, as the 'result' object is coming up as
undefined
. There might be a bug in the code, or the wrong file format is being used.