Skip to content

Instantly share code, notes, and snippets.

@cignoni
Last active November 9, 2021 17:11
Show Gist options
  • Save cignoni/3e99814b32fd9b2a2d60342c44f301f2 to your computer and use it in GitHub Desktop.
Save cignoni/3e99814b32fd9b2a2d60342c44f301f2 to your computer and use it in GitHub Desktop.
pymeshlab minimal example
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pymeshlab as ml\n",
"\n",
"ms = ml.MeshSet()\n",
"ms.set_verbosity(False)\n",
"ms.sphere(subdiv=6)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment