{"id":2334,"date":"2017-10-01T14:16:06","date_gmt":"2017-10-01T14:16:06","guid":{"rendered":"http:\/\/avastar.online\/?page_id=2334"},"modified":"2017-10-01T14:16:06","modified_gmt":"2017-10-01T14:16:06","slug":"import-secondlife-shape","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/292\/help\/io\/import-secondlife-shape\/","title":{"rendered":"Import Shape"},"content":{"rendered":"<h1><image src=\"\/avastar\/292\/wp-content\/uploads\/2019\/08\/approve_logo_280.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Secondlife Shape Importer<\/h1>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Secondlife supports the export of custom Avatar Shapes as Data files in XML<sup>(*)<\/sup> Format. The Shape Importer converts those data files into Avastar Appearance Slider configurations.<\/p>\n<p>You can access the Shape importer either from the File Menu or from the Properties editor (see image). We explain both options below.<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5879 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">(*) more on XML ...<\/h3><div class=\"symple-toggle-container symple-clearfix\"><span style=\"color: #ff6600;\"> <sup>(*)<\/sup><\/span>: XML (<a href=\"https:\/\/en.wikipedia.org\/wiki\/XML\">Extensible Markup Language<\/a>) is not a defined data format. It is just a language. The SL Shape Importer assumes that the imported data is in that XML language and it assumes the data contains Secondlife Shape information. If the Data is not XML or does not contain SL Shape data, then the Shape Importer will fail utterly! <\/div><\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Sidenote: How to Export a Shape from Secondlife ...<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>In most viewers you find a shape export option hidden in the advanced menu:<\/p>\n<p>Develop -&gt; Avatar -&gt; Character Tests -&gt; Appearance to XML<\/p>\n<p>This silently creates a file called:<\/p>\n<pre><code>[application_folder]\/character\/&lt;SL-user&gt;_s_000.xml<\/code><\/pre>\n<\/div>\n<div class=\"rhcol span5\">\n<div id=\"attachment_5877\" style=\"width: 980px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image876.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5877\" class=\"wp-image-5877 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image876.png\" alt=\"\" width=\"970\" height=\"545\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image876.png 970w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image876-300x169.png 300w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image876-768x432.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><p id=\"caption-attachment-5877\" class=\"wp-caption-text\">Click to Zoom<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>This file content is your current shape ready to be loaded into Avastar. [application_folder] is the viewer&#8217;s application data folder. For Windows this folder is located at:<\/p>\n<p>C:\\Users\\&lt;PC-User&gt;\\AppData\\Roaming\\Second Life\\logs\\&lt;SL-User&gt;_s_000.xml<\/p>\n<p>where :<\/p>\n<ul>\n<li>PC-User: The name of your Windows User<\/li>\n<li>SL-User: The name of your Avatar<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5879 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n<p>The Shape Importer is used in 3 different scenarios as described below:<\/p>\n<h3>Import an SL Shape into a new Avastar Armature<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Suppose you start a fresh Project with an empty scene. You already have downloaded your personal Shape from Second Life in the SL Shape file format (see above). Now you want to create a new Avastar character with exactly this shape:<\/p>\n<p>You find the XML Shape importer in the regular Blender Import menu under<\/p>\n<pre>File -&gt; Import -&gt; Shape as Avastar<\/pre>\n<\/div>\n<div class=\"rhcol span5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5471 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-005.png\" alt=\"\" width=\"727\" height=\"568\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-005.png 727w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-005-300x234.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>The tool first opens a file selector where you select the shape file that you want to import. Note that you have import options (see image)<\/p>\n<ul>\n<li><span style=\"color: #ff6600;\"><em>Rig Type:<\/em><\/span><br \/>\nUse <em>Basic<\/em> to get a classic SL Rig.<br \/>\nUse <em>Extended<\/em> to get a Bento Rig.<\/li>\n<li><span style=\"color: #ff6600;\"><em>Use Quads:<\/em><\/span> Create Meshes mostly with Quads.<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5469 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-804.png\" alt=\"\" width=\"321\" height=\"245\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-804.png 321w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-804-300x229.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Avastar creates the new Avastar character in the scene, and finally applies the imported shape to the Appearance Slider system.<\/p>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span><\/strong> By default Only the Deform bones are displayed. You can change the bone visibility in the <em><span style=\"color: #ff6600;\">Rig Display panel<\/span><\/em> (see image)<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5470 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-805.png\" alt=\"\" width=\"690\" height=\"520\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-805.png 690w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2019\/09\/Image-805-300x226.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/div>\n<\/div>\n<h3><span style=\"color: #3366ff;\">Variation 1:<\/span> Import SL Shape into existing Avastar Armature<\/h3>\n<p>Assume you already have an Avastar in the scene and that Avastar is already selected. If you call the SL Shape Importer now, then it does not create a new Avastar character, but it applies the imported shape directly to the active Avastar armature.<\/p>\n<h3><span style=\"color: #3366ff;\">Variation 2:<\/span> Use the Avastar Shape Import panel<\/h3>\n<p>Instead of using the classic Blender style Import as described above, you also can use the Avastar Shape IO Panel.<\/p>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>You find the Shape import\/export Panel in the Object properties of the Avastar Armature.<\/p>\n<ul>\n<li>Go to object mode.<\/li>\n<li>Select the Rig (LMB on the yellow circles around the mesh).<\/li>\n<li>Open the Properties window (on the right side).<\/li>\n<li>Navigate to the &#8220;Object&#8221; properties.<\/li>\n<\/ul>\n<p>There you find a panel named <strong>Avatar Shape IO<\/strong>.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5876 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image875.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image875.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image875-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<\/div>\n<\/div>\n<p>This panel offers 4 functions:<\/p>\n<h4>Load Shape<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When you click on Load Shape, then a file selection box opens where you can select which Shape file you want to import.<\/p>\n<p>The Shape will be applied to the active Armature.<br \/>\nThis is actually the same as Variation 1 (see above)<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5879 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image877-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<h4>Save Shape to<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Create a new Shape file with your current shape settings. This file can later be used for Load Shape (see above). Right to the <strong>Save Shape to<\/strong> button you find a selector for the save destination:<\/p>\n<ul>\n<li>You can either save your Shape to File.<\/li>\n<li>or to a Blender text block. In that case the slider values are found in the Blender text editor panel. The values correspond to the shape settings in the SL viewer.<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span4\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5882 size-full alignleft\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image878.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image878.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image878-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/div>\n<\/div>\n<p><span style=\"color: #3366ff;\"><strong>Note<\/strong>:<\/span> Some viewers support the upload of shape file to SL (e.g. Firestorm, Singularity). To see the file, switch to the Blender Text editor and locate <em>Shape for: Avatar<\/em> (Avatar stands for the name of the Armature). Useful when you need to update the shape in SL with the values from blender.<\/p>\n<h4>Refresh Shape:<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>This resets the Avastar meshes to the current Shape values. Also if you messed up the Avastar meshes (by editing them) you can return the mesh back to the current shape slider values.<\/p>\n<div class=\"symple-box  red center \" style=\"text-align:left;\"> <span style=\"color: #993300;\"><strong>Warning:<\/strong><\/span> if you added or removed vertices from the Avastar meshes, this function will fail! <\/div>\n<\/div>\n<div class=\"rhcol span5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5890 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image880.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image880.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image880-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/div>\n<\/div>\n<div class=\"span6 rhcol\">\n<h4>Delete Avastar Meshes<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Remove all Shapes from the Avastar character. You will want this when you use the rig for non human characters where keeping the Avastar human meshes make no sense.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5891 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image881.png\" alt=\"\" width=\"322\" height=\"204\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image881.png 322w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2020\/04\/Image881-300x190.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Secondlife supports the export of custom Avatar Shapes as Data files in XML(*) Format. The Shape Importer converts those data files into Avastar Appearance Slider configurations.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":3761,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-2334","page","type-page","status-publish","hentry","category-help"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/2334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/comments?post=2334"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/2334\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/3761"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/media?parent=2334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/categories?post=2334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/tags?post=2334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}