Title: fail to create scad file directly from terminal · Issue #18 · SolidCode/SolidPython · GitHub
Open Graph Title: fail to create scad file directly from terminal · Issue #18 · SolidCode/SolidPython
X Title: fail to create scad file directly from terminal · Issue #18 · SolidCode/SolidPython
Description: Hi, I've tried to create a scad file directly with python in terminal from "scad_render_to_file()" function but failed because there is no source file to read. I suggest add this function to directly append code with python in terminal r...
Open Graph Description: Hi, I've tried to create a scad file directly with python in terminal from "scad_render_to_file()" function but failed because there is no source file to read. I suggest add this function to direct...
X Description: Hi, I've tried to create a scad file directly with python in terminal from "scad_render_to_file()" function but failed because there is no source file to read. I suggest add this func...
Opengraph URL: https://github.com/SolidCode/SolidPython/issues/18
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fail to create scad file directly from terminal","articleBody":"Hi,\nI've tried to create a scad file directly with python in terminal from \"scad_render_to_file()\" function but failed because there is no source file to read.\nI suggest add this function to directly append code with python in terminal running : \n\ndef scad_render_append_to_file( scad_object, file_header='', filepath=''):\n if filepath =='':\n filepath = os.path.abspath('.') + \"/solid.scad\"\n f = open( filepath,\"a\")\n f.write( scad_render(scad_object, file_header) )\n f.close()\n\nTested and it's working.\nThanks\n","author":{"url":"https://github.com/FiiBusterie","@type":"Person","name":"FiiBusterie"},"datePublished":"2013-12-28T18:44:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/18/SolidPython/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:9d2eb91b-3ca2-c8d8-d52c-dac83e99f379 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA0A:132E2F:404DF6:54F03C:696B3F2D |
| html-safe-nonce | 838652b5a269929450bb55c80105d0e040823b471fb75000472f488c69291df6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTBBOjEzMkUyRjo0MDRERjY6NTRGMDNDOjY5NkIzRjJEIiwidmlzaXRvcl9pZCI6IjM2NDg5MTQ0ODU5OTM0ODgxNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 97607790c02e647fc21852a963ba6d0ebb3f9a13c0ad4a59f30118f09324264e |
| hovercard-subject-tag | issue:24849727 |
| 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/SolidCode/SolidPython/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/990745ba3788152df57c887686373e950f9e9b8e5234875edd47bb9e77595cb3/SolidCode/SolidPython/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/990745ba3788152df57c887686373e950f9e9b8e5234875edd47bb9e77595cb3/SolidCode/SolidPython/issues/18 |
| og:image:alt | Hi, I've tried to create a scad file directly with python in terminal from "scad_render_to_file()" function but failed because there is no source file to read. I suggest add this function to direct... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FiiBusterie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/SolidCode/SolidPython git https://github.com/SolidCode/SolidPython.git |
| octolytics-dimension-user_id | 622839 |
| octolytics-dimension-user_login | SolidCode |
| octolytics-dimension-repository_id | 1377446 |
| octolytics-dimension-repository_nwo | SolidCode/SolidPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1377446 |
| octolytics-dimension-repository_network_root_nwo | SolidCode/SolidPython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width