Trim/Brep truncated cone


I need to trim / remove the points/curves outside the limits of the cone but in green lines (offset of external curves)

This is my code: (26.6 KB)

It’s necessary to create a “truncated cone” in Rhyno and select as geometry:


Thanks for your help.

I have another topic but it’s very offtopic with topic title.

offset the cone with the same distance of the circles and use it to trim the curves

Hi @seghierkhaled this is what I do, please check my code


your code is without the geometry ; you need internalise it


I don’t know how to do this… but you can draw a simple truncated cone (50x30x30)

and after that select as geometry in grasshopper

right click on the geometry and internalise data at the bottom of the menu (32.9 KB)

Thanks, tray now :slight_smile:

Another example found in this forum and edited:

cull (13.5 KB)

I can trim the base. I found the region on the top layer (green), but I can’t remove/trim

what i suggested is using trim with brep

Sorry, I don’t understand… can you try in my code ?

The curve in the left of the image is my offset circles (pink) ? The curve of “trim with brep” is the cone geometry ? (26.3 KB)

just replace it and create loft from the circles
i am not sure but i think you can make your definition more easier than that

I get an error…

try to remove cap component and add it again the cone is already closed brep

Nop… allways with this error… I don’t have ?

ok you use v5 and you have a problem with curves group that’s why you get a wrong result

1 Like

you have a problem from the beginning (29.3 KB)

may this help you (48.2 KB)



I will analyse your code to understant my problem :wink:


The trim is OK, but this is not the same thing…

please check this:

I neet to make a simulation of 3D printer extruder

Width of extruder is the offset of central line (sin) (to simulate the width of extruder) and in the next line I need the inverse of the line (like a mirror)

So, you can check in the image the mirror of lines and the simulation of width (offeset left and right to de central line)

I’m trying to understand how to make this in your code.

You can mirror the curve or move some lines in -× direction