Cut a line across a rectangle

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

Cut a line across a rectangle

sayang
If a line lies obliquely across a rectangle, how is the part of the line inside the rectangle cut?
I have seen answers dating back to 2012/2013, but they do not seem to work on Version 2.1.0.
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

ravas
dxli made the rectangle tool produce a polyline, instead of lines.
It would probably make sense to move the tool into the polyline category;
however, ideally we would have two tools or an option to choose lines or polyline.

I could not trim polylines with Trim or the polyline 'Trim Segments'...
so there does seem to be a bug... or two.
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

dellus
In reply to this post by sayang
Isn't it 'modify - divide' you are seeking for? It works for me in 2.1.
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

sayang
Thanks for the response Dellus.

The 2012/2013 examples I saw use Modify-Divide as well as what was called something like `snap to intersection'. I assumed the latter to be `Tools->Select->Select Intersected Entities'  in 2.1.0.

If Modify-Divide works for you using 2.1, could you write down the procedure you used from
beginning to end and including every mouse `click'.
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

ravas
Your assumption was incorrect.

http://wiki.librecad.org/index.php/Snapping
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

sayang
Thanks Ravas

How do you get those snapping options to display or get to know about them?
I could find no hint of them in 2.1.0
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

ravas
They are supposed to appear at the bottom.
Widgets->Toolbars->Snap Selection
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

ravas
Or you can make a custom toolbar or menu.

https://github.com/LibreCAD/LibreCAD/wiki/Widgets
Reply | Threaded
Open this post in threaded view
|

Re: Cut a line across a rectangle

sayang
Being alerted to and finding the `Snap Intersection' command solved the problem.

Thanks