|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Splitting sloping walls? |
||
| Print at Dec 19, 2025, 9:20:48 PM |
|
|
| Posted by macfrog at Jan 20, 2011, 7:24:07 PM |
|
Re: Splitting sloping walls? hi wrosun, the "problem" was already solved before i started this thread. in first msg i wrote "i got a workaround" and i was asking for something easier i might have overseen. i posted the picture just to let anybody see i donot ask for no reason; especially hans is very helpfull and spend some night with other peoples problems. oh, and thanks for liking my model :) |
| Posted by okh at Feb 10, 2015, 8:19:45 AM |
|
Re: Splitting sloping walls? ...intercept the meaning of the theorem... Thanks Hans for your theorem interception, very useful. I think you mention something about doing the math in your much used roof guide. So as a hint, I took the liberty of putting a pointer to various calculations in SourceForge, feature-requests 684. Maybe it is worth making a list of the most useful calculations for all of us who where not subjected to French maths in school? For instance, how to calculate the values indicated here, and probably a few more that I did not think of: ok [/ |
| Posted by Puybaret at Feb 12, 2015, 8:54:38 AM |
|
Re: Splitting sloping walls? In your drawing, intercept theorem says that: 4.5 / (3.4 - 1.6) = 2.2 / (2.48 - 1.6)as you probably look for the 2.48 height here, the previous formula isn't very handy, but you can change it like this: 2.48 = 1.6 + 2.2 x (3.4 - 1.6) / 4.5If you replace 1.6 by heightAtStart, 3.4 by heightAtEnd, 4.5 by distanceBetweenStartAndEnd and 2.2 by distanceFromStart, you get: intermediateWallHeight = heightAtStart + distanceFromStart x (heightAtEnd - heightAtStart) / distanceBetweenStartAndEndNote that (heightAtEnd - heightAtStart) / bothWallsLength is a factor that could reapply elsewhere on walls with the same slope. This factor is also equal to tangent of 21.8°. Thus, if you know the 21.8° angle of the slope, you can also use: intermediateWallHeight = heightAtStart + distanceFromStart x tan(slopeAngle)If you want to calculate that angle, just reverse the formula: slopeAngle = arctan((heightAtEnd - heightAtStart) / distanceBetweenStartAndEnd)You might also wonder how to compute the 4.85 roof length. This time, it's Pythagorean theorem that will give you the answer because angles between walls and the floor are right: 4.85² = 1.8² + 4.5² = (3.4 - 1.6)² + 4.5²If you replace 1.6 by heightAtStart, 3.4 by heightAtEnd and 4.5 by distanceBetweenStartAndEnd, you get: roofLength² = (heightAtEnd - heightAtStart)² + distanceBetweenStartAndEnd²or: roofLength = sqrt((heightAtEnd - heightAtStart)² + distanceBetweenStartAndEnd²)where sqrt is the square root. Hope this will help ![]() ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by okh at Feb 12, 2015, 8:07:27 PM |
|
Re: Splitting sloping walls? Thanks a lot for this - and mostly for always paying attention to detail and answering every question. But I do feel guilty, it was not my intention to ask you to take the time to make the list. Checking my Pythagoras and basic trigonometry would certainly not do me any harm (even if I embarrassingly had to look up tangent being opposite/adjacent). That said, your explanation is, of course, better. And in any case, it always makes sense to check the maths of lawyers (As the joke goes: What can a goose do, a duck cannot, and a lawyer should? - Answer is where they can stick their bill...).Anyway, this is the image I intended to post, trying to summarise hansmex' and the other posts on slopes and angles. Probably with unforgivable (and possibly erroneous) simplifications... ok ![]() |
| Posted by Puybaret at Feb 13, 2015, 11:23:46 AM |
|
Re: Splitting sloping walls? Don't worry, I'm glad you found my answer useful ![]() Just a small detail that bothers me on your drawing: visually, the ends of the green line don't seem to measure the top and the bottom of the same wall. You should add a small green line to join the top of intercepting wall. Hope you see what I mean... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by okh at Feb 13, 2015, 4:53:14 PM |
|
Re: Splitting sloping walls? Yes, it bothered me too. I meant to move the entire green line, but forgot in the haste. Work in progress. To be improved. Thanks. |
| Posted by okh at May 13, 2015, 8:21:15 AM |
|
Re: Splitting sloping walls? Hmm, I did update the image, but forgot to link it here, still a rough sketch, though: ![]() |
| Posted by mazaya at May 28, 2015, 9:59:51 AM |
|
Re: Splitting sloping walls? That's an ingenious but simple workaround |
| Posted by okh at Jun 7, 2015, 9:37:07 AM |
|
Re: Splitting sloping walls? A different take on the same issue continued in thread 5953 with an interactive tool: Sloping wall intercept ok ![]() |
|
|
|
Current timezone is GMT Dec 19, 2025, 9:20:48 PM |