How to Frame out of only lines

grasshopper

(YGH) #1

here is a question, how can I construct this frame by only lines? or decompose this frame into lines with no same one

because I need to know each element’s start and end points with end points component.

this is conditions that all lines must be connect to right next, can’t jump over any points.


if anyone have solution, please teach me!!!
It is brazen, but I’m really in a hurry…


#2

i imagine there’s a better way to do this but here’s an attempt:

cubert.gh (14.9 KB)



i’m not sure if the following condition has been met:

•• “this is conditions that all lines must be connect to right next, can’t jump over any points”.

if not, can you explain it again?


#3

First things first: Read this first! How to get help…

Depending on what you are trying downstream, Jeff’s solution is perhaps a better way to go, but GH has some interesting components here. The last one is [Duplicate Lines] from Kangaroo:


Boxes_re.gh (6.0 KB)


(YGH) #4

Sorry for late I’ve solved this problem thank you!!
like what I wanted to do was like this, frame structure is construct out of only lines.GridMatrix.gh (8.1 KB)