shear / skew

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

shear / skew

ravas
I was thinking about how we use a 3D vector,
and what it could be useful for.
And then I remembered adobe Illustrator has a shear tool.
https://helpx.adobe.com/illustrator/using/scaling-shearing-distorting-objects.html
Is it true that creating this tool would require a 3D vector?
Would this be a useful feature?
Reply | Threaded
Open this post in threaded view
|

Re: shear / skew

ravas
I guess it is a 2D problem after all.
https://en.wikipedia.org/wiki/Shear_mapping
Reply | Threaded
Open this post in threaded view
|

Re: shear / skew

dxli
In reply to this post by ravas

Not really, shear can be done using 2x2 matrics, but it is convenient to use 3x3 matrics to do 2d translation.

On Feb 26, 2016 10:32 PM, "ravas [via LibreCAD]" <[hidden email]> wrote:
I was thinking about how we use a 3D vector,
and what it could be useful for.
And then I remembered adobe Illustrator has a shear tool.
https://helpx.adobe.com/illustrator/using/scaling-shearing-distorting-objects.html
Is it true that creating this tool would require a 3D vector?
Would this be a useful feature?


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/shear-skew-tp5713097.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: shear / skew

maliksheraz8534
In reply to this post by ravas
ravas wrote
I was thinking about how we use a 3D vector,
and what it could be useful for.
And then I remembered adobe Illustrator has a shear tool.
https://helpx.adobe.com/illustrator/using/scaling-shearing-distorting-objects.html
Is it true that creating this tool would require a 3D vector?
Would this be a useful feature?
The shear tool in Adobe Illustrator is used to distort objects by skewing them along one axis, creating a shearing effect. While the concept of shear involves mathematical operations that may involve vectors, the shear tool in Illustrator does not specifically require the use of 3D vectors.

In Adobe Illustrator, transformations such as scaling, rotating, and shearing are typically performed in 2D space. The shear tool manipulates objects by applying a shear transformation along either the horizontal or vertical axis, effectively changing their shapes without altering their dimensions in the third dimension.

Creating a shear tool similar to the one in Adobe Illustrator in a 3D modeling or graphics software could potentially involve the use of 3D vectors, especially if the shear operation is performed in a 3D space. However, the specific implementation would depend on the software's design and the desired functionality.

Whether such a feature would be useful depends on the specific needs of the users and the context in which they work. In some cases, the ability to apply shear transformations to objects in a 3D space could be beneficial for tasks such as architectural modeling, product design, or animation. However, in other contexts, such functionality may not be as commonly needed or may be accomplished using different techniques.

Overall, the usefulness of a shear tool in a 3D modeling or graphics software would depend on factors such as the software's target audience, the types of projects it is designed for, and the workflow preferences of its users.
Reply | Threaded
Open this post in threaded view
|

Re: shear / skew

dxli
We should support this one.

The amount of work is medium.

Reply | Threaded
Open this post in threaded view
|

Re: shear / skew

dxli
In reply to this post by ravas
I have added engine support for "shear/skew".

Need to add GUI support now.

Feel we should add this one before the next release.

I'm thinking about choosing an origin, and a y-axis direction relative to the origin, followed by a sheared y-axis.

A rectangle and it's sheared parallelogram will be shown, together with selected entities.

Any suggestion?

Not sure about whether we should support multiple copies, like "Copy/Move".

ravas wrote
I was thinking about how we use a 3D vector,
and what it could be useful for.
And then I remembered adobe Illustrator has a shear tool.
https://helpx.adobe.com/illustrator/using/scaling-shearing-distorting-objects.html
Is it true that creating this tool would require a 3D vector?
Would this be a useful feature?