You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that most of the log files contain the following messages related to dining room/kitchen/living-room
[21:42:55.183] [solve] [INFO] | No objects to be added for desc_full=('on_ceiling_2', 'dining-room_0/0'), skipping
[21:42:55.269] [solve] [INFO] | No objects to be added for desc_full=('on_ceiling_3', 'kitchen_0/0'), skipping
[21:42:55.356] [solve] [INFO] | No objects to be added for desc_full=('on_ceiling_4', 'living-room_0/0'), skipping
And the generated scenes would have no ceiling lights, which makes these rooms too dark. However, bathroom and bedroom have no such problem. As far as I know, the example constraint file has defined the constraints for every room on the ceil lights:
...
ceillights=lights[lamp.CeilingLightFactory]
constraints["ceiling_lights"] =rooms.all(
lambdar: (ceillights.related_to(r, cu.hanging).count().in_range(1, 4)) # at least one light for each room
)
...
If I didn't misunderstand the code, this constraint was trying to make sure at least one light in each room. But it didn't work.
Before I've also tried to make a familiar constraint for adding some primitives in every room and noticed that it only worked for bathrooms and bedrooms. Ultimately, I had to manually add the constraints for each room instead of using rooms.all:
Steps to Reproduce
Generate one indoor scene:
What version of the code were you using?
Ver. 1.10.1
What are your FULL output logs?
50266977628_0_log (copy).err.txt
Additional context
I noticed that most of the log files contain the following messages related to dining room/kitchen/living-room
And the generated scenes would have no ceiling lights, which makes these rooms too dark. However, bathroom and bedroom have no such problem. As far as I know, the example constraint file has defined the constraints for every room on the ceil lights:
If I didn't misunderstand the code, this constraint was trying to make sure at least one light in each room. But it didn't work.
Before I've also tried to make a familiar constraint for adding some primitives in every room and noticed that it only worked for bathrooms and bedrooms. Ultimately, I had to manually add the constraints for each room instead of using
rooms.all
:I've tried adding ceillight number constraints to each room separately and it did work.
The text was updated successfully, but these errors were encountered: