72123c5aa990a4b3eb942f457a9da4ef6d4ca00e
The geometry GLB from export_step_to_gltf.py contains a 'custom_normal' attribute (CORNER, INT16_2D) from OCC tessellation. If left in place, Blender's glTF exporter re-exports these pre-baked normals unchanged — ignoring shade_smooth_by_angle processing and our explicit sharp edge marks. Fix: remove the 'custom_normal' attribute from all imported mesh objects immediately after GLB import, before applying smooth shading. Also add orphans_purge() before export to remove palette materials (mat_0/1/2/3) that become users=0 after library material substitution. Same custom_normal clearing applied to blender_render.py for thumbnail renders. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
HartOMat: CAD import, media, pricing and legacy-compatible node-based render workflow automation platform.
Languages
Python
58%
TypeScript
40.6%
Shell
0.7%
CSS
0.5%