{"id":13574446,"url":"https://github.com/inr-kit/McCAD-Library","last_synced_at":"2025-04-04T15:31:06.499Z","repository":{"id":97927136,"uuid":"504455418","full_name":"inr-kit/McCAD-Library","owner":"inr-kit","description":"a CAD to MC geometry conversion tool","archived":false,"fork":false,"pushed_at":"2024-04-04T14:30:18.000Z","size":50070,"stargazers_count":44,"open_issues_count":7,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T09:44:41.609Z","etag":null,"topics":["boostcpp","cmake","cpluplus","mcnp","opencascade"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inr-kit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-17T08:34:01.000Z","updated_at":"2024-10-21T10:02:39.000Z","dependencies_parsed_at":"2024-06-12T17:10:19.571Z","dependency_job_id":"bcc3e4cd-cd5a-417a-b28b-9852b0f22a3f","html_url":"https://github.com/inr-kit/McCAD-Library","commit_stats":{"total_commits":657,"total_committers":5,"mean_commits":131.4,"dds":"0.19939117199391176","last_synced_commit":"a249573db84d3eb9ef6fc91c42c60b44be2151b2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inr-kit%2FMcCAD-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inr-kit%2FMcCAD-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inr-kit%2FMcCAD-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inr-kit%2FMcCAD-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inr-kit","download_url":"https://codeload.github.com/inr-kit/McCAD-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247202656,"owners_count":20900825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["boostcpp","cmake","cpluplus","mcnp","opencascade"],"created_at":"2024-08-01T15:00:51.678Z","updated_at":"2025-04-04T15:31:01.492Z","avatar_url":"https://github.com/inr-kit.png","language":"C++","readme":"McCAD: a CAD to Monte Carlo conversion library\n----------------------------------------------\nMcCAD is a library for the conversion of CAD solid models into the input syntax of a variety of Monte Carlo codes; from Boundary Representation \"BREP\" to Constructive Solid Geometry \"CSG\".\nThe library is written in C++ and consists of two main algorithms:\n\n1- Decompostion:\n   * carries out tasks pertinent to the simplification of complex solids by means of decomposition into their primitive convex subsolids.\n2- Void generation \u0026 Conversion:\n   * carries out tasks pertinent to the generation of void cells and conversion of the primitive solids into MCNP input syntax, and later on to other MC codes.\n\nUseful links:\n-------------\n* [Older version] McCAD-SALOME: McCAD library integrated with the `Salome \u003chttps://www.salome-platform.org/\u003e`_ platform:\n   * `docs \u003chttps://github.com/inr-kit/McCad-Salome-Docs\u003e`_\n   * `source \u003chttps://github.com/inr-kit/McCad-Salome-Source\u003e`_\n   * `binaries \u003chttps://github.com/inr-kit/McCad-Salome-Binaries\u003e`_\n \n* [Older version] McCAD-FreeCAD: an improved McCAD library integrated with the opensource CAD software `FreeCAD \u003chttps://www.freecadweb.org/\u003e`_:\n   * `source \u003chttps://github.com/inr-kit/McCAD-FreeCAD\u003e`_\n   \n* csg2csg: a tool for the translation between a variety of Monte Carlo code formats: \n   * `source \u003chttps://github.com/makeclean/csg2csg\u003e`_.\n\nDependencies:\n--------------\n1- CMake (version `3.25.2 \u003chttps://cmake.org/download/\u003e`_):\n   * the standard build system for McCAD library.\n\n2- Boost C++ Libraries (version `1.81.0 \u003chttps://www.boost.org/users/download/\u003e`_):\n   * used for multiprocessing.\n\n3- Open CASCADE Technology (version `7.7.0 \u003chttps://dev.opencascade.org/release\u003e`_):\n   * the geometry engine used for manipulating and decomposing solids.\n\nInstallation:\n------------- \nPlease refer to the \"Installation from Source\" section in the `manual \u003c/docs/Manual/McCAD_manual.pdf\u003e`_.\n\nGeneral notes on Usage:\n-----------------------\n1- The library assumes a clean CAD model, one with no intersections/overlapping.\n   * while in theory the library won't report an error with intersections/overlapping as solids are processed individually, it will cause issue for void generation and conversion!\n2- There are known bugs with the decomposition algorithm which are currently being investigated.\n   * a list of bugs and proposed workaround can be found in the \"Known issues\" section in the `manual \u003c/docs/Manual/McCAD_manual.pdf\u003e`_.\n   \nReporting issues:\n-----------------\nPlease don't hesitate to report any issues with running the code or errors in the manual by:\n   * raising issues in the github repo.\n   * sending an email to moataz.harb@kit.edu \u0026 yuefeng.qiu@kit.edu.\n\nCitation:\n---------\nPlease use the citation below to reference the code in published articles:\nHarb, M.; Leichtle, D.; Fischer, U. A Novel Algorithm for CAD to CSG Conversion in McCAD. J. Nucl. Eng. 2023, 4, 436-447. https://doi.org/10.3390/jne4020031\n","funding_links":[],"categories":["Particle Transport"],"sub_categories":["Related Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finr-kit%2FMcCAD-Library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finr-kit%2FMcCAD-Library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finr-kit%2FMcCAD-Library/lists"}