Find more posts tagged with
hi nyuyen , i mean midline of a solid cylinder with some diameter (lets say 100mm). Pls Imagine there are some, 50 cylinders of such kind or say wires ( unattached to each other) and i want to extract midline for all of them at once using a tcl..... unfortunately i dont have the model so couldnt attach.. i am however attaching an image for ur understanding
thanks in advance
Ok I got it, thank you so much Q.Nguyen-Dai and tinh.
But know I have another question, because I have a big structure I do not want to do all the process by hand ( that would be very time consuming)
Is there a TCL scripting code to that automatically? I mean just selection all teh tubular structure at once and give me all the midlines?
Thank you for your kind support.
I tried writing TCL code for this by sequentially selecting outer parallel lines and finding midlines and joining all of them. But I need more robust code
That's problem if the 2 lines are not slice the sequence in 2 equal parts.
To specify mid line, i suggest you to extract parametric uv lines of each outer surface. In simple case you will get u or v as arcs, find arc centers and connect them you will get mid lines
'Midline' or 'midsurface'?
A sample of HM model?