Giter VIP home page Giter VIP logo

floorplannerparser's People

Contributors

robbinbaauw avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

floorplannerparser's Issues

Not quite sure on the instructions

Hello Robbin,

Thank you so much for this script. I am having a bit of trouble making it work, can you help me?

I have installed Node and Yarn.
I unzipped the files I downloaded from here into a new folder: "FloorplannerParser-master", which contains the fmlparser.ts and package.json file.

From this folder, I run a cmd window with the command "yarn"
A new folder is created called "node_modules"

Now, this is where I get stuck.

Do I create the sources folder in the FloorplannerParser-master folder, or within the node_modules folder.
And where do I run the ts code from?

At the moment, I'm getting this error:

E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\fmlparser.ts:184
for (const line of lines) {
^
TypeError: Cannot read property 'length' of undefined
at Function.Cuboid.parseCuboid (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\fmlparser.ts:184:28)
at E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\fmlparser.ts:12:36
at Parser. (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\xml2js\lib\parser.js:303:18)
at Parser.emit (events.js:315:20)
at Parser.EventEmitter.emit (domain.js:467:12)
at SAXParser.onclosetag (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\xml2js\lib\parser.js:261:26)
at emit (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\sax\lib\sax.js:624:35)
at emitNode (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\sax\lib\sax.js:629:5)
at closeTag (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\sax\lib\sax.js:889:7)
at SAXParser.write (E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master\node_modules\sax\lib\sax.js:1436:13)

E:\New\Downloads\FloorplannerParser-master\FloorplannerParser-master>

Could you please tell me where I'm going wrong?
Perhaps, if you could write me some instructions that are really easy to follow? I.e for someone who is not used to coding or using command prompt. So if you could tell me where to put the folder and where to put the code. Thank you!

Not working entirely

Hey Robbin,

Pretty cool thing you have here! I tried it on a simple house from Funda (seeing you're Dutch too you probably know what I mean). I'm talking about this one specifically:
https://www.funda.nl/koop/harderwijk/huis-40914242-operettedreef-64/#plattegrond-1

The FML-file for it you can find here:
https://cloud.funda.nl/valentina_media/104/193/461.xml

I succesfully converted the 3 floors of the file, but the ground floor seems to have come out a bit wrong. Also, it would be really cool if you could generate an MTL file for textures/colours of walls, floors et cetera.

If there's anything I can do to help let me know, I'm just not known with either fml or obj format really

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.