<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Justin,<br>
<br>
X3D has no 'physical' nor 'length' tag/node. I do not know about
Netfabb.<br>
<br>
The UNIT statement was introduced in X3D V3.3 and may not be in
Netfabb's allowed tag set. <br>
<br>
You could wrap all geometry in a Transform AND use the metadata
field to include text about why the scaling is done. As this would
not be a comment, it would be less likely to be dropped during
dissemination. I would also use a META statement in the header to
highlight to the reader that it is scaled from mm to M in the
Transform with the DEF name ConvertLengthUnitsFromMillimeters (for
example).<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:13180A4662DF174AA7E46742F46070EAB0C0CB7A@tppmsg072.phoenixchildrens.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello X3D Public List,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I attempted adding the following (separate
and together); however, opening the files in netfabb had zero
impact on its import scale.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Option 1 (right after opening scene tag):<o:p></o:p></p>
<p class="MsoNormal"><physical><length unit=”MILLI”
basis=”1” numeral=”DEC”/></physical><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Option 2 (right after opening head tag):<o:p></o:p></p>
<p class="MsoNormal"><unit category='length'
conversionFactor='0.001' name='millimeters'/><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="border-collapse:collapse"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:6.5in;padding:0in 0in 0in 0in"
valign="top" width="624">
<table class="MsoNormalTable"
style="width:526.5pt;border-collapse:collapse"
cellspacing="0" cellpadding="0" width="702" border="0">
<tbody>
<tr>
<td colspan="3" style="width:526.5pt;padding:0in
0in 0in 0in" valign="top" width="702">
<p class="MsoNormal" style="line-height:115%"><span
style="color:#1F497D"><img
id="Picture_x0020_1"
src="cid:part1.3CDE97AF.B6590357@realism.com"
alt="cid:image001.png@01CE68DD.51995EF0"
class="" height="15" width="644"></span><span
style="font-size:10.0pt;line-height:115%;color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td rowspan="4" style="width:3.5in;padding:0in 0in
0in 0in" valign="top" width="336">
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;color:#1F497D"><img
id="Picture_x0020_2"
src="cid:part2.EC41D9AC.C5304D4B@realism.com"
alt="cid:image002.jpg@01D29DA3.311203E0"
class="" height="128" width="331"></span><span
style="font-size:10.0pt;line-height:115%;color:#1F497D"><o:p></o:p></span></p>
</td>
<td style="width:246.5pt;padding:0in 0in 0in 0in"
valign="top" width="329">
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<b><span
style="font-size:10.0pt;line-height:115%">Justin
Ryan, PhD</span></b><span
style="font-size:10.0pt;line-height:115%;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<span
style="font-size:10.0pt;line-height:115%">Arizona
State University Adjunct Faculty<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<span
style="font-size:10.0pt;line-height:115%">Phoenix
Children’s Hospital Research Scientist</span><span
style="font-size:10.0pt;line-height:115%;color:black"><o:p></o:p></span></p>
</td>
<td style="width:13.9pt;padding:0in 0in 0in 0in"
width="19">
<p class="MsoNormal"> <span
style="font-size:12.0pt;font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="width:246.5pt;padding:0in 0in 0in 0in"
valign="top" width="329">
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<b><span
style="font-size:10.0pt;line-height:115%;color:red">Phoenix
Children's Hospital</span></b><b><span
style="font-size:10.0pt;line-height:115%;color:red"><o:p></o:p></span></b></p>
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<b><span
style="font-size:10.0pt;line-height:115%;color:red">Cardiac
3D Print Lab</span></b><span
style="font-size:10.0pt;line-height:115%;color:red"><o:p></o:p></span></p>
</td>
<td style="width:13.9pt;padding:0in 0in 0in 0in"
width="19">
<p class="MsoNormal"> <span
style="font-size:12.0pt;font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="width:246.5pt;padding:0in 0in 0in 0in"
valign="top" width="329">
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<span
style="font-size:10.0pt;line-height:115%">p
(602) 933-3902</span><span
style="font-size:10.0pt;line-height:115%;color:black"><o:p></o:p></span></p>
</td>
<td style="width:13.9pt;padding:0in 0in 0in 0in"
width="19">
<p class="MsoNormal"> <span
style="font-size:12.0pt;font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="width:246.5pt;padding:0in 0in 0in 0in"
valign="top" width="329">
<p class="MsoNormal"
style="margin-left:21.5pt;text-indent:-13.5pt;line-height:115%">
<span style="color:#1F497D"><a
href="http://cardiac3dprintlab.com/"
moz-do-not-send="true"><span
style="font-size:10.0pt;line-height:115%;color:#0563C1">Cardiac3DPrintLab.com</span></a></span>
<span style="color:black"><o:p></o:p></span></p>
</td>
<td style="width:13.9pt;padding:0in 0in 0in 0in"
width="19">
<p class="MsoNormal"> <span
style="font-size:12.0pt;font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:#1F497D"><img
id="Picture_x0020_3"
src="cid:part4.621CEA72.1C5E8FA4@realism.com"
alt="cid:image001.png@01CE68DD.51995EF0" class=""
height="15" width="653" border="0"></span><span
style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;color:#1F497D"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
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>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
x3d-public mailing list
<a class="moz-txt-link-abbreviated" href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>
<a class="moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Past Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>