Curve endpoints seem random

I have been trying to make G-code in Grasshopper, but I have a problem where the endpoints are scattered on some layers then in line on the others, how could I align the endpoints so that my seams are aligned?
Thanks,
Preview of existing endpoints, and blue line is the example of what I want to do.

GH file:
Ico Bowl.gh (37.1 KB)

Does your seam need to correspond to any of the vertices or control points of your polylines?
Ico Bowl.gh (31.9 KB)


I just want them to line up, so that the printhead doesn’t have to travel across the object, but can just step up cleanly

1 Like

missing
:rofl:

This white group might work. One curve looks anomalous at index 47.


Ico Bowl_2024_Aug5a.gh (31.5 KB)

btw it ‘seams’ (lol, sorry :rofl:) some polylines needed to be joined

1 Like

Perfect, also Droid is kinda bad and keeps feezing my grasshopper, do you have a gcode plugin that you would reccomend?

This can go multiple ways as you can see.

I like ‘following the shape’, so I aligned seams based on existing points - however as Joseph shows you can change the seam with a common plane if adding vertices doesn’t matter.

Cheers!

1 Like

Paging @Birk_Binnard

Well…I did see this when it was first posted, but I didn’t follow up on it because I use slicer programs (Primarily PrusaSlicer) to slice my STL files for 3D printing. Because of this the issue of seams is not relevant for me.

But - it seems (pun intended) to me that if a standard method is used to make all the vertical layer loops then the seams of these curves should all line up. I have made many 3D prints based on Loft surfaces built from vertically stacked control curves of various shapes. And for many of these I’ve used the attached method to generate star-like shapes. These stars can be made with polylines (for sharp points & corners) or Nurbs or Interpolated curves for more curvy shapes.

Starmaker makes both the star shape and a circle for the inside surface which is how I provide thickness for the print. For something like a clay printer this is not needed.

Starmaker.gh (9.4 KB)

The question I was referring to was this one:

That wasn’t clear to me, but as I noted I only use an external program to create Gcode.

All good, thanks

I have another question, all the seam are lined up as intended, and thanks for the help, but now the last line in my gcode is in the middle of the object. I dont really know what would cause this. I can troubleshoot this but rearranging the list but I want to ask first.

You can see the green line which is the last in the list below.

Joining the curves did this most likely.

Re-order by Z position:
Ico Bowl.gh (57.0 KB)


absolute god thanks so much :pray: