What do you want to achieve?
I’m probably not getting the idea right but I want to align some clock hands (hour, minute and second) so that they rotate around the screen origin (0,0) in order to replicate the movement of hands in a clock. You might recognise the clock design as a Swiss railway clock, so its guaranteed to be on time
The minute hand should be aligned nearly correctly, the hour hand is slight off and the second hand seems to be hiding. Those bits can all be sorted, a second rotation of the second hand and proportional is what I’m after.
You’ll notice that the pivot point of the hands aren’t at the end of the hand but slightly inboard.
What have you tried so far?
adjusted settings on pivot point although I think I might be missing the point.
Screenshot or video
here’s a start point
and a rotation of 900 at pivot x=0, y=0 for the hour hand
as I say I think I’m missing something about the parameters. So could do with a quick steer on making the hours rotate about the screen origin. If it helps the inspector is as follows:
Note: new user so only one graphic can be added…image of output to follow
Transform
x= -41px y= -38px
width 163 height 128
Rotation
pivot x = 0, y=0
rotation = 900
Others
-
SquareLine Studio version:
1.3.2 -
Operating system:
Ubuntu 22.10 -
Target hardware:
Lilygo T-RGB 400x400px that will go into an old aircraft instrument. Software will use a NTP clock so if there are any similar projects I’d be interested in learning off them.