About 16,300 results
Open links in new tab
  1. numpy-stl - PyPI

    Nov 25, 2024 · Library to make reading, writing and modifying both binary and ascii STL files easy. Simple library to make working with STL files (and 3D objects in general) fast and easy. Due to all operations heavily relying on numpy this is one of …

  2. numpy-stlNumpy stl 2.16.3 documentation - Read the Docs

    import numpy as np from stl import mesh # Using an existing closed stl file: your_mesh = mesh.

  3. PyMesh — Geometry Processing Library for Python — PyMesh …

    Read/write 2D and 3D mesh in .obj, .off, .ply, .stl, .mesh , .msh and .node/.face/.ele formats. Support load and save per vertex/face/voxel scalar and vector fields. Local mesh processing such edge collapse/split, duplicated vertex/face removal etc.

  4. stl package — Numpy stl 2.16.3 documentation - Read the Docs

    Transform the mesh with a rotation and a translation stored in a single 4x4 matrix. Translate the mesh in the three directions. Update the normals and areas for all points. Log a message with severity ‘WARNING’ on the root logger.

  5. meshio - PyPI

    Nov 10, 2015 · In Python, simply do. import meshio mesh = meshio. read (filename, # string, os.PathLike, or a buffer/open file # file_format="stl", # optional if filename is a path; inferred from extension # see meshio-convert -h for all possible formats) # mesh.points, mesh.cells, mesh.cells_dict, ... # mesh.vtk.read() is also possible. to read a mesh. To ...

  6. Reading/writing 3D STL files with numpy-stl - Wolph

    Jan 28, 2015 · Example usage: https://github.com/WoLpH/numpy-stl [python]import numpy from stl import mesh # Using an existing stl file: your_mesh = mesh.Mesh.from_file(‘some_file.stl’) # Or creating a new mesh (make sure not to overwrite the `mesh` import by # naming it `mesh`): VERTICE_COUNT = 100 data = numpy.zeros(VERTICE_COUNT, dtype=mesh.Mesh.dtype)

  7. How to save multiple meshes in python using numpy-stl

    import numpy as np import stl from stl import mesh import os def combined_stl(meshes, save_path="./combined.stl"): combined = mesh.Mesh(np.concatenate([m.data for m in meshes])) combined.save(save_path, mode=stl.Mode.ASCII)

  8. numpy-stl — Numpy stl 2.2.0 documentation - pythonhosted.org

    import numpy from stl import mesh # Using an existing stl file: your_mesh = mesh. Mesh . from_file ( 'some_file.stl' ) # Or creating a new mesh (make sure not to overwrite the `mesh` import by # naming it `mesh`): VERTICE_COUNT = 100 data = numpy . zeros ( VERTICE_COUNT , dtype = mesh .

  9. How can I offset / thicken / solidify a 3D mesh in Python?

    I'm looking for a way to offset a TIN (triangulated irregular network) mesh (e.g. of a landscape) by a consistent distance via a Python script. In the past I've called Blender's Solidify modifier via the API, which works well, but I'd like to find an alternative that doesn't require Blender as a …

  10. Welcome to numpy-stl’s documentation! — Numpy stl 2.16.3 …

    Modifying Mesh objects; Extending Mesh objects; Creating Mesh objects from a list of vertices and faces; Evaluating Mesh properties (Volume, Center of gravity, Inertia) Combining multiple STL files; Known limitations; tests and examples. tests.stl_corruption module; tests.test_commandline module; tests.test_convert module; tests.test_mesh module

Refresh