Skip to content

Getting an error trying to make shapes #18

Open

Description

@RobertLeeMich

Finally decided to try and tackle using this tool today, but it's just straight throwing errors for everything. Here is the error, it's the same no matter what I attempt to do with it.

E: FloatDomainError: NaN hack/scripts/digshape.rb:335:in round'
hack/scripts/digshape.rb:335:in block in drawPolygon' hack/scripts/digshape.rb:334:in each'
hack/scripts/digshape.rb:334:in drawPolygon' hack/scripts/digshape.rb:527:in <top (required)>'
eval:2:in load' eval:2:in block in

'

Actually here's a star error:

E: FloatDomainError: NaN hack/scripts/digshape.rb:335:in round'
hack/scripts/digshape.rb:335:in block in drawPolygon' hack/scripts/digshape.rb:334:in each'
hack/scripts/digshape.rb:334:in drawPolygon' hack/scripts/digshape.rb:527:in <top (required)>'
eval:2:in load' eval:2:in block in

'
eval:2:in catch'

Activity

  1. ivantumanov commented on May 27, 2018

    @ivantumanov
    Contributor

    Confirmed that cursor remaining on origin might be what's causing this problem

  2. RobertLeeMich commented on May 28, 2018

    @RobertLeeMich
    Author

    Yes, this was the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions