I need help how geometry translate works, I want to move the line to an existing point, but it doesn’t fit
Hi @ikhsan.pc not sure do you mean something here maybe…
You need to work out where the start point of your line is.
Then you need to know the coordinates of where you want it to be.
Use the Geometry.Translate node to move the line.
Example:
line start point = ( 5, 10, 0)
where you want it to be = ( 10 , 0, 0)
Translation = ( 5, -10 , 0) <<< so you feed 5 into the xtranslation, -10 into the ytranslation and you can leave the ztranslation blank.
yeah should work as well ;)…its all about where from which location on the line you will move…i just take the closest point, but could be whatever…and i just use vector by 2 points and translate by direction i think thats more eaysy…when we know from where to where…yeah many ways and thats nice
Which is easier? I think it depends on the circumstance.
yeah probably…yeah thats what i think in that case here if i understand the users question correct…but again many ways…
thank you , I mean this
Yes, sir, but try with the meter unit, only 2 lines move, I tried with millimeters like your example, it worked 3 lines, but if you use a meter only 2 lines?
yeah havent tries in meters are you sure you crap 2 lines…think is about how your first codeblock is setup…[[xxxx],[xxxx]] but not sure