FloorplanTransformation icon indicating copy to clipboard operation
FloorplanTransformation copied to clipboard

Error while running renderer.py

Open simonsapiel opened this issue 5 years ago • 1 comments

Hi.

There seems to be an error when running the renderer.py file. This is the output

Traceback (most recent call last): File "renderer.py", line 181, in <module> renderer.loadModels(['/home/simon/Desktop/FloorplanTransformation/data/floorplan_representation/00/0b/0513fae730eaf65b98f9580d024d/0001', ]) File "renderer.py", line 78, in loadModels floorplan.read() File "/home/simon/Desktop/FloorplanTransformation/rendering/floorplan.py", line 130, in read item[pointIndex * 2 + 0] /= self.maxDim AttributeError: Floorplan instance has no attribute 'maxDim'

maxDim seems to be causing the problem although it's defined on line 101 at floorplan.py

self.maxDim = max(self.width, self.height).

Any ideas on what might be causing this? @art-programmer

simonsapiel avatar Feb 20 '20 10:02 simonsapiel

I ran into the same issue. Following. Hopefully, someone can help

sisoburg avatar Apr 27 '20 06:04 sisoburg