<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm just confirming what Leonard and Alan have pointed out.<div class=""><br class=""></div><div class="">The Design Printing and Scanning Working Group examined NetFabb support for X3D in October 2017 and prepared a document of some issues we discovered; at <a href="http://x3dgraphics.com/examples/X3dForAdvancedModeling/ToolConversions/NetfabbConversionIssues.txt" class="">http://x3dgraphics.com/examples/X3dForAdvancedModeling/ToolConversions/NetfabbConversionIssues.txt</a> . </div><div class=""><br class=""></div><div class="">The X3D files generated by NetFabb for export declare X3D version 3.0; so it makes sense that the Netfabb code predates the introduction of the UNIT statement (which is encoded as an 'unit' XML element in the header section. The Netfabb X3D implementation 'knows' that the default unit for X3D is meters; so it multiplies imported coordinates by 1000 (it also scales coordinates back down by a factor of 0.001 on export); but doesn't yet know that the X3D unit can be overridden by the UNIT statement ( <unit> element ).</div><div class=""><br class=""></div><div class="">This could be worked around with a global Transform node, but as Alan pointed out, Transform nodes are ignored by the NetFabb importer. For the long term solution it would be better for X3D importers such as NetFabb took into account the UNIT declarations when present, and each application made the appropriate conversion on raw X3D data as needed for that domain.</div><div class=""><br class=""></div><div class="">Vince Marchetti</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 8, 2017, at 10:20 AM, Ryan, Justin <<a href="mailto:jryan1@phoenixchildrens.com" class="">jryan1@phoenixchildrens.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello X3D Public List,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I was hoping someone could answer a question for me regarding units. I have been translating STL to X3D for medical 3D models. While the STLs are technically unitless, the de facto standard unit of medical 3D reconstruction is mm. A direct conversion means that the X3D are scaled up by a factor of 1000.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">While I am working on creating a script to scale the coordinate points, I was also hoping on utilizing xml tags to also scale.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I attempted adding the following (separate and together); however, opening the files in netfabb had zero impact on its import scale.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Option 1 (right after opening scene tag):<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><physical><length unit=”MILLI” basis=”1” numeral=”DEC”/></physical><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Option 2 (right after opening head tag):<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><unit category='length' conversionFactor='0.001' name='millimeters'/><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Any ideas as to why neither of these fixed my scale issue? Besides changing the actual coordinate points (dividing all by 1000), are there other unit tags that might be opened by netfabb? My concern with using a <transform scale…> is that the reason why there is a scale might be lost if the files were being disseminated.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Last follow-up question, what is the maximum precision of coordinate points within X3D (if I do go the divide by 1000 route)?<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"><tbody class=""><tr class=""><td width="624" valign="top" style="width: 6.5in; padding: 0in;" class=""><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="702" style="width: 526.5pt; border-collapse: collapse;"><tbody class=""><tr class=""><td width="702" colspan="3" valign="top" style="width: 526.5pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><span style="color: rgb(31, 73, 125);" class=""><span id="cid:image001.jpg@01D36FFC.97B50120"><image001.jpg></span></span><span style="font-size: 10pt; line-height: 15.333332061767578px; color: rgb(31, 73, 125);" class=""><o:p class=""></o:p></span></div></td></tr><tr class=""><td width="336" rowspan="4" valign="top" style="width: 3.5in; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: rgb(31, 73, 125);" class=""><span id="cid:image002.jpg@01D36FFC.97B50120"><image002.jpg></span></span><span style="font-size: 10pt; line-height: 15.333332061767578px; color: rgb(31, 73, 125);" class=""><o:p class=""></o:p></span></div></td><td width="329" valign="top" style="width: 246.5pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px;" class="">Justin Ryan, PhD</span></b><span style="font-size: 10pt; line-height: 15.333332061767578px;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px;" class="">Arizona State University Adjunct Faculty<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px;" class="">Phoenix Children’s Hospital Research Scientist</span><span style="font-size: 10pt; line-height: 15.333332061767578px;" class=""><o:p class=""></o:p></span></div></td><td width="19" style="width: 13.9pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <span style="font-size: 12pt; font-family: Arial, sans-serif;" class=""><o:p class=""></o:p></span></div></td></tr><tr class=""><td width="329" valign="top" style="width: 246.5pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: red;" class="">Phoenix Children's Hospital</span></b><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: red;" class=""><o:p class=""></o:p></span></b></div><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: red;" class="">Cardiac 3D Print Lab</span></b><span style="font-size: 10pt; line-height: 15.333332061767578px; color: red;" class=""><o:p class=""></o:p></span></div></td><td width="19" style="width: 13.9pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <span style="font-size: 12pt; font-family: Arial, sans-serif;" class=""><o:p class=""></o:p></span></div></td></tr><tr class=""><td width="329" valign="top" style="width: 246.5pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px;" class="">p (602) 933-3902</span><span style="font-size: 10pt; line-height: 15.333332061767578px;" class=""><o:p class=""></o:p></span></div></td><td width="19" style="width: 13.9pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <span style="font-size: 12pt; font-family: Arial, sans-serif;" class=""><o:p class=""></o:p></span></div></td></tr><tr class=""><td width="329" valign="top" style="width: 246.5pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt 21.5pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -13.5pt; line-height: 16.866666793823242px;" class=""><span style="color: rgb(31, 73, 125);" class=""><a href="http://cardiac3dprintlab.com/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: rgb(5, 99, 193);" class="">Cardiac3DPrintLab.com</span></a></span><span style="" class=""><o:p class=""></o:p></span></div></td><td width="19" style="width: 13.9pt; padding: 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <span style="font-size: 12pt; font-family: Arial, sans-serif;" class=""><o:p class=""></o:p></span></div></td></tr></tbody></table><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><span id="cid:image003.jpg@01D36FFC.97B50120"><image003.jpg></span></span><span style="color: rgb(31, 73, 125);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div></td></tr></tbody></table><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">This transmission, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential, proprietary, legally privileged, or otherwise protected by law from disclosure. Any unauthorized review, use, copying, disclosure, or distribution is prohibited. If you are not the intended recipient, or the person responsible for delivering this to an addressee, you should notify the sender immediately by telephone or by reply e-mail, and destroy all copies of the original message.<br class=""></div><span style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">x3d-public mailing list</span><br style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:x3d-public@web3d.org" style="color: purple; text-decoration: underline; font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">x3d-public@web3d.org</a><br style="font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" style="color: purple; text-decoration: underline; font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></div></blockquote></div><br class=""></div></body></html>