{"id":20114917,"url":"https://github.com/solunarnexus/cnc-code-utility","last_synced_at":"2026-06-08T12:03:14.529Z","repository":{"id":155298267,"uuid":"418648000","full_name":"SolunarNexus/CNC-code-utility","owner":"SolunarNexus","description":"Simple command line tool for solving the assigned problem: sorting blocks of code and searching for maximum and minimum value inside input textfile. ","archived":false,"fork":false,"pushed_at":"2023-09-13T08:49:39.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T19:17:54.240Z","etag":null,"topics":["assignment-solutions","command-line-tool","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SolunarNexus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-18T19:53:16.000Z","updated_at":"2023-09-13T08:52:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"078ca154-8aa4-4ca3-8fcf-b837c34a54b5","html_url":"https://github.com/SolunarNexus/CNC-code-utility","commit_stats":null,"previous_names":["solunarnexus/cnc-code-utility"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SolunarNexus/CNC-code-utility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolunarNexus%2FCNC-code-utility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolunarNexus%2FCNC-code-utility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolunarNexus%2FCNC-code-utility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolunarNexus%2FCNC-code-utility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolunarNexus","download_url":"https://codeload.github.com/SolunarNexus/CNC-code-utility/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolunarNexus%2FCNC-code-utility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34061123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assignment-solutions","command-line-tool","python"],"created_at":"2024-11-13T18:33:03.730Z","updated_at":"2026-06-08T12:03:14.512Z","avatar_url":"https://github.com/SolunarNexus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNC utility tool\nThis is a resulting command line tool to solve the following assignments. \nThe tool accepts one argument, `-fun1` or `-fun2`, and one input file that is a CNC program code.\n\nExample of use:\n\n    \u003epy script -fun1 D327971_fc1.i\n\nThe main objectives were:\n - ### Objective 1.\n   For each coordinate, add a constant (10) to every Y where X is greater than 50\n - ### Objective 2.\n   Each code block begins with the CNC machine definition *(e.g., T01, T02,...)*, and ends on line just before\n   the following machine definition. Code blocks are mixed, and the objective is to sort them by machine\n   definition number in ascending order.\n - ### Objective 3.\n   Find and print maximum and minimum values for the X and Y axes in the `x_min/x_max/y_min/y_max` format.\n \n## Command line arguments:\n - **-fun1** takes the input file, performs objectives 1 and 2, and writes modified file content into a new file, `cnc.txt`.\n - **-fun2** takes the input file, performs objective 3, and writes the result to the standard output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolunarnexus%2Fcnc-code-utility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolunarnexus%2Fcnc-code-utility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolunarnexus%2Fcnc-code-utility/lists"}