{"id":16127103,"url":"https://github.com/mikolalysenko/meshcat","last_synced_at":"2025-04-06T13:21:35.360Z","repository":{"id":6890795,"uuid":"8140378","full_name":"mikolalysenko/meshcat","owner":"mikolalysenko","description":"Concatenates meshes","archived":false,"fork":false,"pushed_at":"2013-02-11T15:24:19.000Z","size":340,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T19:31:25.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mikolalysenko.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}},"created_at":"2013-02-11T15:24:08.000Z","updated_at":"2013-11-03T16:19:18.000Z","dependencies_parsed_at":"2022-09-18T17:51:41.912Z","dependency_job_id":null,"html_url":"https://github.com/mikolalysenko/meshcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fmeshcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fmeshcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fmeshcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fmeshcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikolalysenko","download_url":"https://codeload.github.com/mikolalysenko/meshcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485848,"owners_count":20946478,"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":[],"created_at":"2024-10-09T21:42:15.939Z","updated_at":"2025-04-06T13:21:35.326Z","avatar_url":"https://github.com/mikolalysenko.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"meshcat\n=======\nConcatenates meshes (ie simplicial complexes with attributes).\n\nUsage/Installation\n==================\nFirst install via npm:\n\n    npm install meshcat\n    \nThen you can just call the library using module.exports.  For example, here is some code to concatenate a pair of bunnies\n\n    //Import the bunny\n    var bunny = require(\"bunny\");\n\n    //Make a shifted copy\n    var shifted = new Array(bunny.positions.length);\n    for(var i=0; i\u003cshifted.length; ++i) {\n      shifted[i] = bunny.positions[i].slice(0);\n      shifted[i][0] += 50;\n    }\n\n    //Concatenate the meshes\n    var two_bunnies = require(\"../index.js\")(\n        [bunny.faces, bunny.faces],\n        [bunny.positions, shifted]);\n\n`require(\"meshcat\")(cells[, attribute0, attribute1, ...])`\n----------------------------------------------------------\nThis method combines multiple meshes together, fixing face indices in the process.  To use it, you just pass an array of cells followed by arrays of attributes.\n\nReturns:\n* `cells`: The concatenated array of cells\n* `attributes`: An array of concatenated attributes\n\nCredits\n=======\n(c) 2013 Mikola Lysenko. BSD","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fmeshcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikolalysenko%2Fmeshcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fmeshcat/lists"}