Hi
I would like to fit a trapezoid (and everything inside it) into a rectangle.
My first guess was to use the perspective effect. With the perspective effect, I can easily fit a rectangle into a trapezoid, but when i try to go back the other way (trapezoid to rectangle) the perspective effect doesn't quite do the job. It doesn't adjust all four sides to the rectangle. It only adjust the base line and the height of the trapezoid. (see attach file for visual example)
I searched the web for solutions but didn't find anything related to this situation.
Is there a way to make the perspective affect to work properly or is there another tool i could use to acheive this?
Thanks for your help!
Ggasse
Fit a trapezoid into a rectangle
Fit a trapezoid into a rectangle
- Attachments
-
- trapezoid&rectangle.svg
- (10.04 KiB) Downloaded 201 times
Re: Fit a trapezoid into a rectangle
Hi. I looked at your file. I did not see any trapezoids in there.
There were some quadrilaterals in which NO sides were parallel. But that would not be a trapezoid, just a quadrilateral. Maybe it's an European/English thing? Trapezium?Trapezoid?
I'm being pedantic here, perhaps, but the point I am getting to is that although it is possible to do what you want to do in Inkscape, it requires some analysis, and gets progressively more difficult with each increasing asymmetry and aparallelism(and also harder to explain, as you might imagine).
Being lazy I will take the simplest case - a quadrilateral with parallel top and bottom sides, and possessing horizontal symmetry - and illustrate how to transform it. Wth some brainsweat you should be able to exend the method to any degree of asymmetry...


I'm being pedantic here, perhaps, but the point I am getting to is that although it is possible to do what you want to do in Inkscape, it requires some analysis, and gets progressively more difficult with each increasing asymmetry and aparallelism(and also harder to explain, as you might imagine).
Being lazy I will take the simplest case - a quadrilateral with parallel top and bottom sides, and possessing horizontal symmetry - and illustrate how to transform it. Wth some brainsweat you should be able to exend the method to any degree of asymmetry...
Your mind is what you think it is.
Re: Fit a trapezoid into a rectangle
Thanks a lot!
As for the trapezoid vs quadrilateral thing I'm actually french, so it is probably a wrong translation from me
I'll read through your explanation and try to figure it out.
As for the trapezoid vs quadrilateral thing I'm actually french, so it is probably a wrong translation from me

I'll read through your explanation and try to figure it out.