wearyhacker wrote: ↑Sun Dec 01, 2019 2:12 pm
The screen capture appears to have lost the placement cursor. This shows at the bottom left of the window placement rectangle, as expected
Screenshot from 2019-12-01 12-31-14.png
In this capture the placement cursor is at the top right.
OK, got you about the Window is upside-down and inverted.
@yorik is the main developer of the Arch / BIM workbench, he should be the one know in details what's happening - seem he's extremely busy recent weeks so may need some patient.
In the meantime, just as @yorik had mentioned can do it manually - just create the window 'in the air', then turn on it base sketch, and move and rotate the sketch to the wall position as desired. In the window's Host attirbute to choose the Wall object. Recompute and it should be done. There are a number of discussion how to place a window in the forum.
Screenshot from 2019-12-02 01-49-47.png (214.83 KiB) Viewed 1650 times
Screenshot from 2019-12-02 01-49-07.png (221.64 KiB) Viewed 1650 times
Last edited by paullee on Sun Dec 01, 2019 6:03 pm, edited 1 time in total.
wearyhacker wrote: ↑Sun Dec 01, 2019 4:44 pm
I am losing the will to live on this one. Can someone point me a python snippet that shows me how to get at the data from the original dwire. i.e. the ordered points list and any other info it may contain?
Thanks Roger
select the Dwire object and run in the python console:-
wearyhacker wrote: ↑Sun Dec 01, 2019 2:12 pm
The screen capture appears to have lost the placement cursor. This shows at the bottom left of the window placement rectangle, as expected
Screenshot from 2019-12-01 12-31-14.png
In this capture the placement cursor is at the top right.
OK, got you about the Window is upside-down and inverted.
@yorik is the main developer of the Arch / BIM workbench, he should be the one know in details what's happening - seem he's extremely busy recent weeks so may need some patient.
In the meantime, just as @yorik had mentioned can do it manually - just create the window 'in the air', then turn on it base sketch, and move and rotate the sketch to the wall position as desired. In the window's Host attirbute to choose the Wall object. Recompute and it should be done. There are a number of discussion how to place a window in the forum.
Screenshot from 2019-12-02 01-49-47.png
Screenshot from 2019-12-02 01-49-07.png
wearyhacker wrote: ↑Sun Dec 01, 2019 4:18 pm
Just noticed that the process I used to cut out the test example has somehow resulted in the wire being converted into a featurePython object. In the original file it was a Part::PartFeature. I have attached a new version which preserves the original object type.
roger
I'm not sure what you mean by this. A Draft_Wire is a Part_Part2DObject (Part::Part2DObject), which is a derived class from Part_Feature (Part::Feature). What is this "featurePython" you mean?
And yes, placing Windows and Doors is sometimes tricky. You can just place it in the wall that you want, and then change the orientation manually later. See Tutorial custom placing of windows and doors.
The problem seems related to the position of the Dwire relative to the global origin. If I move the "Ground level wire" so that the global origin is inside it, the problem no longer occurs.
Roy_043 wrote: ↑Tue Dec 03, 2019 2:46 pm
The problem seems related to the position of the Dwire relative to the global origin. If I move the "Ground level wire" so that the global origin is inside it, the problem no longer occurs.
Well, I never would thought of that. I always set the global origin outside the building or to the left most and top most point on the plan I am working on. Thats probably why I have always had problems placing doors and windows!
I have asked before if there was any tool to rebase a complete file by recalculating all the relevant stored points. Never got any answers though
Last edited by wearyhacker on Sun Dec 08, 2019 3:42 pm, edited 1 time in total.
The issue seems related to the negative y coordinate for the outer faces of both rear facades. For one face the y coordinate is actually almost zero (some sort of rounding error).
I did some more testing to try to pinpoint when this problem, windows are inserted 180 degrees rotated, occurs.
In my tests I have use walls created by starting the Wall command and then clicking two points. So all walls were based on a single line sketch. And prior to inserting the windows the WP was aligned with the correct wall face.
My findings are:
Walls with major faces parallel to the global YZ plane are not affected.
If the face of the wall faces the negative global Y axis the problem does not occur.
In all other cases the first window is inserted correctly, but all subsequent windows are rotated.