# Boolean with lines?

**URL:** <https://forum.lightburnsoftware.com/t/boolean-with-lines/93426>\
**Category:** LightBurn Software Questions\
**Tags:** sculpfun-s9\
**Created:** [March 2, 2023, 9:40am UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426 "2023-03-02T09:40:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![laserdriver](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/l/48db29/32.png) [@laserdriver](https://forum.lightburnsoftware.com/u/laserdriver)\
**Post date:** [March 2, 2023, 9:40am UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/1 "2023-03-02T09:40:31Z")

</div>

Hello everyone,

when cutting a map I came across this problem that I wanted to “trim” a few lines that I got from my data source, ideally by applying a boolean with a bounding box. See the attached screenshot. However as I found out booleans only seem to be working with closed shapes.

Now this can’t be so hard to achieve. Any way to do this I’m missing?

Thank you!

 ![test](https://forum.lightburnsoftware.com/uploads/default/original/3X/0/1/018a991ec42bb93bc9a7db97e0ce0a43deab9cf3.jpeg)

---

<div class="post-metadata">

**Author:** ![laserdriver](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/l/48db29/32.png) [@laserdriver](https://forum.lightburnsoftware.com/u/laserdriver)\
**Post date:** [March 2, 2023, 9:46am UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/2 "2023-03-02T09:46:19Z")

</div>

Ok I guess I was a bit too quick as I now found this post:

> [@Challenges with boolean subtract tool](https://forum.lightburnsoftware.com/t/challenges-with-boolean-subtract-tool/13815/2):
>
> Boolean operations work only on enclosed areas. If you want to just trim a line, the simplest way for now is to use the I (insert) and B (break) functions with Edit Nodes, then just delete the line segment you don’t want. For example, if I want to trim the black line to be within the red box: [image] Select the black line, then click the Edit Nodes button (under the hexagon on the left toolbar): [image] Zoom in (mouse wheel) to where they cross: [image] Hover the mouse over the intersect…

However, they say they have a line trimming function in the works but that was almost three years ago. Any news on that?

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [March 2, 2023, 12:54pm UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/3 "2023-03-02T12:54:43Z")

</div>

> [@laserdriver](#):
>
> line trimming function

[![](https://img.youtube.com/vi/2mHkqwCn_3s/maxresdefault.jpg "LightBurn Tutorial: Node Editor Trim function") ](https://www.youtube.com/watch?v=2mHkqwCn_3s&t=18s)

😺

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [March 2, 2023, 1:00pm UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/4 "2023-03-02T13:00:10Z")

</div>

I can’t quite tell but are you trying to crop away the parts of the map that are outside one of the defined rectangles? If so, try this:

1. Select all parts of map
2. Add bounding rectangle to selection
3. Tools-\>Cut Shapes
4. That should leave you with 2 grouped objects: everything within the bounding rectangle and everything outside the bounding rectangle
5. Discard the unwanted portion

---

<div class="post-metadata">

**Author:** ![laserdriver](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/l/48db29/32.png) [@laserdriver](https://forum.lightburnsoftware.com/u/laserdriver)\
**Post date:** [March 2, 2023, 1:46pm UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/5 "2023-03-02T13:46:32Z")

</div>

Thanks, but this is about closed shapes, which is exactly the problem. It doesn’t work for lines.

---

<div class="post-metadata">

**Author:** ![laserdriver](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/l/48db29/32.png) [@laserdriver](https://forum.lightburnsoftware.com/u/laserdriver)\
**Post date:** [March 2, 2023, 1:46pm UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/6 "2023-03-02T13:46:48Z")

</div>

Awesome, that totally did the trick. Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/system/32/64335_2.png) [@system](https://forum.lightburnsoftware.com/u/system)\
**Post date:** [April 1, 2023, 1:47pm UTC](https://forum.lightburnsoftware.com/t/boolean-with-lines/93426/7 "2023-04-01T13:47:41Z")

</div>

Closed on April 1, 2023, 1:47pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
