Jump to content
Benson Shaw

Rotate Line node inverts direction

Recommended Posts

Rotate Line rotates in wrong direction.

Usual convention is anti clockwise rotation for positive angles.

Sample network uses only nodes from v2020 default library.

 

Pilot error?

Node bug?

 

 

Thanks

-B

 

 

 

image.thumb.png.f0a6a3297adaefb218cb99f6944a4f20.png

 

Rotate Line Test v2020.vwx

Edited by Benson Shaw
version to file name

Share this post


Link to post

@Benson Shaw, Hi.

Try editing Rotate Line node. There's "-" in a front of "rot" in vs.HRotate definition indicating clockwise rotation.

Change:

    #script
    vs.HRotate(line, p, -rot)

For:

    #script
    vs.HRotate(line, p, rot)

In 2019 works.

  • Like 1

Share this post


Link to post

@GRZEGORZ Thanks for looking into this!!!!!  And posting a solution!!!

 

@all, esp vwx folks

This node appears to be Working as Designed (WOD), but I think rotation should default to counter clockwise.

What is logic behind the choice of clockwise rather than counter clockwise rotation?

 

I can customize the script, but will need to change every existing instance of the node. and keep a customized one in library.

I filed a bug and a wish for choice of direction in the standard Rotate Line node.

 

OK, any further comment appreciated.

-B

Edited by Benson Shaw
bug & wish filed

Share this post


Link to post

@Benson Shaw

I've also got a bug in for this, and at this time is is WAD.
I'll try to get it updated for our next version, but we can't change the functionality of nodes in service packs because it can break existing networks.

 

Thanks for sharing your findings, all!

  • Like 1

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...