<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://osupdocs.forestry.oregonstate.edu/index.php?action=history&amp;feed=atom&amp;title=BMPRegion_Command</id>
	<title>BMPRegion Command - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://osupdocs.forestry.oregonstate.edu/index.php?action=history&amp;feed=atom&amp;title=BMPRegion_Command"/>
	<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;action=history"/>
	<updated>2026-05-22T04:49:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9648&amp;oldid=prev</id>
		<title>Nairnj: /* Intensity Command */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9648&amp;oldid=prev"/>
		<updated>2023-10-21T20:35:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Intensity Command&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:35, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot;&gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(matID)&amp;lt;/tt&amp;gt; is the material ID for a previously defined [[Material Command Block|material]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(matID)&amp;lt;/tt&amp;gt; is the material ID for a previously defined [[Material Command Block|material]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(grayMin)&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;(grayMax)&amp;lt;/tt&amp;gt; defines a range in gray-scale intensities or text values to map to this material. The numbers must be from 0 (for black) to 255 (for white) and &amp;lt;tt&amp;gt;(grayMin)&amp;lt;/tt&amp;gt; must be less than or equal to &amp;lt;tt&amp;gt;(grayMax)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(grayMin)&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;(grayMax)&amp;lt;/tt&amp;gt; defines a range in gray-scale intensities or text values to map to this material. The numbers must be from 0 (for black) to 255 (for white) and &amp;lt;tt&amp;gt;(grayMin)&amp;lt;/tt&amp;gt; must be less than or equal to &amp;lt;tt&amp;gt;(grayMax)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If the image (or text) data are at higher resolution than the MPM grid, the mapping will check all pixels intersecting each material point location. The material will be set to the most common material at that location (&amp;lt;i&gt;i.e.&amp;lt;/i&gt;, the mode of the data at that location and not the average).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In scripted files, the optional pairs of arguments, &amp;lt;tt&amp;gt;&amp;lt;(prop),(value)&amp;gt;&amp;lt;/tt&amp;gt; are used to specify other initial conditions for the particles in the intensity range In each pair, the first parameter defines the property and the second parameter defines the value. The properties that are valid for both FEA and MPM input files are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In scripted files, the optional pairs of arguments, &amp;lt;tt&amp;gt;&amp;lt;(prop),(value)&amp;gt;&amp;lt;/tt&amp;gt; are used to specify other initial conditions for the particles in the intensity range In each pair, the first parameter defines the property and the second parameter defines the value. The properties that are valid for both FEA and MPM input files are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9647&amp;oldid=prev</id>
		<title>Nairnj: /* Origin Command */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9647&amp;oldid=prev"/>
		<updated>2023-10-21T20:30:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Origin Command&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:30, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Origin Command ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Origin Command ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;Origin&amp;lt;/tt&amp;gt; command within a [[#BMPRegion Commands|&amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; block]] (or &amp;lt;tt&amp;gt;&amp;lt;BMP&amp;gt;&amp;lt;/tt&amp;gt; element in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files) is used to map the image in the [[#BMPRegion Commands|associated file]] to the background MPM grid or the existing FEA mesh.  In &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;script &lt;/del&gt;scripted files, the command is&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;Origin&amp;lt;/tt&amp;gt; command within a [[#BMPRegion Commands|&amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; block]] (or &amp;lt;tt&amp;gt;&amp;lt;BMP&amp;gt;&amp;lt;/tt&amp;gt; element in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files) is used to map the image in the [[#BMPRegion Commands|associated file]] to the background MPM grid or the existing FEA mesh.  In scripted files, the command is&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Origin (x0),(y0),&amp;lt;(z0)&amp;gt;,&amp;lt;(flip)&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Origin (x0),(y0),&amp;lt;(z0)&amp;gt;,&amp;lt;(flip)&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9646&amp;oldid=prev</id>
		<title>Nairnj: /* BMPRegion Commands */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9646&amp;oldid=prev"/>
		<updated>2023-10-21T20:30:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BMPRegion Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:30, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside &amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; blocks, you include various commands to determine how the pixels are converted into material points. The possible subordinate commands are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside &amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; blocks, you include various commands to determine how the pixels are converted into material points. The possible subordinate commands are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[#Origin Command|&amp;lt;tt&amp;gt;Origin&amp;lt;/tt&amp;gt; command]] - used to connected the image coordinates &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;the MPM grid coordinates.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[#Origin Command|&amp;lt;tt&amp;gt;Origin&amp;lt;/tt&amp;gt; command]] - used to connected the image coordinates &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/ins&gt;the MPM grid coordinates.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[#Intensity Command|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command]] - used to determine conversion of gray scale values in the images into material points or rotation angles&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[#Intensity Command|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command]] - used to determine conversion of gray scale values in the images into material points or rotation angles&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Setting Material Orientation|(optional rotation commands)]] - these optional commands provide alternative methods for setting initial material orientation when modeling with [[Material Models|anisotropic materials]], but are only allowed in MPM input files.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Setting Material Orientation|(optional rotation commands)]] - these optional commands provide alternative methods for setting initial material orientation when modeling with [[Material Models|anisotropic materials]], but are only allowed in MPM input files.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9645&amp;oldid=prev</id>
		<title>Nairnj: /* BMPRegion Commands */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9645&amp;oldid=prev"/>
		<updated>2023-10-21T16:14:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BMPRegion Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:14, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;all numbers &lt;/ins&gt;should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP (or text) files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP (or text) files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9644&amp;oldid=prev</id>
		<title>Nairnj at 16:05, 21 October 2023</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9644&amp;oldid=prev"/>
		<updated>2023-10-21T16:05:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:05, 21 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An advanced feature of both [[NairnMPM]] and [[NairnFEA]] is that you can digitize objects directly from images.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An advanced feature of both [[NairnMPM]] and [[NairnFEA]] is that you can digitize objects directly from images &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or data in a text file&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An alternative method for creating meshes in [[NairnFEA]] or material points in [[NairnMPM]] to to create them from an image file. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;image file can be one you draw in a CAD program or can be a photo of object. The later options lets you create realistic numerical models of complex objects in a single command. In 2D or axisymmetric calculations, the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;image &lt;/del&gt;fills in an FEA mesh or adds material points to the grid. in 3D MPM simulations, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the image &lt;/del&gt;represents one slice of the object in the x-y plane at a fixed value of z. By combining a stack of slices, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;those images &lt;/del&gt;can create all material points for a complex 3D object.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An alternative method for creating meshes in [[NairnFEA]] or material points in [[NairnMPM]] to to create them from an image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;file and data in a text &lt;/ins&gt;file. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An &lt;/ins&gt;image file can be one you draw in a CAD program or can be a photo of object. The later options lets you create realistic numerical models of complex objects in a single command&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. A text file is typically created in other software such as a simple python script&lt;/ins&gt;. In 2D or axisymmetric calculations, the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;file data &lt;/ins&gt;fills in an FEA mesh or adds material points to the grid. in 3D MPM simulations, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;each file &lt;/ins&gt;represents one slice of the object in the x-y plane at a fixed value of z. By combining a stack of slices, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the file data &lt;/ins&gt;can create all material points for a complex 3D object.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== BMPRegion Commands ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== BMPRegion Commands ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9634&amp;oldid=prev</id>
		<title>Nairnj: /* Image Width and Height */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9634&amp;oldid=prev"/>
		<updated>2023-09-21T20:45:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Image Width and Height&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:45, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Image Width and Height ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Image Width and Height ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; parameters specify the width and height of the image data, but they can be specified using different styles. The options are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; parameters specify the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;physical &lt;/ins&gt;width and height of the image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or text &lt;/ins&gt;data, but they can be specified using different styles. The options are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Give both as positive numbers - if both numbers are provided and are positive, they give width and height of the image in [[ConsistentUnits Command#Legacy and Consistent Units|length units]] (or determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). They need not match the aspect ratio of actual data, but if they differ the image will be rescaled.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Give both as positive numbers - if both numbers are provided and are positive, they give width and height of the image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or data &lt;/ins&gt;in [[ConsistentUnits Command#Legacy and Consistent Units|length units]] (or determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). They need not match the aspect ratio of actual data, but if they differ the image will be rescaled.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Use a negative number - if either &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; is negative, the absolute value is taken as the number of [[ConsistentUnits Command#Legacy and Consistent Units|length units]] per pixel (or other units per pixel as determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). The total width or height is calculated from the number of pixels in the BMP image.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Use a negative number - if either &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; is negative, the absolute value is taken as the number of [[ConsistentUnits Command#Legacy and Consistent Units|length units]] per pixel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, row, or column &lt;/ins&gt;(or other units per pixel as determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). The total width or height is calculated from the number of pixels in the BMP image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or rows or columns for text files&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Give only one dimension - if only &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; or only &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; are given, the entered parameter gives that dimension of the image in [[ConsistentUnits Command#Legacy and Consistent Units|length units]], if positive, or [[ConsistentUnits Command#Legacy and Consistent Units|length units]] per pixel, if negative  (or other units as determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). The other dimension is calculated from the aspect ratio of the BMP data. To specify only &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; in scripted files, the &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; parameter has to be more negative than -1e8. To specify only &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; in scripted files that are using the optional &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; parameter, the &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; parameter has to be more negative than -1e8.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Give only one dimension - if only &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; or only &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; are given, the entered parameter gives that dimension of the image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or text data &lt;/ins&gt;in [[ConsistentUnits Command#Legacy and Consistent Units|length units]], if positive, or [[ConsistentUnits Command#Legacy and Consistent Units|length units]] per pixel &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or row or column)&lt;/ins&gt;, if negative  (or other units as determined by a [[Units Attribute|units attribute]] in &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files). The other dimension is calculated from the aspect ratio of the BMP &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to trxt file &lt;/ins&gt;data. To specify only &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; in scripted files, the &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; parameter has to be more negative than -1e8. To specify only &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; in scripted files that are using the optional &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; parameter, the &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; parameter has to be more negative than -1e8.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Origin Command ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Origin Command ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9633&amp;oldid=prev</id>
		<title>Nairnj: /* Mapping Angles */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9633&amp;oldid=prev"/>
		<updated>2023-09-21T20:41:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Mapping Angles&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:41, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l125&quot;&gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Mapping Angles ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Mapping Angles ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When the first argument to the &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command is &amp;quot;angles&amp;quot; (or actually any text that is not a material ID), then that command is used to map gray-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scales &lt;/del&gt;in an [[#BMPRegion Commands|associated angles mask file]] to material angle for elements in an FEA mesh or material points in an MPM model. This use of the &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command only makes sense when optional &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;s are used in the [[#BMPRegion Commands|&amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; command]]. Angle mapping for more than one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; file in 3D simulations can be done by using more than one &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command. Each extra command maps the corresponding &amp;lt;tt&amp;gt;(anglePath)&amp;lt;/tt&amp;gt; file in order provided. If there are fewer &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands then &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; files, the remaining files will use the map set by the last &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When the first argument to the &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command is &amp;quot;angles&amp;quot; (or actually any text that is not a material ID), then that command is used to map gray-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scale or text values &lt;/ins&gt;in an [[#BMPRegion Commands|associated angles mask file]] to material angle for elements in an FEA mesh or material points in an MPM model. This use of the &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command only makes sense when optional &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;s are used in the [[#BMPRegion Commands|&amp;lt;tt&amp;gt;BMPRegion&amp;lt;/tt&amp;gt; command]]. Angle mapping for more than one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; file in 3D simulations can be done by using more than one &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command. Each extra command maps the corresponding &amp;lt;tt&amp;gt;(anglePath)&amp;lt;/tt&amp;gt; file in order provided. If there are fewer &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands then &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; files, the remaining files will use the map set by the last &amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In scripted files, the angle mapping form of the command is:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In scripted files, the angle mapping form of the command is:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l138&quot;&gt;Line 138:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 138:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\theta = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(angle1) + &lt;/del&gt;{(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;angle2&lt;/del&gt;)-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(angle1)&lt;/del&gt;\over (gray2)-(gray1)} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\bigl&lt;/del&gt;(g-(gray1)\&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bigr&lt;/del&gt;)&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\theta = {(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gray2&lt;/ins&gt;)-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/ins&gt;\over (gray2)-(gray1)}(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;angle1) + {&lt;/ins&gt;g-(gray1)\&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;over (gray2)-(gray1)}(angle2&lt;/ins&gt;) &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This interpolation applies to all gray scale values, including those outside the range &amp;lt;tt&amp;gt;(gray1)&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;(gray2)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This interpolation applies to all gray scale values, including those outside the range &amp;lt;tt&amp;gt;(gray1)&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;(gray2)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9632&amp;oldid=prev</id>
		<title>Nairnj: /* BMPRegion Commands */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9632&amp;oldid=prev"/>
		<updated>2023-09-21T20:24:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BMPRegion Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:24, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP (or text) files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP (or text) files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP or text files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP or text files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(totalNumber)&amp;lt;/tt&amp;gt; is to optionally set the number of material points in each element of the background grid for this region to differ from the default setting.[[#Notes|&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;]] (it must be square or cube of points per side in 2D or 3D, respectively). This option is for &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files only. Use the &amp;quot;res&amp;quot; option below to pick points per element in scripted file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(totalNumber)&amp;lt;/tt&amp;gt; is to optionally set the number of material points in each element of the background grid for this region to differ from the default setting.[[#Notes|&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;]] (it must be square or cube of points per side in 2D or 3D, respectively). This option is for &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files only. Use the &amp;quot;res&amp;quot; option below to pick points per element in scripted file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9631&amp;oldid=prev</id>
		<title>Nairnj: /* BMPRegion Commands */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9631&amp;oldid=prev"/>
		<updated>2023-09-21T20:22:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BMPRegion Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:22, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the physical width and height for the image (not number of pixels), but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or text) &lt;/ins&gt;files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or text &lt;/ins&gt;files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(totalNumber)&amp;lt;/tt&amp;gt; is to optionally set the number of material points in each element of the background grid for this region to differ from the default setting.[[#Notes|&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;]] (it must be square or cube of points per side in 2D or 3D, respectively). This option is for &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files only. Use the &amp;quot;res&amp;quot; option below to pick points per element in scripted file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(totalNumber)&amp;lt;/tt&amp;gt; is to optionally set the number of material points in each element of the background grid for this region to differ from the default setting.[[#Notes|&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;]] (it must be square or cube of points per side in 2D or 3D, respectively). This option is for &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; files only. Use the &amp;quot;res&amp;quot; option below to pick points per element in scripted file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9630&amp;oldid=prev</id>
		<title>Nairnj: /* BMPRegion Commands */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=BMPRegion_Command&amp;diff=9630&amp;oldid=prev"/>
		<updated>2023-09-21T20:21:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BMPRegion Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:21, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(bmpFilePath)&amp;lt;/tt&amp;gt; is the full or relative path name to either a BMP file (with extension &amp;lt;tt&amp;gt;.bmp&amp;lt;/tt&amp;gt;) or a plain text file containing tab-delimited or comma-separated values (with extension &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt;). Most BMP styles are allowed and the file data are converted to 256 levels of gray (or intensity for RGB files) from 0 to 255. A text file's rows and columns translate to locations as if they were pixels in an image file. Floating point numbers are allowed but should be in the range of 0 to 255 and only integral values matter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the width and height for the image, but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(width)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;(height)&amp;lt;/tt&amp;gt; specify the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;physical &lt;/ins&gt;width and height for the image &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(not number of pixels)&lt;/ins&gt;, but there are [[#Image Width and Height|several ways to specify them]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; specifies are rotation scheme if BMP files are provided to determine those angles. The scheme must by &amp;quot;Z&amp;quot; for 2D simulations (all rotations are about the z axis) or can be any one axis (X, Y, or Z), any pair of axes (e.g., &amp;quot;XY&amp;quot;), or any three axis scheme beginning in Z (e.g., &amp;quot;ZYZ&amp;quot;). The &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; must be followed by one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt; for each axis in the scheme. Because 2D simulations must always be &amp;quot;Z&amp;quot;, the &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; can be omitted and replaced with the one &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(anglesPath)&amp;lt;/tt&amp;gt;,... are 1 to 3 (one for each axis defined in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt;) optional full or relative path names to BMP files whose intensities or values determine a material angle for rotation about the corresponding axis in &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; (or &amp;quot;Z&amp;quot; axis if &amp;lt;tt&amp;gt;(scheme)&amp;lt;/tt&amp;gt; is omitted). The angles can set Euler angles to orient the material axes at the start of simulations with anisotropic materials. The file must be exactly the same size (horizontal and vertical pixels or rows and columns of text) as the image file in &amp;lt;tt&amp;gt;(filePath)&amp;lt;/tt&amp;gt;. The gray scale or text values are mapped to angles by using [[#Mapping Angles|&amp;lt;tt&amp;gt;Intensity&amp;lt;/tt&amp;gt; commands]]. The relation of axes to Euler angles determines the initial [[Setting Material Orientation#Rotation Matrix|rotation matrix]] for each particle.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
</feed>