roomplan 0.1.0
roomplan: ^0.1.0 copied to clipboard
Scan a room with Apple's RoomPlan and get it back as walls, doors, windows and furniture with real dimensions, plus a USDZ model. iOS, LiDAR required.
0.1.0 #
Initial release: Apple RoomPlan for Flutter.
RoomScanViewhosts Apple's ownRoomCaptureView, including its live coaching overlay and wireframe, as a platform view.RoomScanControllerstarts and stops a scan and delivers the finished room on a stream, because RoomPlan post-processes after the scan ends rather than returning immediately.CapturedRoomgives walls, floors, doors, windows, openings and recognised objects, with metre dimensions and positions read out of their transforms — plusraw, RoomPlan's own encoding kept whole.- A USDZ model is exported for each scan, ready for AR Quick Look.
RoomScanController.support()distinguishes "no LiDAR" from "iOS too old", since those need different things said to a user.
Not yet verified on a LiDAR device. The plugin builds, registers, and
reports noLidar correctly where the sensor is absent, but no real scan has
been observed end to end. The typed model is unit tested against realistic JSON
and is deliberately forgiving; raw is always the whole encoding. The README
says this too.