Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 507 Bytes

File metadata and controls

26 lines (23 loc) · 507 Bytes

Preview screenshot

Small addon to export a mesh to a programming language array

Example output

verts = [
	[ 1.0, 1.0, 1.0 ],
	[ 1.0, 1.0, -1.0 ],
	[ 1.0, -1.0, 1.0 ],
	[ 1.0, -1.0, -1.0 ],
	[ -1.0, 1.0, 1.0 ],
	[ -1.0, 1.0, -1.0 ],
	[ -1.0, -1.0, 1.0 ],
	[ -1.0, -1.0, -1.0 ]
]

faces = [
	[ 0, 4, 6, 2 ],
	[ 3, 2, 6, 7 ],
	[ 7, 6, 4, 5 ],
	[ 5, 1, 3, 7 ],
	[ 1, 0, 2, 3 ],
	[ 5, 4, 0, 1 ]
]