here is a code i want to create a polyline with in the limits with certain constrains
its claude generated code
can some one get me the fix for it
polyline fixing.gh (16.8 KB)
here is a code i want to create a polyline with in the limits with certain constrains
its claude generated code
can some one get me the fix for it
polyline fixing.gh (16.8 KB)
Can you give us the description of the problem that you gave to Claude? It can probably be solved without any code.
here i have an issue can this be sorted out check and tell me
i have a spline now i want to convert the spline to polyline
i want polline segment to be the maximum ( condition is the should be with the 2 limits upper and lower how can i code this concept
here is the screen shot
i want the code in c# that works in rhino 8
first tel me is it possible
and how the logic for it and then we can go for code
this is what i asked for later i added the mandatory points and tangential and node options to it
can you elaborate more on what you mean? it seems you just need to use Curve To Polyline and set MinEdge / MaxEdge, but maybe I’m not getting the question right
Meh.
Firstly, please use punctuation, capital letters and correct spelling. It is hindering my comprehension of the problem. Then:
? What does this even mean? Are you looking to create a polyline that passes through the local minima and maxima? It’s only really possible with degree 2 curves:
let me explain in detail
am trying to automate the task laying the steel structure between two layers (upper & lower)
steel is Rectangular hollow section RHS 200x100x5
when i place the steel it should not touch the top and bottom layers
the steel is fixed to column at particular locations so if the steel is flat over that places then it be easy for connections
well i need minimum number of steel profiles with max length to fit into the shape
this was my task trying to automate
hope my explanations are clear
i have attached code and screenshots for more clarity
polyline fixing 1.gh (28.8 KB)
Definately do-able. It’s just an investment of time to get the script done.
Polyline from fix points, offset, intersect with bounds to discover sections that exceed, split data into the parts that intersect and do not. On that basis, modify the intersecting segments by including an extra point between the fix points. Reconstitute, repeat check and modifications in a loop until no intersections occur… This won’t guarentee the minimum necessary pipe segments to accomplish the task, but it will yield a result.