LDCad Step rotation on Z issue


Step rotation on Z issue
#1
Hi,

I am trying to create a phone app, and my goal is to show each step of my design (with LDCad) on the phone app the same way as shown in LDCad. I met a problem when implementing the behavior when a step rotating on Z.

Below is a step having no rotation:
[Image: 800x538.png]

But when I just rotate it around Z for 30 degrees, it is rendered like this:
[Image: 800x538.png]

From what I see, it is more like rotating on Y and X for some reason. But if I open the same step in LPub3D, the render is expected as below:

[Image: 800x416.png]

Could anyone help me to understand what is the logic behind this in LDCad? Or can it just be a bug?

Thanks!
Reply
RE: Step rotation on Z issue
#2
I don't think you are rotating just 30 degrees:

.png   rotstep.png (Size: 85.22 KB / Downloads: 74)

If you did a 30 deg z rotation, it would be:
Code:
0 ROTSTEP 0 0 30 ABS
Reply
RE: Step rotation on Z issue
#3
(2025-07-26, 20:14)Roland Melkert Wrote: I don't think you are rotating just 30 degrees:


If you did a 30 deg z rotation, it would be:
Code:
0 ROTSTEP 0 0 30 ABS

Thanks for replying! I am talking about the very first step which is exactly same as you mentioned. The line you pointed it out is not related to this issue. To avoid confusion, I delete all following steps after step 2, so no more other rotations now.

[Image: 800x547.png]
Reply
RE: Step rotation on Z issue
#4
(2025-07-27, 4:27)mihao Wrote: Thanks for replying! I am talking about the very first step which is exactly same as you mentioned. The line you pointed it out is not related to this issue. To avoid confusion, I delete all following steps after step 2, so no more other rotations now.
This works for me, are you sure ARS (top right of compass) is enabled?

It shows NSR if disabled.
Reply
RE: Step rotation on Z issue
#5
(2025-07-27, 6:11)Roland Melkert Wrote: This works for me, are you sure ARS (top right of compass) is enabled?

It shows NSR if disabled.

I do have ASR enabled as below, and I am using version 1.6d which I think is the latest. If it works for you, that must be some configuration somewhere causing this issue.

[Image: 800x439.png]
Reply
RE: Step rotation on Z issue
#6
(2025-07-27, 16:38)mihao Wrote: I do have ASR enabled as below, and I am using version 1.6d which I think is the latest. If it works for you, that must be some configuration somewhere causing this issue.

1.7 Beta 1 is the latest on my site, but I just tested in 1.6d where it also worked for me.

The ASR/NSR option is the only thing controlling this feature.

Only known bug (already fixed in my Beta 2 code) relating to step rotations is only an issue while opening a file.

In such case a case it will not apply the rotation, instead you need to manually trigger it by navigating to another step.

It is a long shot, but could you share the model in question?
Reply
RE: Step rotation on Z issue
#7
(2025-07-27, 18:31)Roland Melkert Wrote: 1.7 Beta 1 is the latest on my site, but I just tested in 1.6d where it also worked for me.

The ASR/NSR option is the only thing controlling this feature.

Only known bug (already fixed in my Beta 2 code) relating to step rotations is only an issue while opening a file.

In such case a case it will not apply the rotation, instead you need to manually trigger it by navigating to another step.

It is a long shot, but could you share the model in question?

I just noticed you are using the "Spin rotation mode" which limits the rotational freedom. Changing the ASR/NSR option should have warned you about that.
Reply
RE: Step rotation on Z issue
#8
(2025-07-27, 18:35)Roland Melkert Wrote: I just noticed you are using the "Spin rotation mode" which limits the rotational freedom. Changing the ASR/NSR option should have warned you about that.

I just updated my LdCad to 1.7, and it is working fine now. I may have used some setting wrongly in 1.6 which causes that issue. Thanks!
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)