Title: "Drawing out of range" - floating-point issues · Issue #18 · arpruss/gcodeplot · GitHub
Open Graph Title: "Drawing out of range" - floating-point issues · Issue #18 · arpruss/gcodeplot
X Title: "Drawing out of range" - floating-point issues · Issue #18 · arpruss/gcodeplot
Description: $ python gcodeplot/gcodeplot.py --work-z=0.9 --lift-delta=0.6 --safe-delta-z=3 --z-speed=45 --pens=pens.txt mandala.svg Optimizing...[0%][5%][10%][15%][20%][25%][30%][35%][40%][45%][50%][55%][60%][65%][70%][75%][80%][85%][90%][95%] Trans...
Open Graph Description: $ python gcodeplot/gcodeplot.py --work-z=0.9 --lift-delta=0.6 --safe-delta-z=3 --z-speed=45 --pens=pens.txt mandala.svg Optimizing...[0%][5%][10%][15%][20%][25%][30%][35%][40%][45%][50%][55%][60%][...
X Description: $ python gcodeplot/gcodeplot.py --work-z=0.9 --lift-delta=0.6 --safe-delta-z=3 --z-speed=45 --pens=pens.txt mandala.svg Optimizing...[0%][5%][10%][15%][20%][25%][30%][35%][40%][45%][50%][55%][60%][...
Opengraph URL: https://github.com/arpruss/gcodeplot/issues/18
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Drawing out of range\" - floating-point issues","articleBody":"```\r\n$ python gcodeplot/gcodeplot.py --work-z=0.9 --lift-delta=0.6 --safe-delta-z=3 --z-speed=45 --pens=pens.txt mandala.svg\r\nOptimizing...[0%][5%][10%][15%][20%][25%][30%][35%][40%][45%][50%][55%][60%][65%][70%][75%][80%][85%][90%][95%]\r\nTransport time improvement: 89.1% (took 1.64 seconds).\r\nDrawing out of range: [0.0, 5.291666695939057e-06] [176.38888447916665, 176.38888977083334]\r\nNo points.\r\n```\r\n\r\nFiles needed to reproduce the issue: [gcodeplot-fpbug.zip](https://github.com/arpruss/gcodeplot/files/3725947/gcodeplot-fpbug.zip)\r\n\r\nI commented out the \"Drawing out of range\" section to make the print work, and it turned out awesome. I think it would be better to add a tolerance here though (or just allow negative values, since they're not necessarily invalid).","author":{"url":"https://github.com/nylen","@type":"Person","name":"nylen"},"datePublished":"2019-10-14T18:47:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/18/gcodeplot/issues/18"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4262f145-a61d-3c52-3c6d-1afb99bee9c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1BE:28E5F:20F72E:2AA1D4:698E6437 |
| html-safe-nonce | 04cc69c51dc6b522f53b5f6620b05fadaf64d76774f140dabaa9d05d2fdd6a24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUJFOjI4RTVGOjIwRjcyRToyQUExRDQ6Njk4RTY0MzciLCJ2aXNpdG9yX2lkIjoiNDIyNDg4MTc0NjU1NjkwNDUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8a3b5fa44a14f62400a5b435adc7b12a7b143b1ce673c2cc8bc3ba56ba0ff62 |
| hovercard-subject-tag | issue:506816378 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arpruss/gcodeplot/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/324e998284b43c074b0df3a1392df7412f3d15a79a16a85420d9b4db1000236e/arpruss/gcodeplot/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/324e998284b43c074b0df3a1392df7412f3d15a79a16a85420d9b4db1000236e/arpruss/gcodeplot/issues/18 |
| og:image:alt | $ python gcodeplot/gcodeplot.py --work-z=0.9 --lift-delta=0.6 --safe-delta-z=3 --z-speed=45 --pens=pens.txt mandala.svg Optimizing...[0%][5%][10%][15%][20%][25%][30%][35%][40%][45%][50%][55%][60%][... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nylen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| turbo-cache-control | no-preview |
| go-import | github.com/arpruss/gcodeplot git https://github.com/arpruss/gcodeplot.git |
| octolytics-dimension-user_id | 852659 |
| octolytics-dimension-user_login | arpruss |
| octolytics-dimension-repository_id | 73337555 |
| octolytics-dimension-repository_nwo | arpruss/gcodeplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 73337555 |
| octolytics-dimension-repository_network_root_nwo | arpruss/gcodeplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c5daa44975c44e187dd9ea0d761c37973489d508 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width