I was working on a mesh pipe component in Rhino 6 and came across this. When defining a MeshPipeCapStyle, is seems to be applying it at every segment? (Image below is apply dome style)
import Rhino import ghpythonlib.components as gc # Curve division parmeters t = Rhino.Geometry.Curve.DivideByCount(C, i, True) # Create intervals Cdoms = gc.ConsecutiveDomains(t, False) # End Cap Style Style = Rhino.Geometry.MeshPipeCapStyle() E = Style.Dome #Create MeshPipe...Interior caps? MeshPipe = Rhino.Geometry.Mesh.CreateFromCurvePipe(C, R, S, A, E, F, Cdoms) a = MeshPipe
Not quite sure what I’m doing wrong…
Any guidance would be greatly appreciated.
MeshPipePy_CapStyle.gh (7.5 KB)
Rhino Version 6 SR8