{"id":22647,"date":"2018-12-31T11:00:19","date_gmt":"2018-12-31T16:00:19","guid":{"rendered":"https:\/\/blogs.solidworks.com\/tech\/?p=22647"},"modified":"2018-12-24T13:09:40","modified_gmt":"2018-12-24T18:09:40","slug":"sketching-in-xdesign-part-4","status":"publish","type":"post","link":"https:\/\/blogs.solidworks.com\/tech\/2018\/12\/sketching-in-xdesign-part-4.html","title":{"rendered":"Sketching in xDesign &#8211; Part 4"},"content":{"rendered":"<p><strong>Defining Dimensions in xDesign<\/strong><\/p>\n<p><strong><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b1.png\" \/><\/strong><\/p>\n<p>As we\u2019ve seen, one way to define the size and relationships between sketch objects is through constraints, which allows them to be adjusted in specific ways, depending on how the geometry is updated.<\/p>\n<p>Adding dimensions is the other method for defining the size and relationships between sketch objects. Dimensions allow you to specify the exact size of the sketch elements by adding dimensions for linear distances, angles between lines, sizes of radii, and diameters of circles. Let\u2019s examine how each of these can be added to this sketch to fully define the sketch.<\/p>\n<p>To enable the \u201cDimension\u201d command, simply click on the button in the action bar. With the button active, the cursor updates to show the dimension icon, and we can begin selecting sketch entities.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b2.jpg\" \/><\/p>\n<p>The first type of dimension that we want to add is the linear distance dimension. There are a few ways that a linear distance dimension can be created. The most common way is to simply click on a single line and click to place that dimension in free space. You then type in the dimension value, which we\u2019ll set as 150 millimeters. Now the entire height of this line is defined in space. We\u2019ll do this again for the bottom line, which we\u2019ll set to 180 millimeters. And we\u2019ll set the other edge to be 25 millimeters tall.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b3.png\" \/><\/p>\n<p>Another way to set a linear dimension is to select two lines that are parallel to one another. This will set the distance between them. For example, if we want to set the distance between the bottom edge and the horizontal line just above the arc, we can select the bottom edge and then click on the line right after, which allows us to set the distance between them, in this case we well set the distance as 60 millimeters. We\u2019ll also set the distance between the edge on the left and the vertical line just above the arc. We\u2019ll click the left edge, and then the other vertical line, and set the distance to be 105 millimeters.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b4.png\" \/><\/p>\n<p>Another way is to set a linear dimension is to select a line and a point. For example, we want to set the distance between this left edge and the point at the bottom of the angled line, which will determine the diameter at the base of the angled face of the \u201cRevolve\u201d feature. To do this, we\u2019ll click the line on the left and the point at the bottom of the angled line, and set the distance to be 70 millimeters.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b5.png\" \/><\/p>\n<p>The last way to create a linear distance dimension is to select two points. This scenario can come up whenever a dimension needs to be set between two points that aren\u2019t connected by horizontal or vertical lines. For example, let\u2019s say we want to set a dimension between the upper left corner and the center point of the arc. We\u2019ll click the first point and the second point, and then we can set the dimension in a few different ways. We can set the horizontal distance between them, the vertical distance between them, or the direct distance between the two points. In this case, we\u2019ll set the direct distance between the two points.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b6.png\" \/><\/p>\n<p>This distance, however, was just a way to show you the options when dimensioning between two points, so we\u2019ll click \u201cUndo\u201d to remove it.<\/p>\n<p>The next type of dimensioning is creating an angle dimension. Creating an angle dimension can be as simple as selecting two lines that aren\u2019t parallel to one another. In this case, we want to set the angle of the slanted line on the right relative to the vertical edge on the left. All you do is click on both lines, and then click to place the angle dimension. In this case, we\u2019ll use an angle of 15 degrees. If you ever select two lines in xDesign thinking they\u2019re parallel, and an angle dimension appears, this is an indicator that the lines aren\u2019t actually parallel. Angle dimensions always appear when lines aren\u2019t constrained to be horizontal, vertical, or parallel.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b7.png\" \/><\/p>\n<p>The next dimension type that we\u2019ll examine is adding a radius dimension, which is applied to arcs and fillets in a sketch. This sketch has only one arc included, which we\u2019ll dimension simply by clicking on it, and then clicking to set the radius value. We\u2019ll set the radius to 15 millimeters. Notice that the dimension has the letter \u201cR\u201d in front of it, indicating that this dimension is setting the radius value of this sketch entity.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b8.png\" \/><\/p>\n<p>Notice that all the sketch entities have changed to black, which indicates that the sketch has gone from under-defined to fully-defined. This means that the sizes and relationships of all the sketch entities are set in place. They were also all created using the same \u201cDimension\u201d command. However, let\u2019s add one more sketch entity to learn how to add a diameter dimension. We\u2019ll quickly draw a circle at the midpoint of the horizontal line shown below. This circle is now the only blue sketch entity showing it is the only under-defined entity. We\u2019ll click the \u201cDimension\u201d command, and then click on the edge of the circle to set the diameter. We\u2019ll give it a value of 15 millimeters. Notice the diameter icon in front of the numerical value, which indicates that this is specifically a diameter dimension.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b9.png\" \/><\/p>\n<p>Now that we\u2019ve covered the main dimension types added to this sketch, let\u2019s look at another dimension type that can be helpful to include. \u201cDriven Dimensions\u201d are dimensions that don\u2019t actually establish the size and relationships of sketch entities, but are \u201cdriven\u201d by other dimensions and show a reference value on screen. For example, let\u2019s say that we want to know the total height of the angled line. We can click on the top edge, click on the point at the bottom of the angled line, and place the dimension. This \u201cdriven dimension\u201d appears in gray instead of black, making it easy to differentiate. We also can\u2019t set a value since the dimension is determined by the other parts of the geometry, showing as 90 millimeters.<\/p>\n<p>To set the total length of the angled line, we\u2019ll click on the angled line shown here, which will create another \u201cdriven dimension\u201d. At first, the same 90 millimeter dimension appears, but if we move the mouse upward, the dimension shifts to be along the angle of the line, indicating it\u2019s total length.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b10.png\" \/><\/p>\n<p>To wrap up, let\u2019s consider how to edit and delete dimensions. To edit a dimension value, simply double click on the numerical value. We\u2019ll change this 150 millimeter dimension to 175 millimeters.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b11.png\" \/><\/p>\n<p>All the other black driving dimensions are maintained, however the values of the driven dimensions update to the new values. Let\u2019s now delete the angled driven dimension. To delete a dimension, single click on the leader line of the dimension, and then press the \u201cDelete\u201d key, or click on the \u201cTrash\u201d icon on the context \u201ctoolbar\u201d. This can be done for any dimension type.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/b12.png\" \/><\/p>\n<p>Did you enjoy this series? Be sure to check back on the SOLIDWORKS Tech Blog to learn more about xDesign! Incase you missed it, take a look back on <strong><a href=\"https:\/\/blogs.solidworks.com\/tech\/?p=22587&amp;preview=true\" target=\"_blank\" rel=\"noopener\">Part 1<\/a>, <a href=\"https:\/\/blogs.solidworks.com\/tech\/?p=22608&amp;preview=true\" target=\"_blank\" rel=\"noopener\">Part 2 <\/a>\u00a0<\/strong>and<a href=\"https:\/\/blogs.solidworks.com\/tech\/?p=22629&amp;preview=true\" target=\"_blank\" rel=\"noopener\"><strong> Part 3<\/strong><\/a> of the xDesign Sketching Series.<\/p>\n<p><a href=\"https:\/\/my.solidworks.com\/try-xdesign\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/xdesignbanner-5.png\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Defining Dimensions in xDesign As we\u2019ve seen, one way to define the size and relationships between sketch objects is through constraints, which allows them to be adjusted in specific ways, depending on how the geometry is updated. Adding dimensions is<\/p>\n... <a href=\"https:\/\/blogs.solidworks.com\/tech\/2018\/12\/sketching-in-xdesign-part-4.html\">Continued<\/a>","protected":false},"author":107,"featured_media":22634,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2425,35],"tags":[142,2430],"class_list":["post-22647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-xdesign","category-tips-tricks","tag-sketching","tag-xdesign"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/22647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/users\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/comments?post=22647"}],"version-history":[{"count":5,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/22647\/revisions"}],"predecessor-version":[{"id":22903,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/22647\/revisions\/22903"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media\/22634"}],"wp:attachment":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media?parent=22647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/categories?post=22647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/tags?post=22647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}