Skip to content

feat: "Angle" converter for real -> angle conversions - #3560

Merged
morevnaproject merged 1 commit into
synfig:masterfrom
Stargazer10101:development10
May 15, 2025
Merged

morevnaproject merged 1 commit into
synfig:masterfrom
Stargazer10101:development10

Conversation

@Stargazer10101

@Stargazer10101 Stargazer10101 commented Apr 15, 2025 •

Copy link
Copy Markdown
Contributor

A new converter "Angle" that can be connected to "real" value types. Adds a sub parameter "Angle" of type "angle", so that the calculations mentioned here : #3528 (comment) can be achieved.
Fix #3528

@github-actions

Copy link
Copy Markdown

Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!

✨ New Features

  • "Angle" converter for real -> angle conversions

    A new converter "Angle" that can be connected to "real" value types. Adds a sub parameter "Angle" of type "angle", so that the calculations mentioned here : Converter real to angle #3528 (comment) can be achieved.
    Fixes #3528

@Stargazer10101
Stargazer10101 marked this pull request as ready for review April 15, 2025 10:23
@zaynopenapp

Copy link
Copy Markdown

I want to try Synfig on Artifact. Besides the Windows version, is there a Linux/AppImage version available?

@github-actions

Copy link
Copy Markdown

Thank you for attempting to improve your contribution description!
Below is how your updated contribution will appear in Synfig's release notes. Review it and make further improvements until you're satisfied!

✨ New Features

  • "Angle" converter for real -> angle conversions

    A new converter "Angle" that can be connected to "real" value types. Adds a sub parameter "Angle" of type "angle", so that the calculations mentioned here : Converter real to angle #3528 (comment) can be achieved.
    Fix #3528

@morevnaproject

Copy link
Copy Markdown
Member

I have tested. It looks good to me.

@rodolforg

Copy link
Copy Markdown
Contributor

I can't see why it is useful yet. :'(

@rodolforg rodolforg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now understand it is useful for stuff like arc length computation. So I'm okay about merging this PR.

@morevnaproject

morevnaproject commented May 15, 2025 •

Copy link
Copy Markdown
Member

Quick example how this converter will be useful:

image
I need to rotate this wheel and make the red deck to move according to rotation.

angle-to-real-example.sifz.zip

@zaynopenapp

zaynopenapp commented May 19, 2025 •

Copy link
Copy Markdown

I want to create a sample angle converter. After I saved the file and opened it again, the following error appeared.

calculation:
engleconverter_synfig

error
converter_angle_error

file:
file_smartIK_angleconverter_error.sif.zip

trying on synfig in my build and https://forums.synfig.org/t/trying-synfig-1-5-4-linux64-appimage/16402/4?u=zainal

@morevnaproject

Copy link
Copy Markdown
Member

Fixed by #3589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Converter real to angle

4 participants