display options to help with 3d printing.

editmesh debug info,
- overhang (with axis angle options)
- wall thickness (with min/max distance)
- self-intersections.

access below 'Mesh Display' panel.
This commit is contained in:
2013-04-17 09:27:23 +00:00
parent bb1b2529a0
commit 14f9f167b2
12 changed files with 540 additions and 4 deletions

View File

@@ -9320,6 +9320,20 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
srl->freestyleConfig.flags |= FREESTYLE_CULLING;
}
}
/* not freestyle */
{
MeshStatVis *statvis = &sce->toolsettings->statvis;
if (statvis->thickness_samples == 0) {
statvis->overhang_axis = OB_NEGZ;
statvis->overhang_min = 0;
statvis->overhang_max = DEG2RADF(45.0f);
statvis->thickness_max = 0.1f;
statvis->thickness_samples = 1;
}
}
}
for(linestyle = main->linestyle.first; linestyle; linestyle = linestyle->id.next) {
#if 1