That's not really a challenge, just a productivity saver for you. Do you have a submission for this challenge?Actually I have no idea on how to solve it, but I read many topics with non-ordinary tasks marked as 'challenge' . The main problem is that rooms are consist of lines & plines and have no closed boundary.
ur_naz,Yes, it is not easy and i don't even know the uerisctic search algorithm is faster then manually drawing.
Not an easy one I am afraid.
Maybe knowing that doors opening tends to be standard size,
One could attempt to close the gaps in the polylines.
Opening could be found by finding the segments that are the
same length as the thickness of the walls.
Or may trying to fill rooms with square that are at least the size
of an opening.
But there are a lot of traps in there.
ymg
ribarm, thank you for your code, but it seems does nothing or maybe i do it wrong. i attached 2 examples i tried to process
One more update of attached lisps... Sorry, I am constantly checking them and getting on lacks...ribarm, thank you for your staff, the first version does almost that i need :-) but the last one raise an error in bricscad
Hope that now they are OK... M.R.
; ----- LISP : Call Stack -----
;
- ...C:WALLSPOLYS <<--
;
; ----- Error around expression -----
(CDR LEENT)
;bad argument type <NIL> ; expected SELECTIONSET at [sslength]