# Solid difference not working

**URL:** <https://discourse.mcneel.com/t/solid-difference-not-working/131278>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [October 6, 2021, 4:04pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278 "2021-10-06T16:04:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtdelucia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mtdelucia/32/553550_2.png) [@mtdelucia](https://discourse.mcneel.com/u/mtdelucia)\
**Post date:** [October 6, 2021, 4:04pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/1 "2021-10-06T16:04:14Z")

</div>

Hello,

I’m trying to build a grasshopper file that will help me to process models for CNC cutting. I just need to add dogbone corners to the mortices and pilot holes. It seems like it should be pretty simple but I cant seem to get it to work properly. oddly the first part works fine but the second set labeled “pilot holes in mortises” does not. It makes some of the holes but not all. thanks in advance for any insights.  
Michael

---

<div class="post-metadata">

**Author:** ![mtdelucia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mtdelucia/32/553550_2.png) [@mtdelucia](https://discourse.mcneel.com/u/mtdelucia)\
**Post date:** [October 6, 2021, 4:05pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/2 "2021-10-06T16:05:14Z")

</div>

[bracket.3dm](https://discourse.mcneel.com/uploads/short-url/504KRTsIVDuaafoF2rQZ4fgF3j0.3dm) (571.3 KB)  
[BRACKETS.gh](https://discourse.mcneel.com/uploads/short-url/4RG4Ic5JFy9PgolYuqZ4GOfgCcU.gh) (25.1 KB)

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [October 6, 2021, 4:21pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/3 "2021-10-06T16:21:09Z")

</div>

Your Grasshopper file is missing some input geometry but I was able to set the right curves I think.

So the first part of the definition seems to work. I internalized the three inputs.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/2/e/12e22efcb6522af5345e6c0c9e2a1358d3004a2c.jpeg)

Not sure which curve is required for the flanges?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/6/a/86a0dab7404e07815235fcb35821bf51ea3562d9.png)

[BRACKETS.gh](https://discourse.mcneel.com/uploads/short-url/xaXYe6YdX2DssRacGsYVIiQ3NiI.gh) (116.3 KB)

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [October 6, 2021, 4:46pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/4 "2021-10-06T16:46:03Z")

</div>

Oh…

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/6/5/c6550456741ff858d1e960ea6421535e83b9118e.jpeg)

Here’s a problem

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [October 6, 2021, 4:50pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/5 "2021-10-06T16:50:15Z")

</div>

Reduce the inward offset to 0.74, or increase it to 0.76, as long as the holes overlap it’s fine

Just not 0.75 cause that creates two holes side by side.

[BRACKETS.gh](https://discourse.mcneel.com/uploads/short-url/bTQt4ohZYTJWXWIXdecZbbcqvDz.gh) (115.6 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/6/5/c6550456741ff858d1e960ea6421535e83b9118e.jpeg)

[BRACKETS.gh](https://discourse.mcneel.com/uploads/short-url/fugJ9uHBLFWrRICr1EbpLweUAWd.gh) (119.8 KB)

---

<div class="post-metadata">

**Author:** ![mtdelucia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mtdelucia/32/553550_2.png) [@mtdelucia](https://discourse.mcneel.com/u/mtdelucia)\
**Post date:** [October 6, 2021, 5:19pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/6 "2021-10-06T17:19:44Z")

</div>

oh wow that works. . i cant thank you enough. i was tearing my hair out.

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [October 6, 2021, 5:33pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/7 "2021-10-06T17:33:22Z")

</div>

Thanks, glad I was able to help you. Please hit the Solution button … so the topic is solved

---

<div class="post-metadata">

**Author:** ![mtdelucia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mtdelucia/32/553550_2.png) [@mtdelucia](https://discourse.mcneel.com/u/mtdelucia)\
**Post date:** [October 6, 2021, 5:59pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/8 "2021-10-06T17:59:02Z")

</div>

ok got it. thanks again!

---

<div class="post-metadata">

**Author:** ![martynjhogg](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martynjhogg/32/513395_2.png) [@martynjhogg](https://discourse.mcneel.com/u/martynjhogg)\
**Post date:** [October 6, 2021, 8:22pm UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/9 "2021-10-06T20:22:49Z")

</div>

Also, there are some plugins for creating dogbones so you can do this on your 2D curves…

[Dog Bone Generator](https://www.food4rhino.com/en/resource/dog-treat)

---

<div class="post-metadata">

**Author:** ![mtdelucia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mtdelucia/32/553550_2.png) [@mtdelucia](https://discourse.mcneel.com/u/mtdelucia)\
**Post date:** [October 7, 2021, 3:15am UTC](https://discourse.mcneel.com/t/solid-difference-not-working/131278/10 "2021-10-07T03:15:40Z")

</div>

awesome thanks! I’ll definitely look into that.
