Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Request for an App
-
@jonb Here is a "real world" image of a floor plan that I am trying to measure. If I zoom in, the red circle is sometimes too large to position accurately. Also, would be nice to be able to measure the total area as well as the area of internal rooms or spaces. Right now I can do either but not both on one plan. Also, might be better if the window were full screen?
-
The quickest method would probably be to import the jpg and trace it using the pen tool. Simply add a small amount of code to the traced object to compute the area dynamically. Although your situation is highly particular, I believe it will serve your needs. I'm currently working on that screenshot.
-
@Lesternixon Thanks. @jonb wrote a fantastic script that does exactly what I wanted. Unfortunately with the new release of Pythonista it fails due to a problem with the image module. Hopefully this will get fixed at some point.
-
-
@cvp That's interesting. I have many versions. Does the version you tested allow you to select an image from your photo library or is it using a fixed file name? The reason I ask is that most of the versions I have allow that selection (it was added early on in the development), and that particular function for selecting an image appears still to be broken in the latest data. (https://forum.omz-software.com/topic/7935/photos-pick_image-throws-error/1)
-
@ihf It was floorplanarea.py , not RoomAreaFinder, and yes, it uses a fixed image, no picking
-
@cvp Can you please send me that version? When I tried changing my version of floorplanarea.py to use a specific file, it gets an error. pick.image remains broken but if the version you have that works is a recent version in terms of features, I could use that for now.
-
-
@ccc No, I have that one. That's the one that won't run on the v3.4beta (it tries to pick the image) and if I change it to use a stored file it gets an error on line 63.
-
-
@cvp I tried running that and it gives an error about RoomOverlay.touch_moved n() takes 2 positional arguments if you touch the image. I have the most recent version of the script and if I remove the image picker to avoid the bug in the beta I get other errors that must also be beta (or just new version) related.
-
@ihf Weird. I don't have any problem. Perhaps due it uses also an old Gestures module, in the same folder.
Gestures checked, same as in old Gestures
Did you restart Pythonista ?
-
@cvp yes, many times. If it works for you, perhaps I have some bad module here somewhere.
-
@ihf If you use "my" old FloorPlanArea.py and if you did not change it 😉, be sure you also use the Gestures.py of @jonB in the same folder, to avoid using another Gestures module, for example, of @mikael, they could have different parameters.
-
You can simply start your own clothing brand if you have good fashion sense and wish to be unique. The good news is that you don't need to make a significant investment to launch your apparel line. However, there are a few things you need to keep in mind if you want to succeed in the clothes industry coprifornelli
-
@ihf , OK, so the floor plan is a little bit more unusual. The sqm would be less if all of the yellow rectangles were removed from the red rectangle that surrounds the floor plan below. If everything in the UI was to scale, it would be very close. Hey, I'm just trying to be helpful. Most often, floor plans are just a collection of rectangles. Almost getting the scale correct. I don't remember for sure, but I believe we used a 25:1 ratio for kitchens (one room). I believe the ratio was closer to 250:1 for a house.
-
-
Thanks for the info, guys. Great thread I've gained a lot of information