Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Triangular Prism Geometry for LSC #56

@tommyflynn13

Description

@tommyflynn13

Hi Daniel,

Firstly just wanted to say thanks a million for the work you've done on this code, the software is very impressive and easy to follow for a beginner like myself! I was shown your code by a fellow university student, and am hoping to manipulate it to simulate a triangular LSC panel being fabricated for use in a geodesic dome installation as part of my Masters dissertation.

Not an issue as such, but I was hoping to pick your brain as to how you would edit the LSC.py code to work with a triangular prism rather than a box? As I mentioned I am a complete beginner with Python, I have figured out how to extrude a triangular polygon using shapely and trimesh, and have passed light through it using one of your tutorials. I am struggling however to fully adapt the LSC.py code to work with this mesh geometry, specifically as the "size" and "self.size" parameters don't seem to apply to the (polygon, height) input using trimesh.creation.extrude_polygon.

Any help would be greatly appreciated.

Regards,
Thomas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions