<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sandra</title>
    <description>The latest articles on Forem by Sandra (@sandra1me).</description>
    <link>https://forem.com/sandra1me</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F892418%2F47ef7d8c-2807-4e10-a027-964475269853.jpeg</url>
      <title>Forem: Sandra</title>
      <link>https://forem.com/sandra1me</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sandra1me"/>
    <language>en</language>
    <item>
      <title>The Quick Guide To SOLIDWORKS Basic Sketching Tools</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Tue, 20 Sep 2022 08:06:15 +0000</pubDate>
      <link>https://forem.com/sandra1me/the-quick-guide-to-solidworks-basic-sketching-tools-16ai</link>
      <guid>https://forem.com/sandra1me/the-quick-guide-to-solidworks-basic-sketching-tools-16ai</guid>
      <description>&lt;p&gt;SOLIDWORKS has many different sketching tools, and learning all of them may be overwhelming. For us to create our first model, the first step should be learning about the essential sketching tools, and I plan to help you with that by writing this post!&lt;/p&gt;

&lt;h2&gt;
  
  
  First things first: Creating a sketch
&lt;/h2&gt;

&lt;p&gt;First, we create a sketch to start working in the sketching module. Click on &lt;strong&gt;sketch -&amp;gt; sketch -&amp;gt; select the plane&lt;/strong&gt; to begin your drawing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rhUMnsIM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660209549/Ei2fKu1Dq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rhUMnsIM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660209549/Ei2fKu1Dq.png" alt="Create a sketch.png" width="880" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To exit the module, we can click the exit sketch button at the top left or the symbol at the right of the graphical window. If we click on the x, we will discard the changes made on the sketch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mJ_6sq-E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660250246/ZCgxNAMxG.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mJ_6sq-E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660250246/ZCgxNAMxG.png" alt="Exit sketching.png" width="180" height="314"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Basic sketching tools
&lt;/h2&gt;

&lt;p&gt;After entering the sketching module, we can see that new options open up in the command bar at the top. Let's check some of those new options.&lt;/p&gt;

&lt;h3&gt;
  
  
  Basic drawing tools
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FQg8F9aw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660280544/JFNuGv1Kk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FQg8F9aw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660280544/JFNuGv1Kk.png" alt="Drawing tools.png" width="150" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line command: You can draw a line by selecting the starting and endpoints. You will keep drawing lines one after the other until you press the Escape key on the keyboard. You can edit any line by moving it around or making it longer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sM5Gkz_u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660324091/gnUnmQsgC.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sM5Gkz_u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660324091/gnUnmQsgC.png" alt="Line.png" width="373" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Circle command: Used to create circles by selecting the centre point and radius.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BSLKsLrk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660365488/VWRYXZn0q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BSLKsLrk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660365488/VWRYXZn0q.png" alt="Circle.png" width="237" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rectangle command: You can create rectangles with this tool by selecting two corners of the rectangle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iXgXKMWa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660383063/cnUIHOjF0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iXgXKMWa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660383063/cnUIHOjF0.png" alt="Rectangle.png" width="290" height="156"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Center point arc: We can create a portion of a circle by selecting the centre and starting and ending points.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uZqyh4ni--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660403070/3Wio-rpUI.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uZqyh4ni--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660403070/3Wio-rpUI.png" alt="Arc.png" width="273" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Straight slot: We can create spaces with rounded sides and straight middle parts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hES8GNu---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660426307/JKlJSwcWi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hES8GNu---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660426307/JKlJSwcWi.png" alt="Slot.png" width="299" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Polygon: Lastly, we can create polygons of different sides.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a4sKcNDj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660446511/uy2_ZCega.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a4sKcNDj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660446511/uy2_ZCega.png" alt="Polygon.png" width="252" height="226"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Spline: We can create smooth curves connecting one to the other.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iFxWtTGa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660481710/0iO8WOAyi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iFxWtTGa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660481710/0iO8WOAyi.png" alt="Spline.png" width="458" height="393"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  More tools
&lt;/h3&gt;

&lt;p&gt;We can spot a tiny arrow on each of the commands mentioned above. If we click that arrow, we will see different options for drawing each element. For example, regarding the line command, we can spot the centre line or the midpoint line.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cPrkiI6F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660546277/Crg_q4D1d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cPrkiI6F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660546277/Crg_q4D1d.png" alt="Extra arrow.png" width="267" height="114"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each of those commands works similar to the first line command. The same happens with the others, such as a circle or arc.&lt;/p&gt;

&lt;h3&gt;
  
  
  Basic editing tools
&lt;/h3&gt;

&lt;p&gt;Let's check some tools we use to edit previously created geometry:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KilOjNYM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660576455/pOUdiCOap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KilOjNYM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660576455/pOUdiCOap.png" alt="Basic editing tools.png" width="675" height="85"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ltmo4U2m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660662584/mBgUouY-V.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ltmo4U2m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660662584/mBgUouY-V.png" alt="Fillet.png" width="44" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sketch fillet: We use this to create rounded corners between two lines or arcs.&lt;/li&gt;
&lt;li&gt;Sketch chamfer: Works like the fillet, but to make chamfers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mtaVqkpt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660610665/ZVlqi_Uvw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mtaVqkpt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1663660610665/ZVlqi_Uvw.png" alt="Fillet and chamfer.png" width="880" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Trim entities: We can use this tool to delete certain parts of the geometry we don't need. For example, lines that intersect between them.&lt;/li&gt;
&lt;li&gt;Extend entities: We can see this option if we click on the arrow below small entities. We use this tool to extend the length of our geometries.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Deleting elements
&lt;/h2&gt;

&lt;p&gt;To delete a geometry, we select it and press the delete key on our keyboard. We can delete many different geometries by selecting and dragging with our mouse to create a rectangle to choose everything we want to eliminate and then pressing delete.&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;After this summary of the essential SOLIDWORKS sketching tools, you should be able to start playing around. The best way to improve mechanical design is by practising, so try creating different geometries and getting to know all these useful features better.&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;If you want to know more about SOLIDWORKS, check out the &lt;a href="https://sandramartin.hashnode.dev/series/solidworks"&gt;SOLIDWORKS series&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>solidworks</category>
      <category>beginners</category>
      <category>design</category>
    </item>
    <item>
      <title>Learn How to Edit And Customize CATIA V5 Environment</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Thu, 15 Sep 2022 07:41:41 +0000</pubDate>
      <link>https://forem.com/sandra1me/learn-how-to-edit-and-customize-catia-v5-environment-2en4</link>
      <guid>https://forem.com/sandra1me/learn-how-to-edit-and-customize-catia-v5-environment-2en4</guid>
      <description>&lt;p&gt;In CATIA V5, we can personalize our working environment to adapt it to our needs. We can change menus, keyboard shortcuts and toolbars. This way, we can have a fully edited environment to work comfortably. Let's check how it works!&lt;/p&gt;

&lt;h2&gt;
  
  
  Customize
&lt;/h2&gt;

&lt;p&gt;We can access this menu through &lt;strong&gt;Tools -&amp;gt; Customize&lt;/strong&gt;. There, we can edit our working environment using different options.&lt;/p&gt;

&lt;p&gt;Let's see each option and see what their use is.&lt;/p&gt;

&lt;h3&gt;
  
  
  Start menu
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IHqkGXw4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016067196/7VISNPNwS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IHqkGXw4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016067196/7VISNPNwS.png" alt="start menu.png" width="643" height="574"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this window, we can select the workbenches we use the most and move them to the right bar. This way, we can quickly access those modules with ease. Try moving the part design module and the assembly module.&lt;/p&gt;

&lt;p&gt;If we exit this window and click on the start menu at the top left, we will see the modules we moved to the right bar at the top of the menu.&lt;/p&gt;

&lt;p&gt;We can also change these menus using this option (in the top right):&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QI3U9vRr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016137555/b1lK14cW8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QI3U9vRr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016137555/b1lK14cW8.png" alt="modules shortcut.png" width="52" height="64"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also add keyboard shortcuts to each module from the start menu with the accelerator options.&lt;/p&gt;

&lt;h3&gt;
  
  
  User workbenches
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rQYOV738--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016170282/VxuI5cX02.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rQYOV738--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016170282/VxuI5cX02.png" alt="user workbench.png" width="647" height="573"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this window, we can create personalized working environments by combining different toolbars that work with the same type of documents.&lt;/p&gt;

&lt;p&gt;For example, we can combine toolbars from the part design and the generative shape design modules since they both work with CATParts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Toolbars
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iIIFTlLu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016202256/4hBCQGNSk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iIIFTlLu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016202256/4hBCQGNSk.png" alt="toolbars.png" width="641" height="569"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this window, we can create our toolbars with the options we want. As with the user workbenches, we can only include options that work for the same kind of document.&lt;/p&gt;

&lt;p&gt;To create a New toolbar, click on the new button and give it a name.&lt;/p&gt;

&lt;p&gt;Then, look for your toolbar in the toolbars window and click on &lt;strong&gt;"Add commands..."&lt;/strong&gt;. Select the commands you want to include and click ok.&lt;/p&gt;

&lt;p&gt;There you have it! Your personalized toolbar!&lt;/p&gt;

&lt;h3&gt;
  
  
  Commands
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_d1gF0Yt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016277292/_scPY04ye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_d1gF0Yt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016277292/_scPY04ye.png" alt="commands.png" width="641" height="571"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When we use a command many times, we can access a keyboard shortcut to use it faster. We assign those shortcuts in this window. For example, you can add a shortcut for the &lt;strong&gt;Hide/Show&lt;/strong&gt; command, which we use a lot.&lt;/p&gt;

&lt;p&gt;For this, look for the &lt;strong&gt;Hide/Show&lt;/strong&gt; command, select it and click on &lt;strong&gt;Show Properties&lt;/strong&gt;. In the accelerator panel, write the shortcut you want to use, for example, F2.&lt;/p&gt;

&lt;h3&gt;
  
  
  Options
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cVERMRW8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016515308/cp_qOHWmq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cVERMRW8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016515308/cp_qOHWmq.png" alt="options.png" width="638" height="558"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We use this last window to customize many different visualization options related to the toolbars.&lt;/p&gt;

&lt;h2&gt;
  
  
  Options
&lt;/h2&gt;

&lt;p&gt;We can change many things in the CATIA options menu to customize how CATIA behaves. There are too many options to explain, so feel free to research depending on your needs.&lt;/p&gt;

&lt;p&gt;To access this menu, go to &lt;strong&gt;Tools -&amp;gt; Options&lt;/strong&gt;. The organization consists of groups and modules.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NBxfESKq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016562523/gy822GC07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NBxfESKq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1662016562523/gy822GC07.png" alt="options.png" width="880" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One curious option to change is the number of undoing stacks we have. We can change this by going to &lt;strong&gt;General -&amp;gt; PCS -&amp;gt; Undo&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;By default, we have ten stacks, which is low. Change this value to 30 or so.&lt;/p&gt;

&lt;p&gt;As a side note, we can undo an action with &lt;strong&gt;CTRL+Z&lt;/strong&gt; and redo it with &lt;strong&gt;CTRL+Y&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Editing the CATIA V5 environment is a gigantic task due to all the options it offers, and most likely, we will never be able to get to know all of them. Nevertheless, I tried to bring some light to this labyrinthic topic.&lt;/p&gt;

&lt;p&gt;Now it's your turn to customize the environment as you prefer!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;To know more about CATIA V5, check the other posts in the &lt;a href="https://dev.to/sandra1me/series/19248"&gt;CATIA V5 series&lt;/a&gt;&lt;/p&gt;

</description>
      <category>catia</category>
      <category>beginners</category>
      <category>design</category>
    </item>
    <item>
      <title>How to Control the Mouse and Shortcuts In SOLIDWORKS</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Mon, 05 Sep 2022 08:46:06 +0000</pubDate>
      <link>https://forem.com/sandra1me/how-to-control-the-mouse-and-shortcuts-in-solidworks-3ff7</link>
      <guid>https://forem.com/sandra1me/how-to-control-the-mouse-and-shortcuts-in-solidworks-3ff7</guid>
      <description>&lt;p&gt;To create splendid designs in SOLIDWORKS, we need to know the mouse controls and the shortcuts. Today, you will learn everything you need to handle yourself in SOLIDWORKS like a pro.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mouse controls
&lt;/h2&gt;

&lt;p&gt;In SOLIDWORKS, we use three mouse buttons; each of them has a different function.&lt;/p&gt;

&lt;p&gt;We use the &lt;strong&gt;left mouse button&lt;/strong&gt; when we want to select something, such as a tool, a model, etc.&lt;/p&gt;

&lt;p&gt;We can also double-click a part, and then SOLIDWORKS will show us the dimensions we used to create that side of the model. We can also change those dimensions directly this way.&lt;/p&gt;

&lt;p&gt;If we click the &lt;strong&gt;right mouse button&lt;/strong&gt; , we will activate the menu with many shortcuts. Also, if we click and maintain the right mouse button, we will open the mouse tools.&lt;/p&gt;

&lt;p&gt;We use the &lt;strong&gt;middle mouse button&lt;/strong&gt; to move our model. If we press it along with CTRL, it will translate our model. The middle mouse button plus shift will allow us to zoom in or out. Lastly, if we only press the middle mouse button, we will rotate the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keyboard shortcuts
&lt;/h2&gt;

&lt;p&gt;In SOLIDWORKS, we have a lot of keyboard shortcuts. In this post, I will summarise the most important commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CTRL + N -&amp;gt; Create a new document (such as part, assembly or drawing)&lt;/li&gt;
&lt;li&gt;CTRL + S -&amp;gt; Save document&lt;/li&gt;
&lt;li&gt;CTRL + Z -&amp;gt; Undo&lt;/li&gt;
&lt;li&gt;CTRL + X -&amp;gt; Cut&lt;/li&gt;
&lt;li&gt;CTRL + C -&amp;gt; Copy&lt;/li&gt;
&lt;li&gt;CTRL + V -&amp;gt; Paste&lt;/li&gt;
&lt;li&gt;SUPR -&amp;gt; Delete&lt;/li&gt;
&lt;li&gt;CTRL + Q / CTRL + B -&amp;gt; Rebuild&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Here we have covered the most crucial controls in SOLIDWORKS. We have learned what each mouse button is for and the most used shortcuts in the keyword. Now is the time to put them into use!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;If you want to know more about SOLIDWORKS, check &lt;a href="https://dev.to/sandra1me/series/19517"&gt;SOLIDWORKS series&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>solidworks</category>
      <category>design</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Let's Check the Great SOLIDWORKS and Discover the Interface!</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Mon, 29 Aug 2022 06:46:39 +0000</pubDate>
      <link>https://forem.com/sandra1me/lets-check-the-great-solidworks-and-discover-the-interface-1j9j</link>
      <guid>https://forem.com/sandra1me/lets-check-the-great-solidworks-and-discover-the-interface-1j9j</guid>
      <description>&lt;p&gt;SOLIDWORKS is the young brother of CATIA V5. They are very similar in many things while also having a big difference.&lt;/p&gt;

&lt;p&gt;SOLIDWORKS is much more intuitive than CATIA and easier to learn. But on the counter side, CATIA is superior when working with surfaces.&lt;/p&gt;

&lt;p&gt;Due to this fact, CATIA is more used in the aeronautical industry, while SOLIDWORKS, due to its limitations regarding surface design, cannot compete there.&lt;/p&gt;

&lt;p&gt;Nevertheless, designers use it in many other industries, so it is worth learning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting started: Creating new parts.
&lt;/h2&gt;

&lt;p&gt;When we open SolidWorks, a welcome window will pop up. That window will have different options.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Hw-AfkWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243888991/4wWwWuSOE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Hw-AfkWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243888991/4wWwWuSOE.png" alt="Intro window.png" width="880" height="709"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In that window, we can select if we want to create a part, an assembly or a draft, open a recent document or check different information such as courses or alerts.&lt;/p&gt;

&lt;p&gt;For now, as we don't have anything designed, we will need to start by creating a part (for an assembly or a draft, we need at least one model).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_DVkR1YO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243950250/wFDIS9MxR.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_DVkR1YO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243950250/wFDIS9MxR.png" alt="Create part.png" width="880" height="709"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The working interface
&lt;/h2&gt;

&lt;p&gt;After starting a new part, many new options appear in the interface window. It may be a little overwhelming at first, but slowly, you will get used to working with them.&lt;/p&gt;

&lt;p&gt;For now, let's focus on the left side of the interface. That part is known as de design tree.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v-Zsv1Pj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243989830/9rZU_zu4V.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v-Zsv1Pj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661243989830/9rZU_zu4V.png" alt="Design tree.png" width="276" height="843"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Everything we create, such as sketches, 3d operations or surfaces, will appear here. The tree sorts everything in the order we do it. This window is like the history window of our part. If we want to change anything, we will do it from here.&lt;/p&gt;

&lt;p&gt;For now, we have many different folders for sensors, planes and the coordinate system. On the top side of the interface, we can see the diverse operations we can do in SOLIDWORKS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k15xbA3X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244023342/_SDBdoLaX.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k15xbA3X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244023342/_SDBdoLaX.png" alt="Operations bar.png" width="880" height="69"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are different windows for different types of operations. If we want to add new types of operations, we need to right-click on the bar and go to the "tabs" window. There, we can see more operation groups.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ayrnzLkm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244052290/5fGWLUwSb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ayrnzLkm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244052290/5fGWLUwSb.png" alt="Adding operations.png" width="880" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also see the save, open, print and reconstruct (updating the model after making changes) options at the top.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3vKg6kyQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244108776/NBC1i8kkJ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3vKg6kyQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244108776/NBC1i8kkJ.png" alt="Options menu.png" width="880" height="71"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the right side of the interface, we can find a bar with more advanced options we use for rendering, adding properties and more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZFTU94nV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244129306/nvwvlWBXx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZFTU94nV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661244129306/nvwvlWBXx.png" alt="Advanced menu.png" width="50" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Now you've had your SolidWorks first contact and introduction. It is an astonishing CAD software, especially for beginners, as it is very intuitive, but it may be overwhelming sometimes.&lt;/p&gt;

&lt;p&gt;The first step to creating great 3d models is understanding the interface, and I hope to have helped you with this post. See you at the next one! &lt;/p&gt;

</description>
      <category>solidworks</category>
      <category>design</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Use the Editor to Start Creating Useful MATLAB Scripts</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Tue, 23 Aug 2022 07:32:33 +0000</pubDate>
      <link>https://forem.com/sandra1me/use-the-editor-to-start-creating-useful-matlab-scripts-4io7</link>
      <guid>https://forem.com/sandra1me/use-the-editor-to-start-creating-useful-matlab-scripts-4io7</guid>
      <description>&lt;p&gt;The command window is a handy tool if we want to write a few lines of code to do calculations, but if we need to do more complex operations is not optimal to write and execute them one by one. Instead, we can use the editor to create scripts that will run multiple code lines and give us the final result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction to the Editor
&lt;/h2&gt;

&lt;p&gt;We save the files we create using the editor as m-files; also, we can use them as many times as we want.&lt;/p&gt;

&lt;p&gt;To open the script editor, we must open the HOME window (using the buttons above) and go to New -&amp;gt; Script or write edit in the Command window.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1yRc3ASe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173621295/eaDT2_y_I.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1yRc3ASe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173621295/eaDT2_y_I.png" alt="Create bew script.png" width="465" height="176"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When we type in the edit window, if we press enter, MATLAB won't execute the program; it will simply move to the following line to allow us to continue writing. This way, we can create more complex programs than in the command window, with multiple lines.&lt;/p&gt;

&lt;h3&gt;
  
  
  Creating our first script
&lt;/h3&gt;

&lt;p&gt;Let's start by creating our first script. Type the following code in the command window:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = 3+2

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Save this file in your current MATLAB folder by going to Save -&amp;gt; Save as... And give it the name you want, for example, trial.m.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E5lMyj9l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173741406/MHdq8X9fE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E5lMyj9l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173741406/MHdq8X9fE.png" alt="Saving a script.png" width="698" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, write the name of your script in the command window:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;trial

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MATLAB will print the following:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fGuf-alH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173798551/DA9yq0HRQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fGuf-alH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173798551/DA9yq0HRQ.png" alt="Trial script.png" width="880" height="215"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First, MATLAB will look for a variable called trial, and if there is none, it will execute the trial.m script inside the current folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Commenting your code
&lt;/h2&gt;

&lt;p&gt;In programming, we use comments to help other users understand what a program does. MATLAB (or any programming languages) will ignore these lines marked as comments so they won't affect your software.&lt;/p&gt;

&lt;p&gt;In MATLAB, we create comments with the % sign at the beginning of each line. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;% This is a comment
% for my MATLAB program

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MATLAB will colour these lines in green. This way, the user will have an easier time identifying comments in the code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FhT5RXaL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173918912/Yh8zSq4aU.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FhT5RXaL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1661173918912/Yh8zSq4aU.png" alt="Comments.png" width="880" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also add a comment on a line of code by adding a % after that line. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = 3+2 % Here we add 3 and 2

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can also comment on more than one line using %{ and %}:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;%{
This is a 
multiple-line
code
%}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Challenge
&lt;/h2&gt;

&lt;p&gt;Try adding, subtracting and multiplying by two a variable you define in the script, and print the results. For example, if I create var=5, my results would be:&lt;/p&gt;

&lt;p&gt;Sum = 7&lt;/p&gt;

&lt;p&gt;Subtract = 3&lt;/p&gt;

&lt;p&gt;Multiplying = 10&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Congratulations on reaching the end! Now you know how to write multiple lines programs using the scripts in MATLAB.&lt;/p&gt;

&lt;p&gt;Creating scripts is very handy in MATLAB, as it is the first step to creating more complex problems that will help you solve different challenges. Remember to comment on your code lines. This way, your code becomes easier to understand for anyone or a future yourself!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;Check other articles in my &lt;a href="https://dev.to/sandra1me/series/19226"&gt;MATLAB&lt;/a&gt; series if you want to know more!&lt;/p&gt;

</description>
      <category>matlab</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Handy MATLAB Tips for beginners: Syntax, variable names and more</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Mon, 22 Aug 2022 07:36:00 +0000</pubDate>
      <link>https://forem.com/sandra1me/handy-matlab-tips-for-beginners-syntax-variable-names-and-more-3npg</link>
      <guid>https://forem.com/sandra1me/handy-matlab-tips-for-beginners-syntax-variable-names-and-more-3npg</guid>
      <description>&lt;p&gt;In this super little post, I will give some tips that, I hope, will benefit beginner MATLAB users. They will be related to syntax and variable names. So, let's go!&lt;/p&gt;

&lt;h2&gt;
  
  
  Tip 1: Spaces
&lt;/h2&gt;

&lt;p&gt;Generally, spaces do not affect MATLAB code when creating variables (except when creating arrays), so you can decide whether you want to put them or not.&lt;/p&gt;

&lt;p&gt;I recommend using them as they make the code easier to learn. For example, MATLAB will interpret these two lines equally, independently of the spaces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x=3;
x = 3;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One thing to consider when using spaces is that you can't add them in variable names. Those names may have digits and letters, but never white spaces.&lt;/p&gt;

&lt;p&gt;For example, you can have a variable called myVariable or my_variable, but not my variable because it includes spaces in it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tip 2: Syntax Errors
&lt;/h2&gt;

&lt;p&gt;When we commit an error in MATLAB, it lets us know with some red lines that describe the said error. For example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BE-yvtHV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660297802311/H5J2XJQpM.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BE-yvtHV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660297802311/H5J2XJQpM.png" alt="MATLAB error.png" width="880" height="105"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the example above, I have committed a syntax error, as I can't assign a value to a constant, and MATLAB informs me about that.&lt;/p&gt;

&lt;p&gt;We describe a syntax error as not fulfilling the proper form of a MATLAB statement. And this term applies to any programming language, not only MATLAB.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tip 3: Variable names
&lt;/h2&gt;

&lt;p&gt;A variable name can be a letter or a word. We can use numbers (they can't be the first element of the variable name) and lower case and upper case letters.&lt;/p&gt;

&lt;p&gt;We can check the highest number of characters allowed for a variable name in MATLAB with the &lt;strong&gt;namelengthmax&lt;/strong&gt; command. If we write an identifier longer than the maximum, then MATLAB will ignore the extra characters.&lt;/p&gt;

&lt;p&gt;MATLAB also differentiates between upper and lower case. For example, a variable called &lt;strong&gt;M&lt;/strong&gt; is different from another one called &lt;strong&gt;m&lt;/strong&gt;. Or a variable called &lt;strong&gt;CAR&lt;/strong&gt; is different from &lt;strong&gt;cAr&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We can also include underscoring in our variable names (but we can't use them as the first element). For example, we can have a variable called &lt;strong&gt;my_car&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;In this short post, I've written the three most common mistakes beginners make when they begin programming, and I hope to have given some handy tips on how to address them.&lt;/p&gt;

&lt;p&gt;The most important thing to correct our mistakes when programming (as no matter how good we are, we will always make mistakes) is to read what the error is, so we can begin correcting it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;Check other articles in my &lt;a href="https://dev.to/sandra1me/series/19226"&gt;MATLAB&lt;/a&gt; series if you want to know more!&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>beginners</category>
      <category>matlab</category>
    </item>
    <item>
      <title>A Quick Explanation of CATIA V5 Documents and Functions</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Fri, 12 Aug 2022 08:21:00 +0000</pubDate>
      <link>https://forem.com/sandra1me/a-quick-explanation-of-catia-v5-documents-and-functions-7o7</link>
      <guid>https://forem.com/sandra1me/a-quick-explanation-of-catia-v5-documents-and-functions-7o7</guid>
      <description>&lt;p&gt;When we create a model in CAD software, we may have many different kinds of documents. We will save them in one type or another, depending on the nature of the part we design. My goal in this post is to explain different types of documents and give a brief intro to how CATIA V5 functions work. I hope you find it handy!&lt;/p&gt;

&lt;h2&gt;
  
  
  Functions
&lt;/h2&gt;

&lt;p&gt;Functions are the different tools we have to work with CATIA V5. Each of them completes a task and has its name.&lt;/p&gt;

&lt;p&gt;We can find those orders at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Toolbars: The one we use the most&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660119629846%2FNrcdFsIwc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660119629846%2FNrcdFsIwc.png" alt="Toolbars.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Menus: We may use them sometimes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660119748087%2F4ApeRG81c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660119748087%2F4ApeRG81c.png" alt="Menu.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Quick access using the keyboard: Very used in functions we repeat a lot, such as show and hide&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Introducing commands with the keyboard: Rarely used&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120377114%2FDhwCXedSz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120377114%2FDhwCXedSz.png" alt="Command bar.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Command list: This is in &lt;strong&gt;View -&amp;gt; Command List&lt;/strong&gt;. It will show us all the operations available in our licence&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120424232%2Fml-0TzYgn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120424232%2Fml-0TzYgn.png" alt="Command list.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When we execute a function, it will open a dialogue window. In those, we will modify the different options for the operation we want to carry.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120456694%2F2ydmJ8f-n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120456694%2F2ydmJ8f-n.png" alt="Dialogue window.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Document types
&lt;/h2&gt;

&lt;p&gt;Each type of geometry has its document type when we save it in the system, and those types are complementary among them but not compatible.&lt;/p&gt;

&lt;p&gt;We differentiate document types because each has its symbol in the geometry tree, and when we save them in the system, the file extension indicates the document type. Document types are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;CATPart: Part documents&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATProduct: Assemblies documents&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATDrawing: Drawing documents&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATCatalog: Library documents&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATSystem: Knowledge documents&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATProcess: Process documents (manufacturing, for example)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATShape: Shape or configuration documents of the part&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CATAnalysis: FEM documents&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For pure geometry design, the most used documents are CATPart, CATProduct and CATDrawing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Document window
&lt;/h2&gt;

&lt;p&gt;In CATIA, we can open more than one document at a time, and it doesn't matter if they aren't the same type. To see the different documents we have opened, we click on the Window menu.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120484546%2FYQCZPEEwE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1660120484546%2FYQCZPEEwE.png" alt="Window menu.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The document we have active at the moment has a tick on that list.&lt;/p&gt;

&lt;p&gt;We can also order all windows to see all documents together, with Tile Horizontal, Tile Vertical and Cascade options.&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;In this short post, we have seen the different documents that CATIA (and most CAD software) uses to work, and we have also learned how to find the commands.&lt;/p&gt;

&lt;p&gt;What we've learned here is the base for how to start creating great 3D models. I hope you found this little post handy!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;To know more about CATIA V5, check the other posts in the &lt;a href="https://dev.to/sandra1me/series/19248"&gt;CATIA V5 series!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>catia</category>
    </item>
    <item>
      <title>Playing with Toolbars in CATIA V5. Learn how to edit them</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Tue, 09 Aug 2022 11:57:00 +0000</pubDate>
      <link>https://forem.com/sandra1me/playing-with-toolbars-in-catia-v5-learn-how-to-edit-them-55cf</link>
      <guid>https://forem.com/sandra1me/playing-with-toolbars-in-catia-v5-learn-how-to-edit-them-55cf</guid>
      <description>&lt;p&gt;To start designing astonishing 3D models in CATIA V5, you need to know your way around the toolbars. They are the principal resource for working in any CAD software. In this post, I will write about them and explain how to work with them and customize them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Toolbars
&lt;/h2&gt;

&lt;p&gt;Depending on the module we are working at, we will have different toolbars active, as we use each module for diverse tasks. For example, the part design module will have its toolbars for solid elements, while the drafting module is for 2D drawings.&lt;/p&gt;

&lt;p&gt;To change the active module, we need to click on the "Start" menu and select the one we want to use. This way, the icons on each toolbar will change, adapting to the new module.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lCzttTYl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031470360/dHQyF81ND.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lCzttTYl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031470360/dHQyF81ND.png" alt="Icons example.png" width="705" height="772"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To make our lives easier as designers, CATIA V5 has different icons in each toolbar, and each icon represents a function with many parameters. It also orders those functions depending on utility in various toolbar and icon groups.&lt;/p&gt;

&lt;p&gt;You can try opening different modules to see how toolbars and icons change.&lt;/p&gt;

&lt;h3&gt;
  
  
  Moving toolbars
&lt;/h3&gt;

&lt;p&gt;To move toolbars attached to borders, you need to click on the fat grey line of the toolbar and drag. You can move it to any position you want on the desktop (even to another desktop if you have another screen). You can attach it to another border or leave it "floating" on the graphic area.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nmIjgiLH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031578826/dz9_y8V4m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nmIjgiLH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031578826/dz9_y8V4m.png" alt="Positioning toolbars.png" width="370" height="561"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also rotate toolbars and place them horizontally by maintaining "Shift" while you drag the bar.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B9lvRMtM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031615856/lHXI4F_S-.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B9lvRMtM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031615856/lHXI4F_S-.png" alt="Horizontal toolbar.png" width="230" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will also have hidden toolbars in the borders. CATIA represents them by two arrows at the end of the edges:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gegNhZQK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031680154/BYMK9umhE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gegNhZQK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031680154/BYMK9umhE.png" alt="Hidden toolbar arrow.png" width="532" height="89"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To recover those bars, click on the arrows and drag until those arrows disappear.&lt;/p&gt;

&lt;p&gt;You can configure toolbars as you like since CATIA will save your choices and load them the next time you open the program.&lt;/p&gt;

&lt;h3&gt;
  
  
  Subtoolbars and icons
&lt;/h3&gt;

&lt;p&gt;There are some icons in the toolbars with a small black arrow below them. If you click on that arrow, it will open a new toolbar.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HYf2aBT8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031787715/oReKMxoau.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HYf2aBT8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031787715/oReKMxoau.png" alt="Subtoolbars.png" width="371" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also drag this new bar to place it in another position if you want to keep it visible. You can also close it by clicking anywhere in the graphic area outside the bar.&lt;/p&gt;

&lt;p&gt;You may also see some grey icons. It means that we can't use those functions right now. For example, you can't use an extrude function if you don't have at least one profile to extrude.&lt;/p&gt;

&lt;h3&gt;
  
  
  Showing &amp;amp; Hiding toolbars
&lt;/h3&gt;

&lt;p&gt;To show or hide a toolbar, we need to open the menu &lt;strong&gt;View -&amp;gt; Toolbars&lt;/strong&gt;. There, we will see that the ones visible have a tick. We can select or unselect them to show and hide them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cJQACj_7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031858407/_-sFTsv2J.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cJQACj_7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1660031858407/_-sFTsv2J.png" alt="Show and hide toolbars.png" width="521" height="143"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have a bar floating on the screen, you can also click the "x" in the upper right corner.&lt;/p&gt;

&lt;h3&gt;
  
  
  Restoring predeterminate positions
&lt;/h3&gt;

&lt;p&gt;To restore the initial positions, we need to click on &lt;strong&gt;Tools -&amp;gt; Customize&lt;/strong&gt; , and in the &lt;strong&gt;Toolbars&lt;/strong&gt; window, click &lt;strong&gt;Restore Positions&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;Learning how to edit and move toolbars is one of the most basic and relevant steps in any CAD software, as they are the main element we will use to create our models.&lt;/p&gt;

&lt;p&gt;In this post, we have explained everything you need to know about how to edit them. I hope you found it fruitful!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;Learn more about CAD design with this intro to CATIA V5:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/sandra1me/quick-intro-to-catia-v5-discover-the-basic-design-modules-2f6b"&gt;Quick Intro to CATIA V5. Discover the Basic Design Modules&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
      <category>design</category>
      <category>catia</category>
    </item>
    <item>
      <title>Use MATLAB as a Calculator and Discover how to get Help</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Mon, 08 Aug 2022 06:52:45 +0000</pubDate>
      <link>https://forem.com/sandra1me/use-matlab-as-a-calculator-and-discover-how-to-get-help-4mkf</link>
      <guid>https://forem.com/sandra1me/use-matlab-as-a-calculator-and-discover-how-to-get-help-4mkf</guid>
      <description>&lt;p&gt;After learning about the MATLAB desktop and the use of each window, it is time to begin creating our first programs. In this post, I will talk about how to write simple programs in the command window and how to get help with different functions and commands in MATLAB. Finally, I will challenge you to practice what you've learned. Happy coding!&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the Command Window
&lt;/h2&gt;

&lt;p&gt;The command window is the window in the middle of the MATLAB desktop.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u6W4_hSa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613678050/NeAPQOiwI.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u6W4_hSa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613678050/NeAPQOiwI.png" alt="Command window.png" width="880" height="644"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this window, we can see the &amp;gt;&amp;gt; symbol. This symbol is called a prompt and means that MATLAB is ready for us to introduce our commands.&lt;/p&gt;

&lt;p&gt;As a curiosity, apart from clicking x on the top right of the desktop, we can write quit in the command window, and MATLAB will close.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stopping infinite programs
&lt;/h3&gt;

&lt;p&gt;Sometimes, we might create a program that runs infinitely. We can stop its execution by pressing CTRL+C. This way, we will stop it and be ready to introduce new commands.&lt;/p&gt;

&lt;h3&gt;
  
  
  Introducing commands
&lt;/h3&gt;

&lt;p&gt;A significant command to know is clc. It will clear everything we have in our command window.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;clc

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To create variables, we need to set their name and assign them a value. There is no need to create a variable indicating its type before doing that. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x=2
y=6
z=x+y

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this code, we set x=2 and y=6 and added both variables to find z=8. The computer stores the value of these variables in a portion of its memory.&lt;/p&gt;

&lt;p&gt;When we run the code we have written and click Enter, MATLAB will print the value of each variable.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pXF4U0l7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613853189/H9pzmHDgL.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pXF4U0l7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613853189/H9pzmHDgL.png" alt="First code.png" width="91" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also check the value each variable has by writing them in the command window and clicking Enter:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7jPGl1iF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613885838/rG7LKjncE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7jPGl1iF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613885838/rG7LKjncE.png" alt="Check variables.png" width="72" height="121"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But if we try to check a non-existent variable, MATLAB will give us an error:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MSLPvPWC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613920355/BJuNBmoe7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MSLPvPWC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613920355/BJuNBmoe7.png" alt="Non existant variable.png" width="385" height="52"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also check the existing variables with who:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;who

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Cp-QoMtj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613989652/B5cCqA4sf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Cp-QoMtj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659613989652/B5cCqA4sf.png" alt="who example.png" width="194" height="71"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And more relevant data with whos:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IjXjm-Bh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614087792/Cp_lyBRaL.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IjXjm-Bh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614087792/Cp_lyBRaL.png" alt="whos example.png" width="558" height="142"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, we can delete the value of one variable or all the variables in the workspace with clear:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;clear x % Deletes the x variable
clear % Deletes all variables

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If we don't want to print the result or the variables we introduce, we need to put a ; after each command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x=3;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Same command in different lines and more than one command in one line
&lt;/h3&gt;

&lt;p&gt;Sometimes we may need to write very long commands, and as a consequence, we won't be able to see them in a single row. To solve this, we can use ... and that way, we will be able to continue writing the command in the following line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x=3 + ...
2;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We might also want to write different commands in the same line. For example, when we assign values to many variables. For that, we use the comma:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x=2, y=5; z=y-x;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If we use a , MATLAB will print the value, but not if we use a ;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Repeating commands with History Window
&lt;/h3&gt;

&lt;p&gt;After writing some commands, if we click the up-arrow key, we will open the History Window.&lt;/p&gt;

&lt;p&gt;In that window, we will see all the commands we have written, and we will be able to select one of those by moving up and down with the arrow keys and pressing Enter:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cps31itu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614388256/DP0DzBgsb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cps31itu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614388256/DP0DzBgsb.png" alt="History Window.png" width="499" height="335"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can also edit one of those commands by moving up and down with the arrow keys and then just by changing whatever we want from the command.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting help from MATLAB
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Help function
&lt;/h3&gt;

&lt;p&gt;If we know the command name but need more help with it (know the inputs, outputs, what it does and more), we use the help function. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;help clear

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KuFAmC39--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614475726/uELgqRXZk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KuFAmC39--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614475726/uELgqRXZk.png" alt="help command.png" width="834" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Search Documentation bar
&lt;/h3&gt;

&lt;p&gt;Sometimes we might know what we want to do but not the command. In this case, we go to the Search Documentation bar at the top-right of the MATLAB desktop.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cLJRMBci--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614576675/bgJdyZJdJ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cLJRMBci--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614576675/bgJdyZJdJ.png" alt="search documentation bar.png" width="880" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can write what we want to do in that bar, for example, plotting, and MATLAB will give us many different options for that, including explanations for each of them:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VRFCIVPf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614631773/DGpMgtXI7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VRFCIVPf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.hashnode.com/res/hashnode/image/upload/v1659614631773/DGpMgtXI7.png" alt="MATLAB help.png" width="880" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenge
&lt;/h2&gt;

&lt;p&gt;For you to test what you've learned this far, I propose you some little challenges with MATLAB:&lt;/p&gt;

&lt;h3&gt;
  
  
  Challenge 1:
&lt;/h3&gt;

&lt;p&gt;Can you calculate the following in the command window?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;90+6&lt;/li&gt;
&lt;li&gt;100-24&lt;/li&gt;
&lt;li&gt;3/2&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Challenge 2:
&lt;/h3&gt;

&lt;p&gt;We want to buy some products of price 12. For more than three, then they'll give us a 10% discount. What is the price of 2 products? And of 4?&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;In this post, we have learned how to use MATLAB as our calculator. We also learned some interesting details about the desktop, which we didn't cover in the previous post.&lt;/p&gt;

&lt;p&gt;Now you can use MATLAB as your own calculator! Happy coding!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;You can learn more about the MATLAB desktop in this post:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/sandra1me/simple-matlab-intro-getting-to-know-the-interface-2nl8"&gt;Simple MATLAB Intro. Getting to Know the Interface&lt;/a&gt;&lt;/p&gt;

</description>
      <category>matlab</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Our Gigantic Python Adventure. Now Learning Input &amp; Output</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Thu, 04 Aug 2022 07:19:27 +0000</pubDate>
      <link>https://forem.com/sandra1me/our-gigantic-python-adventure-now-learning-input-output-2bfh</link>
      <guid>https://forem.com/sandra1me/our-gigantic-python-adventure-now-learning-input-output-2bfh</guid>
      <description>&lt;p&gt;In my first post about Python, we discovered how to set everything up to start programming. In this post, we will create together our first Hello World program, and we will learn about how to create inputs and outputs by interacting with the program user. I hope you find this post handy in your Python developing adventures!&lt;/p&gt;

&lt;h2&gt;
  
  
  Our first program: Hello World!
&lt;/h2&gt;

&lt;p&gt;You can use either your IDLE or your code editor for this program. I will use my Visual Studio Code editor.&lt;/p&gt;

&lt;p&gt;So, start by opening the software of your choice, and be prepared to create your very first program (also called script). It is a tradition to write a Hello World as your first program, and we won't be the ones to break that rule.&lt;/p&gt;

&lt;p&gt;We will make Python show us the Hello World text on the screen. For this, we will use the print() function.&lt;/p&gt;

&lt;p&gt;The print() function tells the program that it must show something on the screen. We are the ones in charge of indicating to Python what to display. It can be text, a number, etc.&lt;/p&gt;

&lt;p&gt;To be able to print some text, we must add some double or simple quotes between that text (this will mean that it will be a string, but we'll get to that in another post).&lt;/p&gt;

&lt;p&gt;Notice that the sentence you want to print must also be between parenthesis (many rules, I know). So, the code would be as follows (try to do it yourself too):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print("Hello World!")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To run the script, look for the run button of your program. In the case of Visual Studio Code, you can find it here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zaXefnzj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p4c17j8yzs6w4tvxotr2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zaXefnzj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p4c17j8yzs6w4tvxotr2.png" alt="Run button in Visual Studio Code" width="358" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also press F5 as a shortcut. Remember that you must save the code to run it. The result will be:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GyQLVr6H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sz3ddjgf080vqundszqh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GyQLVr6H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sz3ddjgf080vqundszqh.png" alt="Hello world message" width="130" height="23"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With this print() function, the script can also show on the screen something that the program user introduced before, the result of a calculation, or almost anything you can imagine.&lt;/p&gt;

&lt;p&gt;What this print() function puts on the screen is known as output: the program data shown to the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Input - Output flux
&lt;/h2&gt;

&lt;p&gt;The input-output flux consists of creating a script on which the user introduces data, and the program gives an output depending on that data.&lt;/p&gt;

&lt;p&gt;We can create a script that will say hi to the user.&lt;/p&gt;

&lt;h3&gt;
  
  
  Input function
&lt;/h3&gt;

&lt;p&gt;To ask for data from the user, we use the input() function. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(input("What is your name? "))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FeSdvbuk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/alpiwmgo27qqijho6hgs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FeSdvbuk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/alpiwmgo27qqijho6hgs.png" alt="Input code result" width="222" height="41"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice that the whitespaces between the " " are also characters and that the program will print them on the screen. We usually use those whitespaces at the end of the question for aesthetic purposes (so the answer given is separated from the question).&lt;/p&gt;

&lt;p&gt;It is necessary to know that what we can introduce in the input doesn't need to be a name, as we haven't stated that in the program. We can write a number or even click enter to insert nothing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aB99SoTX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rf4j0b8602pry23zjf8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aB99SoTX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rf4j0b8602pry23zjf8z.png" alt="Input example" width="200" height="39"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With the input itself, we can print the lines in the parenthesis. With the print, we will print on the screen the data introduced by the user. For example, by using only input():&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fdS_Eij7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4mqhoi8lmu32rc81fd91.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fdS_Eij7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4mqhoi8lmu32rc81fd91.png" alt="Only using input" width="207" height="21"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can try doing this yourself to understand it better.&lt;/p&gt;

&lt;h3&gt;
  
  
  Storing data
&lt;/h3&gt;

&lt;p&gt;But what's the use of having user input if we can only print it? Here is where storing data comes to play. We can save this data so we can use it afterwards.&lt;/p&gt;

&lt;p&gt;We need to tell Python where to save this data, and for that, we use what are known as variables.&lt;/p&gt;

&lt;p&gt;I will talk about this in another post, but a brief explanation would be: A variable is a space in the device memory to store data.&lt;/p&gt;

&lt;p&gt;We create variables by giving them a name, and then we assign them a value:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;age=27
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, I have created the variable age and stored 27.&lt;/p&gt;

&lt;p&gt;We can also print the value of that variable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;age=27
print(age)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can try this to start getting comfortable working with variables.&lt;/p&gt;

&lt;p&gt;We can see that I haven't used " " inside print(). It is because what I'm printing is a variable.&lt;/p&gt;

&lt;p&gt;If I use " ", Python will understand that I'll want to print some text, and if I don't use them, it will believe that I want to print the value of a variable.&lt;/p&gt;

&lt;p&gt;You can also combine text using +. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;age=input("How old are you? ")
print("You are "+ age +" years old")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cOQaTysK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7y9szn5mcdjelreusvig.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cOQaTysK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7y9szn5mcdjelreusvig.png" alt="Example code output" width="197" height="43"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can try recreating this program and giving your personal touch to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cheatsheet
&lt;/h2&gt;

&lt;p&gt;Here you can find the commands I have used in this post as a summary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print("text")                 #Print some text
print(input("text"))          #Print some text introduced by the user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;I believe that the first step to being able to be a programmer is to learn how to interact with the users of your program. To do that, we use both print() and input() functions.&lt;/p&gt;

&lt;p&gt;I hope that you have found this post handy. Now you should be able to ask users for input and to print different messages and data. Happy coding, and see you in my next post!&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;p&gt;Here you can find a post where I explain how to set up your computer to begin writing code. Check it out!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://sandramartin.hashnode.dev/ready-for-our-first-contact-with-python-how-to-begin"&gt;Ready for Our First Contact With Python. How to begin&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>programming</category>
    </item>
    <item>
      <title>Ready for Our First Contact With Python. How to begin</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Mon, 01 Aug 2022 14:52:00 +0000</pubDate>
      <link>https://forem.com/sandra1me/ready-for-our-first-contact-with-python-how-to-begin-32c9</link>
      <guid>https://forem.com/sandra1me/ready-for-our-first-contact-with-python-how-to-begin-32c9</guid>
      <description>&lt;p&gt;Python is one of the most popular programming languages in the world right now, as well as the first one many people learn. This fact is not an exception for me, and I plan on explaining all aspects I discover about this language. In this short post, I will explain what Python is and the first steps you need to take to start programming with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Python?
&lt;/h2&gt;

&lt;p&gt;Python is a multipurpose language, which means we can use it for many different tasks: create applications, videogames, web pages and more. One of the most remarkable aspects of Python is that it is super easy to interpret by humans. Due to this, it is far easier to learn than other programming languages.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Zen of Python
&lt;/h3&gt;

&lt;p&gt;The Zen of Python is a list of principles developers follow to write simple, clean and quality programs. These principles are the following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Beautiful is better than ugly&lt;/li&gt;
&lt;li&gt;Explicit is better than implicit&lt;/li&gt;
&lt;li&gt;Simple is better than complex&lt;/li&gt;
&lt;li&gt;Complex is better than complicated&lt;/li&gt;
&lt;li&gt;Flat is better than nested&lt;/li&gt;
&lt;li&gt;Sparse is better than dense&lt;/li&gt;
&lt;li&gt;Readability counts&lt;/li&gt;
&lt;li&gt;Special cases aren't special enough to break the rules&lt;/li&gt;
&lt;li&gt;Practicality beats purity&lt;/li&gt;
&lt;li&gt;Errors should never pass silently&lt;/li&gt;
&lt;li&gt;Unless explicitly silenced&lt;/li&gt;
&lt;li&gt;In the face of ambiguity, refuse the temptation to guess&lt;/li&gt;
&lt;li&gt;There should be one-- and preferably only one --obvious way to do it&lt;/li&gt;
&lt;li&gt;Although that way may not be obvious at first unless you're Dutch&lt;/li&gt;
&lt;li&gt;Now is better than never&lt;/li&gt;
&lt;li&gt;Although never is often better than &lt;em&gt;right&lt;/em&gt; now&lt;/li&gt;
&lt;li&gt;If the implementation is hard to explain, it's a bad idea&lt;/li&gt;
&lt;li&gt;If the implementation is easy to explain, it may be a good idea&lt;/li&gt;
&lt;li&gt;Namespaces are a great idea. Let's do more of those!&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to install Python IDLE
&lt;/h2&gt;

&lt;p&gt;There are two different versions of Python: Python 2 and Python 3. I'm currently learning Python 3, so this is the version about which I will write.&lt;/p&gt;

&lt;p&gt;To run the programs we created, we must have an IDLE (Integrated Developing Environment). We can use the terminal as an IDLE or install a specific program such as Thonny, the Python IDLE, Spyder or Visual Studio Code IDLE.&lt;/p&gt;

&lt;p&gt;If you wish to install any of these, you can follow these links to their webpage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.python.org/downloads/"&gt;Python IDLE&lt;/a&gt;: Download the most recent version of Python 3 and install the .exe file.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://code.visualstudio.com/"&gt;Visual Studio Code&lt;/a&gt;: This is also a text editor, which I will explain in the next section. You need to download and install this program.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://thonny.org/"&gt;Thonny&lt;/a&gt;: At the top of the page, you will find the links to download Thonny for different systems. Choose yours and install it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are many more IDLEs out there, but these are the ones I have tried. I use Visual Studio Code since, as said, it can be used both as an IDLE and as a text editor. I sometimes also use Spyder.&lt;/p&gt;

&lt;p&gt;We can open any IDLE by double clicking on it, and we will be ready to start writing our first program!&lt;/p&gt;

&lt;h2&gt;
  
  
  Code editors
&lt;/h2&gt;

&lt;p&gt;A code editor is a text editor that recognizes the code that we write in it, depending on the extension we use to save the file. For example, if we open a file called helloWorld.py, the code editor will know that the language used is Python; and if we open an index.html, it will understand that we have used Html to write the code.&lt;/p&gt;

&lt;p&gt;Apart from recognizing the language, it also uses different colours to show various parts of the code and helps us write it faster with auto-completion features.&lt;/p&gt;

&lt;p&gt;It is recommended to write our code in a code editor and then run it using an IDLE.&lt;/p&gt;

&lt;p&gt;The code editors I mainly use for Python are Visual Studio Code (which supports many more languages and version control) and Spyder (focused on Python). Both of them are great code editors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--H9AKoZEq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qc47two33daf2d7cy33s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--H9AKoZEq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qc47two33daf2d7cy33s.png" alt="Visual Studio Code" width="880" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JJfJ9Rnr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mx0jgv0koaxf6wntsz6i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JJfJ9Rnr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mx0jgv0koaxf6wntsz6i.png" alt="Spyder" width="880" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can download Visual Studio Code from this &lt;a href="https://code.visualstudio.com/"&gt;link&lt;/a&gt;, while Spyder is in the Anaconda Navigator (&lt;a href="https://www.anaconda.com/"&gt;link HERE&lt;/a&gt;), which is very popular for data science and machine learning. It includes many different features you can use, including the Spyder IDLE and code editor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rWHjxvF0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w4v0v0vvp9g7fhytm5tg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rWHjxvF0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w4v0v0vvp9g7fhytm5tg.png" alt="Anaconda Navigator" width="880" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These two code editors are great as they have an integrated IDLE, so you can write and run the code directly with them.&lt;/p&gt;

&lt;h2&gt;
  
  
  To sum up
&lt;/h2&gt;

&lt;p&gt;Python is a very robust language to learn as we can use it for many different purposes and areas (data analysis, machine learning, web development and more).&lt;/p&gt;

&lt;p&gt;In this post, we have learned the first steps we need to take to get into programming (that is, having the right tools to do so). I hope you have found it handy and happy coding!&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Quick Intro to CATIA V5. Discover the Basic Design Modules</title>
      <dc:creator>Sandra</dc:creator>
      <pubDate>Fri, 22 Jul 2022 07:19:00 +0000</pubDate>
      <link>https://forem.com/sandra1me/quick-intro-to-catia-v5-discover-the-basic-design-modules-2f6b</link>
      <guid>https://forem.com/sandra1me/quick-intro-to-catia-v5-discover-the-basic-design-modules-2f6b</guid>
      <description>&lt;p&gt;In today's post, I wanted to talk about a program that many engineering companies use for 3D design: CATIA V5. It will be a short introduction in which we will cover: The user interface, the start menu and the most used and basic modules in CATIA V5. So, let's get started!&lt;/p&gt;

&lt;h2&gt;
  
  
  Working interface
&lt;/h2&gt;

&lt;p&gt;When we first open CATIA V5, the first thing we will see is:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d5ggZ94u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0zooaewffmok89422oyb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d5ggZ94u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0zooaewffmok89422oyb.png" alt="CATIA V5 user interface" width="880" height="483"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;It may also happen that you see this window:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QdY0gKDP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/40gfb4avbusuuoyx2ynx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QdY0gKDP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/40gfb4avbusuuoyx2ynx.png" alt="CATIA V5 assembly interface" width="880" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don't worry, as it has just opened an assembly design type. Close it with the x button on the top right side (careful not to close the program!).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bb4Rmz0S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifta8tyww1jrcmf93dk3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bb4Rmz0S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifta8tyww1jrcmf93dk3.png" alt="Closing a design window in CATIA V5" width="263" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we can see in the first image, we can find different areas in the working interface:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dropdown menu area:&lt;/strong&gt; All the dropdown menus are located here, with many diverse options.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Toolbar areas:&lt;/strong&gt; This is where all the buttons and options related to the design will appear when we open a module. We can customize these areas by moving the toolbars (we may leave them in the middle of the graphical representation area) and adding or eliminating buttons and options.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graphical representation area:&lt;/strong&gt; This is where our 3D design (or the 2D drawings) will appear and where we will make all the changes to the part or assembly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Message area:&lt;/strong&gt; Where all the messages and tips will appear. For example, if you select a geometry modification operation, CATIA will tell you in this window to choose what feature of the part you want to modify.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Command introduction area:&lt;/strong&gt; You can write different commands instead of clicking buttons in the toolbar areas.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The start menu
&lt;/h2&gt;

&lt;p&gt;In this dropdown menu, we can access all the modules available in CATIA V5, ordered in different categories, depending on the licence that we have installed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kovpukZb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ep5pben3zy03lp5gsfzf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kovpukZb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ep5pben3zy03lp5gsfzf.png" alt="Start menu modules" width="453" height="770"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Most used modules in mechanical design
&lt;/h2&gt;

&lt;p&gt;The modules are also known as Workbenches, and each has different options to work with parts in different ways, depending on what we want to do.&lt;/p&gt;

&lt;p&gt;We will now discover the most used workbenches in mechanical design and shape groups.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mechanical design group
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PYWspvaI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zc6f2dwumfvhq39nfsuq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PYWspvaI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zc6f2dwumfvhq39nfsuq.png" alt="Mechanical design group modules" width="526" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Part Design:&lt;/strong&gt; Used for designing solid parts. In this workbench, we can create any solid geometry. It is the most used module in design.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assembly Design:&lt;/strong&gt;  We use this module to manage different groups made of diverse parts. With this workbench, we can create and join many pieces to create groups. It is a crucial module for creating mechanisms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sketcher:&lt;/strong&gt; We use this one to create drawings. We can make different drawings to prepare the shapes for future parts (with dots, lines, curves, etc.). It is the most fundamental module, as it is necessary to start with any design. It is the first module people always learn.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Drafting:&lt;/strong&gt; We use this to create manufacturing drawings of a 3D geometry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wireframe and Surface Design:&lt;/strong&gt; This is a simple module for surface design. It is not very used, as there is a much better option for surface design: The Generative Shape Design module.&lt;/p&gt;

&lt;h3&gt;
  
  
  Shape group
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EoJbiaZr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y0k1ft5agcm3rpbyan0i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EoJbiaZr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y0k1ft5agcm3rpbyan0i.png" alt="Shape group modules" width="526" height="55"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generative Shape Design:&lt;/strong&gt; This is the main module for creating different surface designs. You will be able to design any shape based on surfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;CATIA V5 is a powerful tool in 3D design, and I consider it the best tool in the market for this job, especially when we talk about surface design.&lt;/p&gt;

&lt;p&gt;The downside is that it is also a very complex program, and mastering all its modules is almost impossible. But I hope that, with this small intro to the software, now you know a bit more about what you can create with this marvellous design tool.&lt;/p&gt;

&lt;p&gt;The possibilities it offers related to CAD design are huge!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
      <category>design</category>
      <category>catia</category>
    </item>
  </channel>
</rss>
