Title: Geometry has one or fewer segments error · Issue #16 · tmolteno/python-necpp · GitHub
Open Graph Title: Geometry has one or fewer segments error · Issue #16 · tmolteno/python-necpp
X Title: Geometry has one or fewer segments error · Issue #16 · tmolteno/python-necpp
Description: RuntimeError: GEOMETRY HAS ONE OR FEWER SEGMENTS. Please send bug report. This causes an error that we're trying to fix. The error log requested a bug report, thought I'd submit this. Not sure how useful this is if you knew about the bug...
Open Graph Description: RuntimeError: GEOMETRY HAS ONE OR FEWER SEGMENTS. Please send bug report. This causes an error that we're trying to fix. The error log requested a bug report, thought I'd submit this. Not sure how ...
X Description: RuntimeError: GEOMETRY HAS ONE OR FEWER SEGMENTS. Please send bug report. This causes an error that we're trying to fix. The error log requested a bug report, thought I'd submit this. Not s...
Opengraph URL: https://github.com/tmolteno/python-necpp/issues/16
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Geometry has one or fewer segments error","articleBody":"`RuntimeError: GEOMETRY HAS ONE OR FEWER SEGMENTS. Please send bug report. This causes an error that we're trying to fix.`\r\n\r\nThe error log requested a bug report, thought I'd submit this. \r\n\r\nNot sure how useful this is if you knew about the bug already but this is a reproducible example (I'm running this on python 3.7.4 on windows, haven't tested on linux):\r\n\r\n```python\r\nimport PyNEC as nec\r\n\r\ncontext = nec.nec_context()\r\ngeo = context.get_geometry()\r\n\r\nparent = [0, 0, 0]\r\nchild = [-0.001, 0, 0.001]\r\n\r\ngeo.wire(\r\n tag_id=0,\r\n segment_count=1,\r\n xw1=parent[0],\r\n yw1=parent[1],\r\n zw1=parent[2],\r\n xw2=child[0],\r\n yw2=child[1],\r\n zw2=child[2],\r\n rad=0.001,\r\n rdel=1.0,\r\n rrad=1.0\r\n)\r\n\r\ncontext.geometry_complete(0)\r\n``` \r\n\r\nThe bug itself isn't a huge issue for me, but am happy to help if needed. Let me know if you need any more information.","author":{"url":"https://github.com/LiamLombard","@type":"Person","name":"LiamLombard"},"datePublished":"2020-03-30T13:16:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/16/python-necpp/issues/16"}
| 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:495e847a-b72c-25d6-9954-131123feac08 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EC8:3CDBE0:E2833C:140250C:696FBE79 |
| html-safe-nonce | 75943c489fa703dc9051b2eb11f3fec200033cd0fb5207c3d551d138624547a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUM4OjNDREJFMDpFMjgzM0M6MTQwMjUwQzo2OTZGQkU3OSIsInZpc2l0b3JfaWQiOiI0Njc1MTA1NzYzNzI3NjAxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1363f71b65701cf3ca9fcdbe568f17b8a1a38187c5d114e79eb478e3a8c18edb |
| hovercard-subject-tag | issue:590282013 |
| 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/tmolteno/python-necpp/16/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08ef8b58f8bef8fbec9b971c2dc97e18e3e4dd57b425fde2748b304754478601/tmolteno/python-necpp/issues/16 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08ef8b58f8bef8fbec9b971c2dc97e18e3e4dd57b425fde2748b304754478601/tmolteno/python-necpp/issues/16 |
| og:image:alt | RuntimeError: GEOMETRY HAS ONE OR FEWER SEGMENTS. Please send bug report. This causes an error that we're trying to fix. The error log requested a bug report, thought I'd submit this. Not sure how ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LiamLombard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 40ce4030a7db32193be29054756ed7f7eceec3a82973f060300035bdff8cf777 |
| turbo-cache-control | no-preview |
| go-import | github.com/tmolteno/python-necpp git https://github.com/tmolteno/python-necpp.git |
| octolytics-dimension-user_id | 85630 |
| octolytics-dimension-user_login | tmolteno |
| octolytics-dimension-repository_id | 33094484 |
| octolytics-dimension-repository_nwo | tmolteno/python-necpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33094484 |
| octolytics-dimension-repository_network_root_nwo | tmolteno/python-necpp |
| 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 | 1cdcabe0d7ddc4be91a713d57280849e4c89f5cd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width