Daniel

Results 64 comments of Daniel

And if you change line 1 to be LSC((Mesh(polygon), 1.0))

What's the type of the `polygon`? type(polygon)

It should be a `trimesh.Trimesh` or subclass.

🤔 try and convert that to a trimesh.Trimesh object and it "should just work".

Oh looks like it's doing something. Think you solved the initial problem. Nice!

This seems to be a common issue with Mesh geometry. It's related to the precision of the intersection points. Cab you define your scene in cm or mm rather than...

Take a look at `label_facets` function in `LSC.py`. This assigns labels to the points sitting on the surface. For example, if x-coordinate of the of the point is on the...

I'd suggest continuing with your notebook approach, as this it probably a bit too complicated for now. Look at the the Quick Start notebook and others in the examples folder....

### Feature roadmap @shomikverma has made a good suggestion on his [pvtrace fork ](https://github.com/shomikverma/pvtrace-sv) that it would be easier to describe facets by surface normal. In addition to the `where`...

I think this makes sense for `cube_mask`. This would avoid having lots of `2*` in your python scripts. The `rect_mask(X, Y)` definition should change too to match it. Or maybe...