{"id":1466,"date":"2022-05-29T23:40:24","date_gmt":"2022-05-30T06:40:24","guid":{"rendered":"https:\/\/gantovnik.com\/bio-tips\/?p=1466"},"modified":"2022-06-06T00:36:59","modified_gmt":"2022-06-06T07:36:59","slug":"210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2-2","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2022\/05\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2-2-2-2-3-2-2-2-2-2-2-2\/","title":{"rendered":"#283 Move node to the location of the other node to create coincident nodes in HyperMesh"},"content":{"rendered":"[et_pb_section admin_label=&#8221;section&#8221;]\n\t\t\t[et_pb_row admin_label=&#8221;row&#8221;]\n\t\t\t\t[et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221;]Sometimes, we need to create coincident nodes for CBUSH elements. It is possible to move nodes using the translate function in the menu Tool\/translate\/node<br \/>\nInitially, we have two nodes, and we want to move node 1 to the position of node 2. I will use a scale of 0.95 for the distance between node 1 and node 2, so the final position will be visible. For coincident nodes use a scale of 1.0.<\/p>\n<p>Initial locations:<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223140.jpg?resize=795%2C238&#038;ssl=1\" alt=\"\" width=\"795\" height=\"238\" class=\"alignnone size-full wp-image-1467\" srcset=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223140.jpg 795w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223140-480x144.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 795px, 100vw\" \/><\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227.jpg?resize=1080%2C86&#038;ssl=1\" alt=\"\" width=\"1080\" height=\"86\" class=\"alignnone size-full wp-image-1468\" srcset=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227.jpg 1407w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227-1280x102.jpg 1280w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227-980x78.jpg 980w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227-480x38.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1407px, 100vw\" \/><\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223323.jpg?resize=763%2C102&#038;ssl=1\" alt=\"\" width=\"763\" height=\"102\" class=\"alignnone size-full wp-image-1469\" srcset=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223323.jpg 763w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223323-480x64.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 763px, 100vw\" \/><\/p>\n[\/et_pb_text][\/et_pb_column]\n\t\t\t[\/et_pb_row]\n\t\t[\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, we need to create coincident nodes for CBUSH elements. It is possible to move nodes using the translate function in the menu Tool\/translate\/node Initially, we have two nodes, and we want to move node 1 to the position of node 2. I will use a scale of 0.95 for the distance between node 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"on","_et_pb_old_content":"Sometimes, we need to create coincident nodes for CBUSH elements. It is possible to move nodes using the translate function in the menu Tool\/translate\/node\r\nInitially, we have two nodes, and we want to move node 1 to the position of node 2. I will use a scale of 0.95 for the distance between node 1 and node 2, so the final position will be visible. For coincident nodes use a scale of 1.0.\r\n\r\nInitial locations:\r\n<img src=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223140.jpg\" alt=\"\" width=\"795\" height=\"238\" class=\"alignnone size-full wp-image-1467\" \/>\r\n\r\n<img src=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223227.jpg\" alt=\"\" width=\"1407\" height=\"112\" class=\"alignnone size-full wp-image-1468\" \/>\r\n\r\n<img src=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/05\/2022-05-29_223323.jpg\" alt=\"\" width=\"763\" height=\"102\" class=\"alignnone size-full wp-image-1469\" \/>\r\n\r\n\r\n\r\n\r\n\r\n","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24],"tags":[23],"class_list":["post-1466","post","type-post","status-publish","format-standard","hentry","category-hypermesh","tag-hypermesh"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-nE","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2124,"url":"https:\/\/gantovnik.com\/bio-tips\/2024\/02\/413-1d-elements-in-hypermesh\/","url_meta":{"origin":1466,"position":0},"title":"#413 1D elements in HyperMesh","author":"gantovnik","date":"2024-02-05","format":false,"excerpt":"Bar elements: Bar2 = Configuration 60 (1st order) elements with 2 nodes used to model axial, bending, and torsion behavior. Bar2 elements have a property reference, an orientation vector, offset vectors and ends A and B, and pin flags at ends A and B. Bar3 = Configuration 63 - 1D\u2026","rel":"","context":"In &quot;fem&quot;","block_context":{"text":"fem","link":"https:\/\/gantovnik.com\/bio-tips\/category\/fem\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":760,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/10\/127-create-rbe3-element-using-hypermesh-tcl\/","url_meta":{"origin":1466,"position":1},"title":"#127 Create RBE3 element using tcl in HyperMesh","author":"gantovnik","date":"2020-10-29","format":false,"excerpt":"#127 Create RBE3 element using HyperMesh tcl To create an RBE3 element with dependent node 100 and independent nodes 101,102, and 103 with all of the nodes having all six degrees of freedom and a weight of 1.23 *rbe3 mark_id independent_dofs dof_size independent_weights weight_size dependent_node dof weight mark_id: The ID\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8057,"url":"https:\/\/gantovnik.com\/bio-tips\/2025\/02\/458-hypermesh-tcl-script-to-save-selected-node-ids-and-coordinates-to-a-csv-file\/","url_meta":{"origin":1466,"position":2},"title":"#458 HyperMesh tcl script to save selected node IDs and coordinates to a csv file","author":"gantovnik","date":"2025-02-20","format":false,"excerpt":"In this example, we create n=40 random nodes, select several of them, and save their node IDs and coordinates in a csv file. proc RandomReal {min max} { return [expr (rand()*($max-$min)+$min)] } set x_min 0.0 set x_max 20.0 set y_min 0.0 set y_max 10.0 set n 40 for {set i\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2025\/02\/2025-02-20_005944.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":6260,"url":"https:\/\/gantovnik.com\/bio-tips\/2024\/11\/452-save-selected-nodes-coordinates-to-csv-file-in-tcl-for-hypermesh\/","url_meta":{"origin":1466,"position":3},"title":"#452 Save selected nodes coordinates to*.csv file in tcl for HyperMesh","author":"gantovnik","date":"2024-11-26","format":false,"excerpt":"set script_path [ file dirname [ file normalize [ info script ] ] ] puts $script_path set output_file [file join $script_path \"nodes.csv\"] set file_id [open $output_file \"w\"] puts $file_id \"node_id,x,y,z\" *clearmark nodes 1 *createmarkpanel nodes 1 \"Select Nodes\" set selected_nodes [hm_getmark nodes 1] if {[llength $selected_nodes] == 0} { puts\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2017,"url":"https:\/\/gantovnik.com\/bio-tips\/2024\/01\/402-find-edge-nodes-of-mesh-and-create-node-sets-for-each-edge-using-tcl-script-in-hypermesh\/","url_meta":{"origin":1466,"position":4},"title":"#402 Find edge nodes of mesh and create node sets for each edge loop using tcl script in HyperMesh","author":"gantovnik","date":"2024-01-07","format":false,"excerpt":"Assume we have this model: The script will find all edges and create set of nodes for each edge:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/01\/ex402_3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/01\/ex402_3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/01\/ex402_3.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":779,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/133-create-vectors-and-planes-using-tcl-in-hypermesh\/","url_meta":{"origin":1466,"position":5},"title":"#133 Create vectors and planes using tcl in HyperMesh","author":"gantovnik","date":"2020-11-12","format":false,"excerpt":"","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/1466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=1466"}],"version-history":[{"count":0,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/1466\/revisions"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=1466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=1466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=1466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}