The GH Pencil... Hmmm not so obvious

So I have an idea for my cnc which requires a pencil… I want to make a 3D printed/milled pencil holder to see if my cut outline distances will be on the mark… Before going down in z…

So i wanted to model a “stupid” pencil…

Here it is ladies and gentlemen… The GH pencil

As stupid as it gets

I just couldn’t figure out yet how to remove the graphite point from the loft where the point of the pencil is shaved… Also the shaving shape is not right at the wood end like it is at the graphite end…

Added top of the pencil ball like a staedtler pencil…

The writing is on the wall next…

Pencil.gh (25.6 KB)

I see where and how I went wrong, feel free to modify this generative pencil as an excercise, I wonder what you can come up with!

I haven’t studied your code, but this works:
pencil.gh (19.6 KB)

If you want to separate the core, it’s another boolean operation.

1 Like