-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.html
More file actions
52 lines (44 loc) · 1.68 KB
/
plugin.html
File metadata and controls
52 lines (44 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<title>myFormItPlugin</title>
<link href="plugin.css" rel="stylesheet">
</head>
<body>
<div class="pluginContainer">
<h1>MyFormItPlugin</h1>
<p>Cube: Create a cuboid of the specified size at the origin.</p>
<div>
<input id="Width" type=number value =12 />
<label>Width</label>
</div>
<div>
<input id="Length" type=number value =12 />
<label>Length</label>
</div>
<div>
<input id="Height" type=number value =12 />
<label>Height</label>
</div>
<input id="CreateBlockBtn" type=button value="Create Cuboid" />
<p>Cylinder: Create a cylinder at the origin.</p>
<div>
<input id="Radius" type=number value=2 />
<label>Radius</label>
</div>
<div>
<input id="CHeight" type=number value =0.5 />
<label>Height</label>
</div>
<input id="CreateCylinderBtn" type=button value="Create Cylinder" />
<!--Do not remove below scripts unless you know what you're doing-->
<script type="text/javascript" src="https://formit3d.github.io/SharedPluginUtilities/FormIt.js"></script>
<script type="text/javascript" src="https://formit3d.github.io/SharedPluginUtilities/FormItInterface.js"></script>
<script type="text/javascript" src="https://formit3d.github.io/SharedPluginUtilities/PluginUtils.js"></script>
<script type="text/javascript" src="plugin.js"></script>
<script type="text/javascript">
FormItInterface.Initialize();
</script>
</div>
</body>
</html>