logo

[B]onnie..+..Clyde

Gallery details

Code creates Meshes and Colors Vertixes Based on Structural Analysis Information – Algor – Python Research V.1 [29.March.2012] – via Python + Algor
“”” The input is a Text File containing XYZ info as well as deformation values. The code rebuilds the geometry from scratch based on XYZ coordinates, these coordinates are used to re-create the mesh in 3D and paint the vertices based on the value range. This is very useful in recreating and making the structural color maps as drivers in actual geometry instead of simple Textures THIS IS ONLY A SETUP PROCESS, ONCE YOU HAVE THE MESH VERTEX INFORMATION YOU CAN DO WHATEVER YOU WANT WITH IT”””
. Process
. Create Geometry
. Export STL, Bring into ALGOR
. Assign Analysis Type
. Establish Fixed Support Points (If Any)
. Assign Nodal Forces + Other Stuff 🙂
. Run Analysis
. Use Information to Rebuild Geometry and Paint
. Use the Mesh Vertex Information as a DRIVER FOR ANYTHING YOU WANT

[Input Data Text File – Shortened List.]

CODE

[snippet slug=input-data-text-file-shortened-list lang=abap]
[Python V1 – Data_Reader + MeshBuilder + Vertex Color Info]

CODE

[snippet slug=python-v1-data_reader-meshbuilder-vertex-color-info lang=python]
[Python V2 – Data_Reader + MeshBuilder + Vertex Color Info [USING CLASSES]

CODE

[snippet slug=python-v2-data_reader-meshbuilder-vertex-color-info-using-classes line_numbers=false lang=python]
  • Share

Leave a reply

Your email address will not be published. Required fields are marked *