{"id":5514,"date":"2024-11-07T11:38:03","date_gmt":"2024-11-07T10:38:03","guid":{"rendered":"https:\/\/www.nextfem.it\/it\/?page_id=5514"},"modified":"2024-12-03T08:47:23","modified_gmt":"2024-12-03T07:47:23","slug":"grasshopper-plugin","status":"publish","type":"page","link":"https:\/\/www.nextfem.it\/it\/grasshopper-plugin\/","title":{"rendered":"Grasshopper plugin"},"content":{"rendered":"<table style=\"width: 100%; border: none; border-collapse: collapse; border-radius: 15px; background-color: #daf2e8;\" border=\"medium\">\n<tbody>\n<tr>\n<td style=\"width: 30%; border: none;\" rowspan=\"2\"><img decoding=\"async\" class=\"wp-image-5516 aligncenter\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH.png\" alt=\"\" width=\"115\" height=\"115\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH.png 240w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH-150x150.png 150w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH-24x24.png 24w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH-48x48.png 48w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/logoGH-96x96.png 96w\" sizes=\"(max-width: 115px) 100vw, 115px\" \/><\/td>\n<td style=\"width: 70%; border: none;\">\n<h2><strong>Grasshopper<\/strong> plugin<\/h2>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 70%; border: none;\">\n<h5>for NextFEM Designer &amp; Server<\/h5>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Our brand-new Grasshopper plugin allows to exchange data with NextFEM Designer or NextFEM Server through <a href=\"https:\/\/www.nextfem.it\/it\/free-api\/\">NextFEM API<\/a>.<\/p>\n<p>It is available on Rhino PackageManager or in <a href=\"https:\/\/www.food4rhino.com\/en\/app\/nextfem-link\" target=\"_blank\" rel=\"noopener\"><strong>Food4Rhino<\/strong><\/a>. Continue reading for manual installation.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-5515\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/ghPluginNF.jpg\" alt=\"\" width=\"568\" height=\"195\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/ghPluginNF.jpg 673w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/ghPluginNF-300x103.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/ghPluginNF-600x206.jpg 600w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/p>\n<h4>Installation<\/h4>\n<p>The NextFEM plugin for Grasshopper requires NextFEM Designer installed on the system, and was specifically designed for Rhino 8.<\/p>\n<div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-load_more ewd-ufaq-category-tabs-\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='title' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='desc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/it\/wp-json\/wp\/v2\/pages\/5514' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-default ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-5523-J1R2HHxSZL' data-post_id='5523'>\n\n\t\t\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#' role=\"button\">\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-square'>\n\t\t\t<span >A<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tDownload Grasshopper plugin\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body' >\n\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t<span class=\"wppb-shortcode-restriction-message\">Devi fare il <a href=\"http:\/\/www.nextfem.it\/it\/login_it\/\">login<\/a> per scaricare gratuitamente il programma.<\/span>\n<\/div>\n\t\t\n\t\t\t<div class='ewd-ufaq-faq-custom-fields'>\n\n\t\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>\n<p>The <em>.gha<\/em> file can be placed alternatively:<\/p>\n<p>&#8211; in C:\\Users\\&lt;username&gt;\\AppData\\Roaming\\Grasshopper\\Libraries for local user installation<br \/>\nor<br \/>\n&#8211; C:\\Program Files\\Rhino 8\\Plug-ins\\Grasshopper\\Components for make it avaialble for all users (discouraged). Administrator privileges are required.<\/p>\n<p>Then, start Rhino and Grasshopper. You should see a new ribbon bar named &#8220;NextFEM&#8221;.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5524\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_ribbon.jpg\" alt=\"\" width=\"631\" height=\"412\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_ribbon.jpg 631w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_ribbon-300x196.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_ribbon-600x392.jpg 600w\" sizes=\"(max-width: 631px) 100vw, 631px\" \/><\/p>\n<h4>Usage<\/h4>\n<p><strong>Prerequisite<\/strong><\/p>\n<p>If you&#8217;re going to use the Grasshopper plugin with our current installation of NextFEM Designer, REST API server must be active.<\/p>\n<p>Before to start, open NextFEM Designer, select the Plugins ribbon bar and click on <strong>REST API server<\/strong>. When the small server window is displayed, you can safely close it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5526\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver.jpg\" alt=\"\" width=\"683\" height=\"680\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver.jpg 683w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-300x300.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-150x150.jpg 150w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-600x597.jpg 600w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-24x24.jpg 24w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-48x48.jpg 48w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/startNFserver-96x96.jpg 96w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/><\/p>\n<h5>Base COMPONENTS<\/h5>\n<p><span style=\"text-decoration: underline;\">One of the base components is required to use any other component from other groups<\/span> (e.g. Ops).<\/p>\n<p><strong>NextFEM export<\/strong> allows to export the current Rhino model to Designer or towards a Server, or even to a .NXF file. This command converts Curves in beam elements and Meshes (no BRep) in shell elements, finally merging overlapped nodes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5525\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel.jpg\" alt=\"\" width=\"1180\" height=\"545\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel.jpg 1854w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel-300x139.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel-1024x473.jpg 1024w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel-768x355.jpg 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel-1536x709.jpg 1536w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/GH_exportModel-600x277.jpg 600w\" sizes=\"(max-width: 1180px) 100vw, 1180px\" \/><\/p>\n<p><em>Input paramers:<\/em><\/p>\n<p>&#8211; (optional) Filename: string specifying the path for saving the .NXF model<\/p>\n<p>&#8211; (optional) Server: string containing the NextFEM API server address. Default is http:\/\/localhost:5151<\/p>\n<p><em>Output parameters:<\/em><\/p>\n<p>&#8211; Nodes: list of exported nodes ID<\/p>\n<p>&#8211; Elements: list of exported elements ID<\/p>\n<p>&nbsp;<\/p>\n<p><strong>NextFEM Live model<\/strong> permits to exchange data with the model opened in NextFEM Designer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5527\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model.jpg\" alt=\"\" width=\"1158\" height=\"364\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model.jpg 1320w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model-300x94.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model-1024x322.jpg 1024w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model-768x241.jpg 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/grasshopper_NF_model-600x189.jpg 600w\" sizes=\"(max-width: 1158px) 100vw, 1158px\" \/><\/p>\n<p><em>Input paramers:<\/em><\/p>\n<p>&#8211; (optional) Server: string containing the NextFEM API server address. Default is http:\/\/localhost:5151<\/p>\n<p><em>Output parameters:<\/em><\/p>\n<p>&#8211; Nodes: list of nodes ID<\/p>\n<p>&#8211; Elements: list of elements ID<\/p>\n<p>&#8211; Sections: list of sections ID<\/p>\n<p>&#8211; Materials: list of materials ID<\/p>\n<p>&#8211; SelNodes: list of currently selected nodes in NextFEM Designer viewport<\/p>\n<p>&#8211; SelElems: list of currently selected elements in NextFEM Designer viewport<\/p>\n<p>&nbsp;<\/p>\n<h5>OPS COMPONENTS<\/h5>\n<p>This group contains all the possible operations with the model data. Typically, such components requires as input the parameters supplied by the a Base component.<\/p>\n<ul>\n<li><strong>Element data<\/strong>: takes as input element IDs and returns various information about the elements<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5528\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/elementData_GH.jpg\" alt=\"\" width=\"733\" height=\"174\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/elementData_GH.jpg 733w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/elementData_GH-300x71.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/elementData_GH-600x142.jpg 600w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><\/li>\n<li>Node: takes as input a list of node IDs and returns a vector with the coordinates of each node.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5632\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3.jpg\" alt=\"\" width=\"100%\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3.jpg 1280w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3-300x169.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3-1024x576.jpg 1024w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3-768x432.jpg 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3-600x338.jpg 600w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/promo-3-128x72.jpg 128w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Download Grasshopper plugin Devi fare il login per scaricare gratuitamente il programma.<\/p>\n","protected":false},"author":136,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-5514","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/5514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/users\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/comments?post=5514"}],"version-history":[{"count":0,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/5514\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/media?parent=5514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}