Join surfaces

Hi,

I’d like to run the isotim command but before this I want to join these 2 surfaces but I cant figure out how to do this.


join surfaces.gh (8.1 KB)

I’ve used ‘join brep’ but when i deconstruct brep I end up with the same 2surfaces.

Is there another way?

I have also noticed that ‘shrink’ doesnt seem to work as the surfaces remain ‘trimmed’

Does anyone know why?

Many thanks,

Stephan

Untrim the surfaces.

1 Like

I think it’s unclear? Untrimming produces two surfaces flushed with each other (duplicate?), then joining them produces a ‘closed brep’ lol - but because they want to use ‘isotrim’ I’m assuming there’s a need to make a new surface that looks like what’s on the picture but single and untrimmed? Or not?

What do you want @Quickly23 ?

image

join surfaces Edited v0.gh (46.8 KB)

Used wombat extend surface in the code


SrfSeam_RevA0.gh (13.6 KB)

Hi @René_Corella ,

Yes, Im after a new, single surface and untrimmed.

I’ve tried both @Quan_Li and @Rajeev2 scripts and they come close to what I’m after but after I use isotrim the shape of the surface has changed quite a bit.

I’ve attached an updated version of @Rajeev2 script where I have used the shrink component to convert the trimmed to a untrimmed surface which doesnt seem to work properly.


SrfSeam_RevA1.gh (19.2 KB)

Thanks,

Stephan

1 Like

Untrimmed but looking like what? Closed or open? My guess is that open, but untrimmed, lol.

Here’s something for now - takes ~4 seconds, though :cry:
join surfaces.gh (21.7 KB)


1 Like

This is what I meant to do, transform the points, not the surface, faster - ignore previous reply:
join surface 2.gh (22.2 KB)



I still think it’s best to check how you ended up with this strange object, merged into one open-but-closed surface made of two surfaces haha

Initially I thought a sweep2 would do the trick but it didn’t, even after aligning curves.

1 Like

And here’s a line-to-brep projection approach:
join surface 3.gh (18.2 KB)


*You can also extrude the lines (instead of projecting) and just intersect the extrusions with the original brep, it’ll take about the same amount of milliseconds to to get the intersections, then you loft, but you’ll have to tell loft options to align sections.

1 Like

the easiest way is to take the original curves used to generate that shape, and re-create the original surface taking care that the seam line falls here, in the portion that will be trimmed out

it happens to me every time because I work with spheres a lot, and I end up with polysurfaces instead of single surfaces

how did you generate the original shape?

2 Likes

Thank you @René_Corella for your scripts, that’s really helped.

Also, @inno +All, the main surface is generated from ellipses, then i have subtracted 2 other shapes.


join surface 4.gh (10.2 KB)

Thanks,

Stephan

1 Like

here are your generating curves and their end points:

the Seam of the surface will be aligned to the end points, so if you move those in a “good location” like here:

also the seam of the lofted surface moves with it:

and what you get at the end is a single trimmed surface

join surface 4_inno.gh (18.1 KB)

3 Likes

lol more confused than ever - didn’t @Quickly23 want to end up with a new untrimmed surface to apply isotrim to?

I asked a million years ago haha

but then the topic is ‘join surfaces’ so nothing can ever be known

@inno your way is much better have full control of it