pecific character it encounters in the file a specific curve would be created (a line with a particular length/orientation associated with that specific character) whose starting point is on the end of the last previous line. here is simple action list:
read first character in txt file
identify character (number 20 in attached example)
insert line associated with character (1" horizontal line)
read next character in txt file.
identify character (number 8 in attached example)
start curve (specific curve associated with the number 8 (1.25" vertical line)) on the end of the previous line.
read next character in txt file.
identify character (number 5 in attached example)
start curve (specific curve associated with the number 5 (.25" horizontal line)) on the end of the previous line.
etc
loop repeats till end of txt file.
i am good with everything else (linking the file, building curves on the ends of things, creating line parameter w/ persistent data, etc) but I'm having a problem with the "if/then" nature of the project. I haven't found a component that has this sophistication yet... I've tried the equals component that compare lists and identify true/false scenarios and the f(x) along with dispatch to create a curve if a single situation occurs (like if x>3, then make a circle) but what about the next character?
I am wondering if I should do this in C+ (which I also don't know) but would rather create this in grasshopper.
See attached for example grasshopper file and txt file.
I would really appreciate any help you can offer - Thanks!!!
// jon…
Added by jon kuzmich at 11:14pm on September 14, 2013
losest point distance and the end of the line has the same co-ordinates as the original point. I moved the point around and the co-ordinates remained the same.
Maybe my logic is wrong though.…
tead of on the new edge of the new curve.
A fast way to fix this is to move the start point of the base curve to the middle of one of the line segments. To do this run the _crvseam command and drag the start point to the middle of a segment.…
line 15
and...
Error 2 Overload resolution failed because no accessible 'GetData' can be called with these arguments: .... line 25
The errors are paraphrased. Does anybody have any idea?
Thank You,
Will…
two elements. These two lines have the new point in common and thus integrate the point into the model. Karamba discards points that are not connected to elements.
Best, Clemens…
ch cause the problem when you sent them as arguments to CurveCurveIntersection.... Make sure that OffsetCurveOnSurface returns a Guid not None.
Mostapha…