LDCad Aligning parts using rotation scripts


RE: Aligning parts using rotation scripts
#32
(2025-03-10, 8:28)Roland Melkert Wrote: on line 12?

This  is the result of changes made in 1.7: "addNewLine no longer returns the new line's index as a second value."

You can prevent the error by splitting the line into
Code:
local line=sf:addNewLine(lnr,str)
sel:add(line)

Gottcha yes the error was on line 12. I'll try to test it on 1.6d2 my main machine.

On the other hand regarding to aligning piece. for those pieces with three dimension rotation, is there a easier way to do that?
For now I pre-adjust the position lengthwide before making twisting work on pieces. 

some angle like this.
Here's an example I fount in the forum.
Quote:https://bricksafe.com/files/djm/djm_publ...t_8829.png
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Aligning parts using rotation scripts - by Yx Wang - 2025-03-10, 8:44

Forum Jump:


Users browsing this thread: 2 Guest(s)