• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Analog Hands Not Displaying (Again)

Archive closed topics

Moderators: Internal error, Watchmens

Locked
User avatar
stupdude2
WF maker
Posts: 15
Joined: 01 Oct 2018, 14:58
Location: Oneonta, AL
Contact:

Analog Hands Not Displaying (Again)

Post by stupdude2 »

I designed a new watchface that works in the Watchface Editor but the hands don't display when it's loaded on my Bip. I made sure that the hands don't use more than 12 points (which was my problem last time). I've pasted the code below. Any help would be appreciated.

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Date": {
        "MonthAndDay": {
            "TwoDigitsMonth": true,
            "TwoDigitsDay": false,
            "Separate": {
                "Day": {
                    "TopLeftX": 130,
                    "TopLeftY": 82,
                    "BottomRightX": 145,
                    "BottomRightY": 91,
                    "Alignment": "TopRight",
                    "Spacing": 2,
                    "ImageIndex": 130,
                    "ImagesCount": 10
                }
            }
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 36,
            "TopLeftY": 118,
            "BottomRightX": 78,
            "BottomRightY": 127,
            "Alignment": "TopRight",
            "Spacing": 2,
            "ImageIndex": 30,
            "ImagesCount": 10
        },
        "Distance": {
            "Number": {
                "TopLeftX": 87,
                "TopLeftY": 118,
                "BottomRightX": 145,
                "BottomRightY": 127,
                "Alignment": "TopLeft",
                "Spacing": 2,
                "ImageIndex": 30,
                "ImagesCount": 10
            },
            "SuffixImageIndex": 103,
            "DecimalPointImageIndex": 102
        }
    },
    "AnalogDialFace": {
        "Hours": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": -2,
                    "Y": 6
                },
                {
                    "X": -12,
                    "Y": 0
                },
                {
                    "X": -2,
                    "Y": -6
                },
                {
                    "X": 38,
                    "Y": -2
                },
                {
                    "X": 36,
                    "Y": -12
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 36,
                    "Y": 12
                },
                {
                    "X": 38,
                    "Y": 2
                }
            ]
        },
        "Minutes": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": 65,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": 6
                },
                {
                    "X": -14,
                    "Y": 0
                },
                {
                    "X": -3,
                    "Y": -6
                },
                {
                    "X": 65,
                    "Y": -2
                },
                {
                    "X": 64,
                    "Y": -6
                },
                {
                    "X": 80,
                    "Y": 0
                },
                {
                    "X": 64,
                    "Y": 6
                }
            ]
        },
        "Seconds": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 46,
                    "Y": 4
                },
                {
                    "X": 42,
                    "Y": 1
                },
                {
                    "X": 0,
                    "Y": 1
                },
                {
                    "X": -13,
                    "Y": 3
                },
                {
                    "X": -28,
                    "Y": 0
                },
                {
                    "X": -13,
                    "Y": -3
                },
                {
                    "X": 0,
                    "Y": -1
                },
                {
                    "X": 42,
                    "Y": -1
                },
                {
                    "X": 46,
                    "Y": -4
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 80,
                    "Y": 0
                }
            ],
            "CenterImage": {
                "X": 78,
                "Y": 79,
                "ImageIndex": 46
            }
        }
    }
}
Update1: Experimenting with it today, I've determined that the second hand is causing the problem but I don't know how.

Update 2: I fixed it. The second hand only supports 5 points.

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Date": {
        "MonthAndDay": {
            "TwoDigitsMonth": true,
            "TwoDigitsDay": false,
            "Separate": {
                "Day": {
                    "TopLeftX": 130,
                    "TopLeftY": 82,
                    "BottomRightX": 145,
                    "BottomRightY": 91,
                    "Alignment": "TopRight",
                    "Spacing": 2,
                    "ImageIndex": 130,
                    "ImagesCount": 10
                }
            }
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 36,
            "TopLeftY": 118,
            "BottomRightX": 78,
            "BottomRightY": 127,
            "Alignment": "TopRight",
            "Spacing": 2,
            "ImageIndex": 30,
            "ImagesCount": 10
        },
        "Distance": {
            "Number": {
                "TopLeftX": 87,
                "TopLeftY": 118,
                "BottomRightX": 145,
                "BottomRightY": 127,
                "Alignment": "TopLeft",
                "Spacing": 2,
                "ImageIndex": 30,
                "ImagesCount": 10
            },
            "SuffixImageIndex": 103,
            "DecimalPointImageIndex": 102
        }
    },
    "AnalogDialFace": {
        "Hours": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": -2,
                    "Y": 6
                },
                {
                    "X": -12,
                    "Y": 0
                },
                {
                    "X": -2,
                    "Y": -6
                },
                {
                    "X": 38,
                    "Y": -2
                },
                {
                    "X": 36,
                    "Y": -12
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 36,
                    "Y": 12
                },
                {
                    "X": 38,
                    "Y": 2
                }
            ]
        },
        "Minutes": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": 65,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": 6
                },
                {
                    "X": -14,
                    "Y": 0
                },
                {
                    "X": -3,
                    "Y": -6
                },
                {
                    "X": 65,
                    "Y": -2
                },
                {
                    "X": 64,
                    "Y": -6
                },
                {
                    "X": 80,
                    "Y": 0
                },
                {
                    "X": 64,
                    "Y": 6
                }
            ]
        },
        "Seconds": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": -13,
                    "Y": 3
                },
                {
                    "X": -28,
                    "Y": 0
                },
                {
                    "X": -13,
                    "Y": -3
                },
                {
                    "X": 60,
                    "Y": -1
                },
                {
                    "X": 60,
                    "Y": 1
                }
            ],
            "CenterImage": {
                "X": 85,
                "Y": 85,
                "ImageIndex": 46
            }
        }
    }
}
Here is the final watchface: https://amazfitwatchfaces.com/bip/view/?id=15955
PetrZ

Post by PetrZ »

Hi I have similar problem but with all hands/pointers :
I tried to modify one WF to my language and it works. But then I tried to add also seconds pointer. Everything works when I check it in settning. When I try to look at Real-size preview, all pointers are gone. Why? Everythig seems to be ok in json file.
I also tried to open existing WF downloaded here ond open it in WF editor. It behaves the same (bad) way. No pointer is in Real-size preview.
Do you know where could be a problem?
Thank you
Petr
Attachments
WF_problem.png
WF_problem.png (132.73 KiB) Viewed 1028 times
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

PetrZ wrote: 16 Mar 2019, 11:48
Hi I have similar problem but with all hands/pointers :
I tried to modify one WF to my language and it works. But then I tried to add also seconds pointer. Everything works when I check it in settning. When I try to look at Real-size preview, all pointers are gone. Why? Everythig seems to be ok in json file.
I also tried to open existing WF downloaded here ond open it in WF editor. It behaves the same (bad) way. No pointer is in Real-size preview.
Do you know where could be a problem?
Thank you
Petr

Real-size preview IS NOT Real-size pre【view 】

Real-size preview is ONLY [Real-size]
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 1 guest