-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
85 lines (63 loc) · 2.64 KB
/
index.html
File metadata and controls
85 lines (63 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<html>
<head><link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<title>Validate + Clean Model</title>
<META NAME="Title" CONTENT="Validate + Clean Model">
<META NAME="Author" CONTENT="Autodesk FormIt">
<script type="text/javascript" src="https://formit3d.github.io/FormItExamplePlugins/SharedPluginFiles/FormItInterface.js"></script>
<script type="text/javascript" src="ValidateCleanModel.js"></script>
<script type="text/javascript">
FormItInterface.AddEventListener("DOMContentLoaded");
</script>
</head>
<body>
<h1>Validate + Clean Model</h1>
<hr>
<b><h3>Solid Model Diagnostics</h3></b>
<p>FormIt offers built-in diagnostics to identify issues with solid models.</p>
<ul>
<li>Go to the <b>Visual Styles</b> palette</li>
<ul style="list-style: none;">
<li><img src="img/VisStyles.png" style="width: 2em; height: 2em;"></li>
</ul>
<li>Click on the <b>Diagnostics</b> tab</li>
<ul style="list-style: none;">
<li><img src="img/Diagnostics.png" style="width: 2em; height: 2em;"></li>
</ul>
<li>Enable <b>Watertight Issues</b> and <b>Back Faces</b></li>
</ul>
<p><b><a id="BlogLink" href="javascript:void(0);">Learn how to use these diagnostics to repair solid models.</b></a></p>
<hr>
<b><h3>Validate Model</h3></b>
<p><i>Currently available in FormIt for Windows only.</i></p>
<p>Use Validate to check for geometric corruption that could result in modeling failures.</p>
<div id="form">
<form name=a>
<input type=button value="Validate Model" onClick="FormItWorkflowPlugins.SubmitValidate();">
</form>
<hr>
<b><h3>Clean Model</h3></b>
<p><i>Currently available in FormIt for Windows only.</i></p>
<p>Use Clean to fix issues found in the Validate step.</p>
<p>Note that Clean may delete invalid geometry, and may change the appearance of the model.</p>
<b><p>Tolerance</p></b>
<p>After clicking the button below, you'll see a popup dialog asking for a tolerance value.</p>
<ul>
<li>A tolerance value of 0 will fix invalid geometry found during validation. </li>
<li>Higher values will delete and merge any edges in the model that are shorter than the provided tolerance.</li>
</ul>
<div id="form">
<form name=b>
<input type=button value="Clean Model" onClick="FormItWorkflowPlugins.SubmitClean();">
</form>
<hr>
</div>
<!-- script for opening the blog post model -->
<script type="text/javascript">
validateCleanModel = [];
document.getElementById("BlogLink").addEventListener("click", function()
{
FormItInterface.CallMethod("FormIt.OpenURL", 'https://formit.autodesk.com/blog/post/repairing-solid-models');
});
</script>
</body>
</html>