File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,14 +117,15 @@ class Mesh(BaseModel):
117117 indices : Optional [Union [np .ndarray , List [Any ]]] = Field (
118118 None , description = "Index data as a flattened 1D numpy array or list of polygons"
119119 )
120- index_sizes : Optional [Union [np .ndarray , List [int ]]] = Field (
121- None , description = "Size of each polygon (number of vertices per polygon). "
122- "If not provided, will be automatically inferred from indices structure: "
123- "- For 2D numpy arrays: uniform polygon size from array shape "
124- "- For list of lists: individual polygon sizes "
125- "If explicitly provided, will be validated against inferred structure."
126- )
127-
120+ index_sizes : Optional [Union [np .ndarray , List [int ]]] = None
121+ """
122+ Size of each polygon (number of vertices per polygon). "
123+ "If not provided, will be automatically inferred from indices structure: "
124+ "- For 2D numpy arrays: uniform polygon size from array shape "
125+ "- For list of lists: individual polygon sizes "
126+ "If explicitly provided, will be validated against inferred structure.
127+ """
128+
128129 def copy (self : T ) -> T :
129130 """
130131 Create a deep copy of the mesh.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " meshly"
7- version = " 1.0.8 "
7+ version = " 1.0.9 "
88description = " High-level abstractions and utilities for working with meshoptimizer"
99readme = " README.md"
1010license = {text = " MIT" }
Original file line number Diff line number Diff line change 11{
22 "name" : " meshly" ,
3- "version" : " 1.0.8 " ,
3+ "version" : " 1.0.9 " ,
44 "type" : " commonjs" ,
55 "description" : " TypeScript library to decode Python meshoptimizer zip files into THREE.js geometries" ,
66 "main" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments