{"id":9378,"date":"2024-03-08T10:17:49","date_gmt":"2024-03-08T15:17:49","guid":{"rendered":"https:\/\/blogs.sw.siemens.com\/nx-design\/?p=9378"},"modified":"2026-03-26T04:37:41","modified_gmt":"2026-03-26T08:37:41","slug":"nx-tips-tricks-algorithmic-text-modeling","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/nx-design\/nx-tips-tricks-algorithmic-text-modeling\/","title":{"rendered":"NX | Tips and Tricks | Algorithmic Text Modeling"},"content":{"rendered":"\n<p>Our latest NX\u2122 software Tips and Tricks video demonstrates a useful new algorithmic modeling tool for controlling offset regions. <\/p>\n\n\n\n<p>Released in December 2023, the Offset Region node is a versatile addition to the Logic Editor with five inputs to connect with other nodes in your logic rules. We&#8217;ll show you how to use it with the Text On Face node to create embossed or indented text on a body.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"NX | Tips and Tricks | Algorithmic Text Modeling\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/OqE-YY-U89Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction to Algorithmic Modeling<\/h2>\n\n\n\n<p>The workflow we explain here follows on from our previous Tips and Tricks post about <a href=\"https:\/\/blogs.sw.siemens.com\/nx-design\/algorithmic-modelling\/\" data-type=\"link\" data-id=\"https:\/\/blogs.sw.siemens.com\/nx-design\/algorithmic-modelling\/\">Algorithmic Modeling<\/a>.<\/p>\n\n\n\n<p>It&#8217;s worth reading that blog first to familiarize yourself with the dataset and the design process. It&#8217;s also a great introduction to creating algorithmic features using the intuitive visual programming in NX&#8217;s Logic Editor.<\/p>\n\n\n\n<p>But if you&#8217;re short on time, here&#8217;s a quick summary:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The model is a shower unit with two control dials<\/li>\n\n\n\n<li>We used algorithmic modeling to add display text around the flow control dial<\/li>\n\n\n\n<li>The feature dynamically updates so we can quickly change the text without manual re-modeling<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-align-center wp-element-button\" href=\"https:\/\/blogs.sw.siemens.com\/nx-design\/algorithmic-modelling\/\">NX | Tips &amp; Tricks | Algorithmic Modeling<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The new Offset Region node<\/h2>\n\n\n\n<p>In the previous blog, we embossed the text on the shower unit with the Extrude command. This is quite efficient because using Extrude on the algorithmic feature affects all of the text at once &#8211; you don&#8217;t have to select and Extrude each piece of text individually.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"313\" height=\"219\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/offset-region-node.png\" alt=\"A screenshot of NX CAD software showing the Offset Region node with in the Logic Editor visual programming interface\" class=\"wp-image-9382\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/offset-region-node.png 313w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/offset-region-node-300x210.png 300w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><\/figure><\/div>\n\n\n<p>The Offset Region node, however, allows an even better approach. We can now incorporate the embossed effect within the algorithmic feature itself by adding the new node to our existing rule. <\/p>\n\n\n\n<p>First we need to define the <strong>Face<\/strong>, the <strong>Boundary curve<\/strong> and the <strong>Offset Distance<\/strong> inputs.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The face is the same as for the rest of the rule, so we simply link that to the existing <em>Select Face<\/em> node<\/li>\n\n\n\n<li>A flattened list from <em>Text on Face<\/em>&#8216;s Curves output provides the inner and outer boundaries of the text<\/li>\n\n\n\n<li>We can set the offset distance with a numerical value input of our choice<\/li>\n<\/ul>\n\n\n\n<p>After inputting an offset distance, you can preview the offset in the Graphics Window. <\/p>\n\n\n\n<p>You can also use <strong>Reverse Offset Direction<\/strong> with a Boolean input &#8211; in this case, that lets us choose between embossed and indented text.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"761\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/dial.png\" alt=\"A screenshot of NX CAD software showing algorithmically modeled text on a 3D CAD model\" class=\"wp-image-9384\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/dial.png 934w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/dial-300x244.png 300w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/dial-768x626.png 768w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/dial-900x733.png 900w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Dynamic updates<\/h2>\n\n\n\n<div class=\"wp-block-media-text is-stacked-on-mobile\" style=\"grid-template-columns:33% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"684\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/edit-parameters.png\" alt=\"A screenshot of NX CAD software showing the Edit Parameters menu for an algorithmic feature\" class=\"wp-image-9383 size-full\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/edit-parameters.png 362w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/edit-parameters-159x300.png 159w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p>As we showed in the previous blog, one benefit of algorithmic features is that you can quickly make significant changes by simply tweaking a few parameters.<\/p>\n\n\n\n<p>You can do this straight from the Part Navigator by right-clicking an algorithmic feature and selecting Edit Parameters. <\/p>\n\n\n\n<p>Adding the Offset Region node to our model has given us two more parameters with which we can control the feature &#8211; Offset Distance and Reverse Offset Direction. <\/p>\n\n\n\n<p>The latter lets us switch between embossed and indented text by simply checking or unchecking a box. <\/p>\n\n\n\n<p>Whatever parameter you change, you can see the entire algorithmic feature dynamically update in the Graphics Window.<\/p>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Watch the Tips &amp; Tricks video <\/h2>\n\n\n\n<p>It&#8217;s called visual programming for a reason, so the best way to understand the power of algorithmic modeling in NX is to watch the video!<\/p>\n\n\n\n<p>And remember, you can save Logic Editor rules to the Reuse Library to accelerate design time even more when you and your colleagues work on future projects.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"NX | Tips and Tricks | Algorithmic Text Modeling\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/OqE-YY-U89Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Our latest NX\u2122 software Tips and Tricks video demonstrates a useful new algorithmic modeling tool for controlling offset regions. Released&#8230;<\/p>\n","protected":false},"author":86058,"featured_media":9389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1,162,163,166],"tags":[],"industry":[],"product":[],"coauthors":[3743],"class_list":["post-9378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-learning-resources","category-product-updates","category-tips-tricks"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/2\/2024\/03\/Blog_Header_TipsTricks_Test-and-Algorithmic-Modeling.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/posts\/9378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/users\/86058"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/comments?post=9378"}],"version-history":[{"count":4,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/posts\/9378\/revisions"}],"predecessor-version":[{"id":9419,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/posts\/9378\/revisions\/9419"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/media\/9389"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/media?parent=9378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/categories?post=9378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/tags?post=9378"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/industry?post=9378"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/product?post=9378"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/nx-design\/wp-json\/wp\/v2\/coauthors?post=9378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}