{"id":28401,"date":"2021-05-25T11:00:36","date_gmt":"2021-05-25T15:00:36","guid":{"rendered":"https:\/\/blogs.solidworks.com\/tech\/?p=28401"},"modified":"2021-05-17T08:53:52","modified_gmt":"2021-05-17T12:53:52","slug":"the-magic-of-the-square-circle","status":"publish","type":"post","link":"https:\/\/blogs.solidworks.com\/tech\/2021\/05\/the-magic-of-the-square-circle.html","title":{"rendered":"The Magic of the Square Circle"},"content":{"rendered":"<p>In this blog we create and test a classic magic trick from my childhood \u2013 <a href=\"https:\/\/www.youtube.com\/watch?v=JsEudq4ZS2I\">the square circle<\/a>. The effect of the trick is simple and effective. The magician starts by showing the audience the outer \u201csquare\u201d and confirms that it is empty. Then they show the inner \u201ccircle\u201d and show the same. Finally, they say the magic words and produce all kinds of outrageous objects from the previously empty cylinder.<\/p>\n<p>I have fond memories of being 10 years old and performing this trick at a magic show (with my best friend, of course) for a party of 5 year old kids. I believe we originally found the instructions to make this trick in the <a href=\"https:\/\/www.amazon.com\/Mark-Wilsons-Complete-Course-Magic\/dp\/0762414553\">Mark Wilson Book of Magic<\/a> and I don\u2019t think we could have been more proud of the results. \u00a0Here\u2019s the original, for reference:<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28377\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201.jpg\" alt=\"\" width=\"913\" height=\"932\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201.jpg 913w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201-294x300.jpg 294w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201-602x615.jpg 602w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201-768x784.jpg 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image201-728x743.jpg 728w\" sizes=\"auto, (max-width: 913px) 100vw, 913px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28383\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202.jpg\" alt=\"\" width=\"954\" height=\"1147\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202.jpg 954w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202-250x300.jpg 250w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202-512x615.jpg 512w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202-768x923.jpg 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image202-728x875.jpg 728w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/a><\/p>\n<p>As you can tell, the trick has aged a bit, so I decided that it was time for a revamp\u2026 using SOLIDWORKS!<\/p>\n<p>Let\u2019s get started with some simple extrudes. To make life easier, I used the <strong>Thin Feature<\/strong> checkbox to get some thickness to my shapes without sketching an offset.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28382\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203.png\" alt=\"\" width=\"1140\" height=\"1323\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203.png 1140w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203-259x300.png 259w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203-530x615.png 530w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203-768x891.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image203-728x845.png 728w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/p>\n<p>This will be our \u201csquare.\u201d To create our \u201ccircle\u201d we will also use an <strong>Extrude<\/strong> with <strong>Thin Feature <\/strong>checked, but to capture design intent with out dimensions we can use a trick. Usually <strong>Smart Dimension<\/strong> will dimension from the center of a circle to another entity, but in this case we want the measurement from the outer edge to the inside of the box. To do this, we can (1) activate <strong>Smart Dimension<\/strong> and select the circle, (2) hold down <strong>Shift<\/strong>, and (3) click on the inner edge of the box.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28378\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204.png\" alt=\"\" width=\"1622\" height=\"1508\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204.png 1622w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204-300x279.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204-615x572.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204-768x714.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204-1536x1428.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image204-728x677.png 728w\" sizes=\"auto, (max-width: 1622px) 100vw, 1622px\" \/><\/a><\/p>\n<p>Now all we need to do is extrude our geometry, add a second (secret) circle concentric to the first, and then we can move on to add some fancy cutouts.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28385\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205.png\" alt=\"\" width=\"1024\" height=\"1497\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205.png 1024w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205-205x300.png 205w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205-421x615.png 421w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205-768x1123.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image205-728x1064.png 728w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>So far, very simple, right? Here\u2019s where it gets fun. You may have noticed that my original 10-year-old self added a bunny cutout to the front. I\u2019d like to do the same here, but slightly more complex and with less work thanks to the <strong>Autotrace <\/strong>feature in SOLIDWORKS Premium. First things first, we need to enable the add-in, so let\u2019s make sure we have that checked.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28381\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206.png\" alt=\"\" width=\"1040\" height=\"1467\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206.png 1040w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206-213x300.png 213w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206-436x615.png 436w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206-768x1083.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image206-728x1027.png 728w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/a><\/p>\n<p>Now we can open a sketch on the front face of our \u201csquare\u201d and insert a picture we want to trace from <strong>Tools<\/strong> &gt; <strong>Sketch Tools<\/strong> &gt; <strong>Sketch Picture<\/strong>. Once the picture is inserted, relocated, and resized, we can click the right-arrow in our properties box. This takes us to <strong>Autotrace<\/strong>.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28386\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207.png\" alt=\"\" width=\"1593\" height=\"1575\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207.png 1593w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-300x297.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-615x608.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-120x120.png 120w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-768x759.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-1536x1519.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image207-728x720.png 728w\" sizes=\"auto, (max-width: 1593px) 100vw, 1593px\" \/><\/a><\/p>\n<p>From here, we (1) use a selection tool to select the part of our picture we want to trace, (2) click <strong>Begin Trace<\/strong>, and (3) un-check <strong>Show source image<\/strong> to see our resulting geometry before (4) making adjustments until the image looks just right.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28379\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208.png\" alt=\"\" width=\"1838\" height=\"1573\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208.png 1838w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208-300x257.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208-615x526.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208-768x657.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208-1536x1315.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image208-728x623.png 728w\" sizes=\"auto, (max-width: 1838px) 100vw, 1838px\" \/><\/a><\/p>\n<p>The final step is clicking <strong>Apply<\/strong> and the green checkmark. I also chose to right-click the original image and <strong>Suppress<\/strong> it after tracing just to clean things up a bit. Then we can just cut as we would normally, but in this case it took us 5 seconds to draw a bunny instead of 15 minutes.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28384\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209.png\" alt=\"\" width=\"1024\" height=\"1497\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209.png 1024w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209-205x300.png 205w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209-421x615.png 421w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209-768x1123.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image209-728x1064.png 728w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Things are starting to look more magical already! The next step is to add more cutouts. The trick works best if there\u2019s fairly good visibility through the square to the circle, so I decided to use a <strong>Fill Pattern<\/strong> here with stars. All we need for our fill pattern is an initial cut and a boundary drawn out in a sketch as can be seen below.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28380\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010.png\" alt=\"\" width=\"878\" height=\"1607\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010.png 878w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010-164x300.png 164w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010-336x615.png 336w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010-768x1406.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010-839x1536.png 839w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2010-728x1332.png 728w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/a><\/p>\n<p><strong>Fill Pattern <\/strong>allows us to select the <strong>Pattern Layout<\/strong> as well as the spacing within that pattern. I played with these parameters until the preview looked almost perfect. Then I specified a few stars that I wanted to leave out under <strong>Instances to Skip<\/strong>. These stars would have over-crowded the bunny, so I\u2019m glad I had the option to quickly remove them. Note: another option would have been to offset the bunny design in the boundary sketch so that none of the stars would have gotten quite as close to begin with, but in this case this was a great option as well.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28389\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011.png\" alt=\"\" width=\"1699\" height=\"1617\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011.png 1699w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011-300x286.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011-615x585.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011-768x731.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011-1536x1462.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2011-728x693.png 728w\" sizes=\"auto, (max-width: 1699px) 100vw, 1699px\" \/><\/a><\/p>\n<p>Gorgeous! I love how the pattern feature has so much flexibility and allows us to get so much done in so little time. Now things are <em>really<\/em>looking magical.<\/p>\n<p>Before doing a <strong>Save Bodies<\/strong> and moving into my assembly, I also added a very thin extrude to line the \u201csquare\u201d and represent the velvet inside that we need for the illusion to work. For the sake of presentation, I went ahead and extruded a table as well. Here\u2019s what it looks like so far:<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28387\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012.png\" alt=\"\" width=\"1387\" height=\"1517\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012.png 1387w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012-274x300.png 274w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012-562x615.png 562w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012-768x840.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2012-728x796.png 728w\" sizes=\"auto, (max-width: 1387px) 100vw, 1387px\" \/><\/a><\/p>\n<p>After right-clicking the <strong>Solid Bodies<\/strong> folder and selecting <strong>Save Bodies<\/strong>, I selected the option to make an assembly, opened the assembly, right-clicked my components (except for the table) in the tree, and selected to <strong>Float <\/strong>them before adding mates. One tip here: most of the mates I added were between primary planes (ie. the <strong>Front Plane<\/strong> of the cylinder mated to the <strong>Front Plane<\/strong> of the assembly itself. The only special mates I added were <strong>Limit Distance Mates<\/strong> between the bottom of the \u201csquare\u201d and the table and also between the bottom of the \u201ccircle\u201d and the table.<\/p>\n<p>At this point, I also decided to go back and add some flair to the inner cylinder. Luckily, this is sinch \u2013 all we need to do is simply click on the part we want to edit and select to open it from the in-context toolbar that pops up.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28391\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013.png\" alt=\"\" width=\"1163\" height=\"1470\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013.png 1163w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013-237x300.png 237w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013-487x615.png 487w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013-768x971.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2013-728x920.png 728w\" sizes=\"auto, (max-width: 1163px) 100vw, 1163px\" \/><\/a><\/p>\n<p>After opening the part, I quickly sketched out the likeness of a hat on the <strong>Front Plane<\/strong>.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28390\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014.png\" alt=\"\" width=\"2166\" height=\"1120\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014.png 2166w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-300x155.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-615x318.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-768x397.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-1536x794.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-2048x1059.png 2048w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2014-728x376.png 728w\" sizes=\"auto, (max-width: 2166px) 100vw, 2166px\" \/><\/a><\/p>\n<p>Now we can use the <strong>Wrap<\/strong> feature to <strong>Deboss <\/strong>our design onto the cylinder.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28388\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015.png\" alt=\"\" width=\"1828\" height=\"1441\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015.png 1828w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015-300x236.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015-615x485.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015-768x605.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015-1536x1211.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2015-728x574.png 728w\" sizes=\"auto, (max-width: 1828px) 100vw, 1828px\" \/><\/a><\/p>\n<p>After applying a bit of paint, our design is complete!<\/p>\n<p>Now we can move on an create the object we will make appear \u2013 a pear, of course! (Yes, I did that on purpose. No, I am not sorry.)<\/p>\n<p>Creating the pear was simple \u2013 all I did was draw a profile, <strong>Revolve<\/strong>, sketch a stem and <strong>Sweep<\/strong> it out using a circular profile (that I didn\u2019t have to draw), and then, for artistic effect, I used <strong>Move\/Copy Bodies<\/strong> to add a tilt using the <strong>Rotate<\/strong> feature.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28393\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016.png\" alt=\"\" width=\"1872\" height=\"1633\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016.png 1872w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016-300x262.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016-615x536.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016-768x670.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016-1536x1340.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2016-728x635.png 728w\" sizes=\"auto, (max-width: 1872px) 100vw, 1872px\" \/><\/a><\/p>\n<p>For the apPEARance, I actually used the default <strong>Sponge<\/strong> appearance and added a green color to it. I also changed the mapping under the <strong>Advanced<\/strong> tab so that it was more dense than a sponge. I\u2019m pretty happy with how it turned out overall. What do you think?<\/p>\n<p>Alright, now it\u2019s time to make some MAGIC happen with an animation. We start my creating a new <strong>Motion Study <\/strong>and selecting the type as <strong>Animation<\/strong> on the left. From here, I like to make sure that <strong>Autokey <\/strong>is turned <strong>ON<\/strong>. This will allow us to click on a time in the time line and move a component to automatically create a new step in our animation.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28394\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017.png\" alt=\"\" width=\"2121\" height=\"1627\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017.png 2121w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-300x230.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-615x472.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-768x589.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-1536x1178.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-2048x1571.png 2048w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2017-728x558.png 728w\" sizes=\"auto, (max-width: 2121px) 100vw, 2121px\" \/><\/a><\/p>\n<p>I used the following steps to create my animation: (1) selected the part I wanted to move on the left, (2) clicked on the timeline 2 seconds after the last key, (3) moved the part, and (4) repeated the process. I moved the \u201ccircle\u201d first, then the \u201csquare,\u201d and lastly we can see the pear appear! (Say that 10 times fast!)<\/p>\n<p>It looks great *except* the illusion doesn\u2019t work well here. The problem is that we need velvet inside our square and outside our hidden cylinder to conceal the secret. For this, we need to use SOLIDWORKS Visualize. Not only will this make everything look super spiffy and realistic, but it is also essential because the velvet appearance doesn\u2019t exist in SOLIDWORKS alone.<\/p>\n<p>Actually, opening up Visualize Premium, I realized that velvet doesn\u2019t exist here either by default. Luckily, there\u2019s a GIGANTIC online database of additional appearances, scenes, etc. on MySolidworks.com. I did a simple search and found some black crushed velvet immediately (<a href=\"https:\/\/visualize.solidworks.com\/visualizecloud\/viewasset?assetId=96\">here\u2019s the link<\/a>). To add it to our library, all we need to do is click to <strong>download<\/strong> it and then move the file to your default location or, most likely, something like \u201cC:\\Users\\&lt;username&gt; \\Documents\\SOLIDWORKS Visualize Content\\Appearances\\Fabric\u201d as can be seen below.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28392\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018.png\" alt=\"\" width=\"1974\" height=\"616\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018.png 1974w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018-300x94.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018-615x192.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018-768x240.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018-1536x479.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2018-728x227.png 728w\" sizes=\"auto, (max-width: 1974px) 100vw, 1974px\" \/><\/a><\/p>\n<p>Now that it exists in this location, it will show up in our Visualize software as well!<\/p>\n<p>Ok, so back to business \u2013 we want to get our entire assembly along with the animation we just created into SOLIDWORKS Visualize. Sounds like a lot of work, right? Nope. It is never a lot of work. Here\u2019s the trick \u2013 the <strong>SOLIDWORKS Visualize Add-in<\/strong> and <strong>Export Advanced<\/strong>. (Thank you, developers, for making everything so easy!)<\/p>\n<p>The first step is making sure the <strong>SOLIDWORKS Visualize Add-in<\/strong> is checked on in Add-ins. Then we should be able to access it in our <strong>Command Manager<\/strong> and we want to click <strong>\u00a0Export Advanced<\/strong>. Once we do this, it will allow us to select our <strong>Motion Study<\/strong> for export and then recalculate it to make sure it is up-to-date before we jump into Visualize.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28395\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019.png\" alt=\"\" width=\"1765\" height=\"1819\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019.png 1765w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019-291x300.png 291w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019-597x615.png 597w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019-768x791.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019-1490x1536.png 1490w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2019-728x750.png 728w\" sizes=\"auto, (max-width: 1765px) 100vw, 1765px\" \/><\/a><\/p>\n<p>SOLIDWORKS Visualize automatically opens \u2013 just make sure you hit the <strong>T<\/strong> shortcut to show the timeline if it doesn\u2019t show up at the bottom of your screen to begin with. So simple! Our entire animation came over automatically. Now let\u2019s make a few tweaks before we export everything.<\/p>\n<p>To add our Black Crushed Velvet appearance to our design, all we need to do is jump over to the <strong>File Libraries<\/strong> tab on the right and navigate the <strong>Fabric <\/strong>folder. From here we can drag and drop this appearance onto our table, our inner cylinder, and the velvet liner we designed for our outer box.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28397\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020.png\" alt=\"\" width=\"2888\" height=\"1678\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020.png 2888w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-300x174.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-615x357.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-768x446.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-1536x892.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-2048x1190.png 2048w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2020-728x423.png 728w\" sizes=\"auto, (max-width: 2888px) 100vw, 2888px\" \/><\/a><\/p>\n<p>We don\u2019t need to get too fancy with changing things up at this point since it looks pretty good already, but on the <strong>Scenes <\/strong>tab, I went ahead and also changed the <strong>Environment <\/strong>to <strong>High Contrast Ramp<\/strong> so that the white box would appear more clearly.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28396\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021.png\" alt=\"\" width=\"1037\" height=\"732\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021.png 1037w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021-300x212.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021-615x434.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021-768x542.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2021-728x514.png 728w\" sizes=\"auto, (max-width: 1037px) 100vw, 1037px\" \/><\/a><\/p>\n<p>That\u2019s it! We\u2019re done. All that\u2019s left to do is export our video. To do this, all we need to do is click on the <strong>Output Tools<\/strong> symbol in our heads-up toolbar.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28400\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022.png\" alt=\"\" width=\"1574\" height=\"1272\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022.png 1574w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022-300x242.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022-615x497.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022-768x621.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022-1536x1241.png 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2022-728x588.png 728w\" sizes=\"auto, (max-width: 1574px) 100vw, 1574px\" \/><\/a><\/p>\n<p>From here, we want to select to output our <strong>Animation<\/strong> on the left and then we can give our file a name and tweak settings like FPS. We can also change our render settings on the second tab.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28398\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023.png\" alt=\"\" width=\"1206\" height=\"1564\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023.png 1206w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023-231x300.png 231w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023-474x615.png 474w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023-768x996.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023-1184x1536.png 1184w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2023-728x944.png 728w\" sizes=\"auto, (max-width: 1206px) 100vw, 1206px\" \/><\/a><\/p>\n<p>Depending on your settings and the speed of your computer, this might take a bit of time. I think it took my dinky laptop about an hour to render the whole movie \u2013 not bad considering the quality of the result! After the movie finished rendering, I went ahead and also rendered a few still beauty shots.<\/p>\n<p>So\u2026 the moment of truth \u2013 check out our magical animation below:<\/p>\n<div style=\"width: 1140px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-28401-1\" width=\"1140\" height=\"912\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SQC-TRICK-ANIMATION.mp4?_=1\" \/><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SQC-TRICK-ANIMATION.mp4\">https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/SQC-TRICK-ANIMATION.mp4<\/a><\/video><\/div>\n<p>Abracadabra! We made a pear appear! As my favorite magician Kent Cummins would say, FANTASTIC! Thank you all so much for following along. I hope you had fun and learned a few tricks along the way.<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28399\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-scaled.jpg\" alt=\"\" width=\"2560\" height=\"2048\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-scaled.jpg 2560w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-300x240.jpg 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-615x492.jpg 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-768x614.jpg 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-1536x1229.jpg 1536w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-2048x1638.jpg 2048w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/sqc20image2024-728x582.jpg 728w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><\/p>\n<p>Don\u2019t forget to comment below if you have any questions or if there\u2019s something specific you would like to see in the next blog.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog we create and test a classic magic trick from my childhood \u2013 the square circle. The effect of the trick is simple and effective. The magician starts by showing the audience the outer \u201csquare\u201d and confirms that<\/p>\n... <a href=\"https:\/\/blogs.solidworks.com\/tech\/2021\/05\/the-magic-of-the-square-circle.html\">Continued<\/a>","protected":false},"author":530,"featured_media":28397,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2610,24,35],"tags":[],"class_list":["post-28401","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-2020","category-solidworks-electrical","category-tips-tricks"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/28401","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\/530"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/comments?post=28401"}],"version-history":[{"count":3,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/28401\/revisions"}],"predecessor-version":[{"id":28508,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/28401\/revisions\/28508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media\/28397"}],"wp:attachment":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media?parent=28401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/categories?post=28401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/tags?post=28401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}