In some circumstances a person can measure from a back wall through a doorway to a far wall, possibly a back wall in an opposite room. But while I think most people can measure a flat wall to 1/4 or maybe 1/8 inch with a measuring tape, what accuracy can they get measuring a diagonal? If nothing else, I expect there to be a bias (to undermeasure) diagonals based on the size of the measuring tape. Some of the corners may not be square, and hence you lose inches. Sitting here, looking at the overlay of the ground floor and basement, there are some problems. I believe Inkscape can convert SVG to DXF, if a plugin is added. I have very limited experience in using these XS facilities, it still seems like a fair amount of magic to me. Looking at CPAN, I see they have facilities (Lua::API and Inline::Lua) which allow Perl to be called from Lua. Other than I don't see anything like CPAN for Lua. Looking at the Wikipedia article on Lua, I don't see any reason why the code couldn't work. There were circumstances where two rooms joined with no gap. In most of the doorways, the thickness of the wall was about 4.75 inches, which leads to unfilled gaps between rooms. I suppose a person could add structure to the data, to allow a doorway to be indicated, and if one numbers the 2 rooms on either side of the doorway, it could lead to some kind of automatic assembly. Turning the collection of rooms into a floor plan of rooms, was mostly manual. That one line segment is actually 4 sub-segments. For example, an entrance has a segment between the hinge side of the door and the corner, the door itself, possibly a window next to the door, and then a wall segment leading into the other corner. The list of points input to SVG to produce a closed polyline in many circumstances consists of straight line segments divided into sub-segments. Getting the program to draw a single isolated room didn't require much work. Once upon a time I had thought about how to reparameterize spline data in terms of arc length, but never did implement anything. I kind of expected most CAD programs to support length and area calculating. I just want to figure out my house, if this isn't useful to others, that's okay. Is this of use to you? I think a person could mangle the ini type config file to work for data input. Some places hate Perl, I've no idea your feelings. I have never run across any FOSS program which claimed to allow someone to use measurements to produce a CAD drawing (2D). And I have a process in mind to make the connection of "rooms" on a floor that works in a batch oriented process. It does spit out SVG for each room, the plan is to have it spit out SVG for each floor, and an overlayed SVG of the house. My Perl script does traverse each room, calculating perimeter and area, and does so for all rooms on a floor, and all floors in a house (assumed to be 3: ground, basement, attic). Working from my measurements of "rooms", I have a Perl structure with counter-clockwise definition of absolute/local coordinates, starting from the upper left (more or less) as SVG uses that perverted coordinate system. I still need to go up into the attic to measure things (hip roof). I spent a day measuring all the rooms on ground and basement. At one time there were blueprints, they've evaporated. This summer, we are renovating the house at the family farm. I normally write SVG files in emacs as text, or calculate them in Perl using SVG.pm. Consequently I've only dabbled in CAD, as data input is too slow.ĢD CAD maps to SVG okay as I understand. To start defining an 8 foot 2x4 with either a mouse or trackball always seemed too clunky compared to CLI for me. It's been a while since I learned drafting (1979).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |