Skip to content

Commit 42c85d0

Browse files
Update all for 2022.0.316 Release
1 parent 987ea46 commit 42c85d0

File tree

157 files changed

+6249
-3474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+6249
-3474
lines changed

Array.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Array";

Geom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom";

Geom/BoundingBox.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::BoundingBox";

Geom/Bounds2d.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::Bounds2d";

Geom/LatLong.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::LatLong";

Geom/OrientedBounds2d.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::OrientedBounds2d";

Geom/Point2d.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::Point2d";

Geom/Point3d.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::Point3d";

Geom/PolygonMesh.html

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::PolygonMesh";
@@ -186,6 +187,14 @@
186187
<h2>Overview</h2><div class="docstring">
187188
<div class="discussion">
188189

190+
<div class="note notetag">
191+
<strong>Note:</strong>
192+
<div class='inline'>
193+
<p>As of SketchUp 2022.0 the new <span class='object_link'><a href="../Sketchup/EntitiesBuilder.html" title="Sketchup::EntitiesBuilder (class)">Sketchup::EntitiesBuilder</a></span> interface can be used to generate bulk geometry. It has similar performance as <span class='object_link'><a href="" title="Geom::PolygonMesh (class)">PolygonMesh</a></span>, but with similar degree of per-entity control as <span class='object_link'><a href="../Sketchup/Entities.html" title="Sketchup::Entities (class)">Sketchup::Entities</a></span>.</p>
194+
</div>
195+
</div>
196+
197+
189198
<p>The <span class='object_link'><a href="" title="Geom::PolygonMesh (class)">PolygonMesh</a></span> class contains methods to create polygon mesh structures. This is useful if you need to write a custom importer/exporter in Ruby that works at the level of triangulated polygons. For example, you can determine the triangles that make up a 15-sided <span class='object_link'><a href="../Sketchup/Face.html" title="Sketchup::Face (class)">Sketchup::Face</a></span> by using this class, or write a <span class='object_link'><a href="../Sketchup/Importer.html" title="Sketchup::Importer (class)">Sketchup::Importer</a></span> that reads a data file, creates a mesh from it, and draws faces based on the mesh.</p>
190199

191200
<p>You can construct a mesh manually using the methods of this class, or you can get a mesh from a face by calling the <span class='object_link'><a href="../Sketchup/Face.html#mesh-instance_method" title="Sketchup::Face#mesh (method)">Sketchup::Face#mesh</a></span> method. See <span class='object_link'><a href="../Sketchup/Entities.html#add_faces_from_mesh-instance_method" title="Sketchup::Entities#add_faces_from_mesh (method)">Sketchup::Entities#add_faces_from_mesh</a></span> for an easy way to convert a mesh back into faces.</p>
@@ -209,6 +218,13 @@ <h2>Overview</h2><div class="docstring">
209218

210219
</div>
211220

221+
222+
<p class="tag_title">See Also:</p>
223+
<ul class="see">
224+
225+
<li><a href="../file.generating_geometry.html" title="Guide on Generating Geometry">Guide on Generating Geometry</a></li>
226+
227+
</ul>
212228
<p class="tag_title">Version:</p>
213229
<ul class="version">
214230

@@ -327,7 +343,7 @@ <h2>
327343

328344

329345
<span class="summary_desc"><div class='inline'>
330-
<p>The <code>add_polygon</code> method is used for adding a polygon to a PolygonMesh.</p>
346+
<p>The <span class='object_link'><a href="#add_polygon-instance_method" title="Geom::PolygonMesh#add_polygon (method)">#add_polygon</a></span> method is used for adding a polygon to a <span class='object_link'><a href="" title="Geom::PolygonMesh (class)">PolygonMesh</a></span>.</p>
331347
</div></span>
332348

333349
</li>
@@ -912,9 +928,17 @@ <h3 class="signature first" id="add_point-instance_method">
912928
</h3><div class="docstring">
913929
<div class="discussion">
914930

931+
<div class="note notetag">
932+
<strong>Note:</strong>
933+
<div class='inline'>
934+
<p>In SketchUp 2021.1 this method was improved to be faster. See <span class='object_link'><a href="#initialize-instance_method" title="Geom::PolygonMesh#initialize (method)">#initialize</a></span> for details.</p>
935+
</div>
936+
</div>
937+
938+
915939
<p>The <span class='object_link'><a href="#add_point-instance_method" title="Geom::PolygonMesh#add_point (method)">#add_point</a></span> method is used to add a point to the mesh.</p>
916940

917-
<p>The index can be used for creating polygons.</p>
941+
<p>The returned index can be used for creating polygons.</p>
918942

919943

920944
</div>
@@ -1020,7 +1044,15 @@ <h3 class="signature " id="add_polygon-instance_method">
10201044
</h3><div class="docstring">
10211045
<div class="discussion">
10221046

1023-
<p>The <code>add_polygon</code> method is used for adding a polygon to a PolygonMesh. All variations of this method require at least 3 elements to define a polygon, although more may be given.</p>
1047+
<div class="note notetag">
1048+
<strong>Note:</strong>
1049+
<div class='inline'>
1050+
<p>In SketchUp 2021.1 this method was improved to be faster. See <span class='object_link'><a href="#initialize-instance_method" title="Geom::PolygonMesh#initialize (method)">#initialize</a></span> for details.</p>
1051+
</div>
1052+
</div>
1053+
1054+
1055+
<p>The <span class='object_link'><a href="#add_polygon-instance_method" title="Geom::PolygonMesh#add_polygon (method)">#add_polygon</a></span> method is used for adding a polygon to a <span class='object_link'><a href="" title="Geom::PolygonMesh (class)">Geom::PolygonMesh</a></span>. All variations of this method require at least 3 elements to define a polygon, although more may be given.</p>
10241056

10251057

10261058
</div>

Geom/Transformation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<link rel="stylesheet" href="../css/rubyapi.css" type="text/css" charset="utf-8" />
5151

52+
<link rel="stylesheet" href="../css/rouge.css" type="text/css" charset="utf-8" />
5253
<!-- SCRIPTS -->
5354
<script type="text/javascript">
5455
pathId = "Geom::Transformation";

0 commit comments

Comments
 (0)