122 lines
12 KiB
HTML
122 lines
12 KiB
HTML
<html><head><title>Arch Site/uk</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Arch Site/uk</h1></div>
|
|
|
|
<div id="mw-content-text" lang="uk" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Arch_Site"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Site.png" class="image"><img alt="Arch Site.png" src="32px-Arch_Site.png" width="32" height="32" srcset="/wiki/images/thumb/9/9a/Arch_Site.png/48px-Arch_Site.png 1.5x, /wiki/images/9/9a/Arch_Site.png 2x" /></a> Arch Site</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Меню прокату
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Arch → Site
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Верстаки
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/uk" title="Arch Module/uk">Arch</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Ярлик за умовчанням
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">S I
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Дивись також
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Floor/uk" title="Arch Floor/uk">Arch Floor</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Building/uk" title="Arch Building/uk">Arch Building</a>
|
|
</td></tr>
|
|
<tr>
|
|
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1"><a href="#Arch_Site"><span class="tocnumber">1</span> <span class="toctext">Arch Site</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Typical_workflow"><span class="tocnumber">6</span> <span class="toctext">Typical workflow</span></a></li>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Solar_diagram"><span class="tocnumber">7</span> <span class="toctext">Solar diagram</span></a></li>
|
|
<li class="toclevel-1 tocsection-7"><a href="#Scripting"><span class="tocnumber">8</span> <span class="toctext">Scripting</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>The Arch Site is a special object that combines properties of a standard FreeCAD group object and Arch objects. It is particularly suited for representing a whole project site, or terrain. In IFC-based architectural work, it is mostly used to organize your model, by containing <a href="Arch_Building.html" title="Arch Building">building</a> objects. The site is also used to manage and display a physical terrain, and can computes volumes of earth to be added or removed.
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<ol><li> Optionally, select one or more objects to be included in your new site</li>
|
|
<li> Press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Site.png" class="image"><img alt="Arch Site.png" src="16px-Arch_Site.png" width="16" height="16" srcset="/wiki/images/thumb/9/9a/Arch_Site.png/24px-Arch_Site.png 1.5x, 32px-Arch_Site.png 2x" /></a> <b>Arch Site</b></span> button, or press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">I</span> keys</li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> After creating a site, you can add more objects to it by drag and dropping them in the Tree View or by using the <a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Add.png" class="image"><img alt="Arch Add.png" src="16px-Arch_Add.png" width="16" height="16" srcset="/wiki/images/thumb/d/d2/Arch_Add.png/24px-Arch_Add.png 1.5x, /wiki/images/thumb/d/d2/Arch_Add.png/32px-Arch_Add.png 2x" /></a> <a href="Arch_Add.html" title="Arch Add">Arch Add</a> tool. This only determines which object is part of the given site, and has no effect on the terrain itself.</li>
|
|
<li> You can remove objects from a site by drag and dropping them out of it the Tree View or by using the <a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Remove.png" class="image"><img alt="Arch Remove.png" src="16px-Arch_Remove.png" width="16" height="16" srcset="/wiki/images/thumb/d/dc/Arch_Remove.png/24px-Arch_Remove.png 1.5x, /wiki/images/thumb/d/dc/Arch_Remove.png/32px-Arch_Remove.png 2x" /></a> <a href="Arch_Remove.html" title="Arch Remove">Arch Remove</a> tool</li>
|
|
<li> You can add a terrain object by editing the Site's <b>Terrain</b> property. The terrain must be an open shell or surface.</li>
|
|
<li> You can add volumes to be added or subtracted from the base terrain, by double-clicking the Site, and adding objects to its Subtractions or Additions groups. The objects must be solids.</li>
|
|
<li> The <b>Extrusion Vector</b> property can be used to solve some problems that can appear when working with subtractions and additions. In order to perform those additions/subtractions, the terrain surface is extruded into a solid, which is then appropriately unioned/subtracted. Depending on the terrain topology, this extrusion might fail with the default extrusion vector. You might therefore be able to remedy the problem by changing this to a different value.</li></ul>
|
|
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
|
|
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Terrain</b>: The base terrain of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Address</b>: The street and housenumber of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Postal Code</b>: The postal or zip code of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>City</b>: The city of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Country</b>: The country of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Latitude</b>: The latitude of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Longitude</b>: The longitude of this site</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Url</b>: An url that shows this site in a mapping website</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Projected Area</b>: The area of the projection of this object onto the XY plane</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Perimeter</b>: The perimeter length of this terrain</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Addition Volume</b>: The volume of earth to be added to this terrain</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Subtraction Volume</b>: The volume of earth to be removed from this terrain</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Extrusion Vector</b>: An extrusion vector to use when performing boolean operations</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Remove Splitter</b>: Remove splitters from the resulting shape</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>North Deviation</b>: The angle between the true North and the north direction in this document</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Solar Diagram</b>: Shows or hides the solar diagram</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Solar Diagram Color</b>: The color of the solar diagram</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Solar Diagram Position</b>: The position of the solar diagram</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Solar Diagram Scale</b>: The scale of the solar diagram</li></ul>
|
|
<h2><span class="mw-headline" id="Typical_workflow">Typical workflow</span></h2>
|
|
<p>Start by creating an object that represents your terrain. It must be an open surface, not a solid. For example, it is easy to import mesh data, that can be turned into a Part Shape from menu <b>Part -> Create Shape from Mesh...</b>. Then, create a Site object, and set its <b>Terrain</b> property to the Part we just created:
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_site_example_01.jpg" class="image"><img alt="Arch site example 01.jpg" src="Arch_site_example_01.jpg" width="1263" height="615" /></a>
|
|
</p><p>Create some volumes (they must be solids) that represent the areas that you wish to be excavated or filled. Double-click the Site object in the Tree View, and add these volumes to the Additions or Subtractions groups. Click OK.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_site_example_02.jpg" class="image"><img alt="Arch site example 02.jpg" src="Arch_site_example_02.jpg" width="1267" height="617" /></a>
|
|
</p><p>The site geometry will be recomputed and the areas, perimeter, and volumes properties recalculated.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_site_example_03.jpg" class="image"><img alt="Arch site example 03.jpg" src="Arch_site_example_03.jpg" width="1267" height="651" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Solar_diagram">Solar diagram</span></h2>
|
|
<p>If <a rel="nofollow" class="external text" href="http://pysolar.org/">pysolar</a> is installed on your system, Arch Sites can display a solar diagram. For this, <b>Longitude</b>, <b>Latitude</b> and <b>NorthDeviation</b> properties must be correctly set, and <b>SolarDiagram</b> view property turned on. <span style="font-size:x-small;"><a href="Release_notes_0.17.html" title="Release notes 0.17">available in version 0.17</a></span>
|
|
</p><p><br />
|
|
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Freecad-solar-diagram.jpg" class="image"><img alt="Freecad-solar-diagram.jpg" src="Freecad-solar-diagram.jpg" width="800" height="470" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Site tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
|
|
</p>
|
|
<pre>makeSite ([objectslist]) </pre>
|
|
<p>creates a site including the objects from the given list.
|
|
</p><p>Example:
|
|
</p>
|
|
<pre>import Arch
|
|
Arch.makeSite() </pre>
|
|
<p>A solar diagram can also be created with:
|
|
</p>
|
|
<pre>import Arch,FreeCADGui
|
|
node = Arch.makeSolarDiagram(-46.38,-23.33) # longitude, latitude, [scale]
|
|
FreeCADGui.ActiveDocument.ActiveView.getSceneGraph().addChild(node) </pre>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Site/uk&oldid=211292">http://www.freecadweb.org/wiki/index.php?title=Arch_Site/uk&oldid=211292</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |