3 Getting started: entering main settings and setting up the material list
3.1 Setting up the data folder and the user-specific settings folder
Video in English here and in Finnish here.
Please watch also this video: Downloading and installing ArchiFrame and also the additional tutorial videos on this Gettting started video series.
Before starting your own project, it is important to set up two folders: the main data folder which is changed with ArchiFrame updates and the user- or company-specific settings folder. This is to ensure that your own settings and element definitions are not lost when ArchiFrame is updated. In addition, having your own settings in a separate folder makes it easy to back up your settings and to share them with others.
The main data folder exists in the C:\ArchiFrame directory after ArchiFrame installation. To create user-specific settings folder, follow these steps:
- •
Copy folder Data_Yours_BASE_own from Samples-folder to C:\ArchiFrame
- •
Rename that folder according to your company name so that you have C:\ArchiFrame\Data_MyCompany_own
- •
Update the new folder location through the ArchiFrame user interface according to the picture below:
With this setup folder C:\ArchiFrame contains all settings and can be shared to other users or other computers or just backed up easily.
Help for Support package/Create here.
3.2 Contents of the main data folder and the user-specific settings folder
The main data-folder contains the following files, not to be edited by the user:
- •
ArchiFrameBlocks.xml, the default material list
- •
ArchiFrameCnc.lua, cnc-producer. Built in script supports Hundegger bvn-files. There may be many files like ArchiFrameCncBtl.lua and ArchiFrameCncWup.lua to write different cnc-formats.
- •
ArchiFrameCoveringBoards.xml, weatherboard settings.
- •
ArchiFrameElements.xml, element related settings.
- •
ArchiFrameFoundation.xml, foundation related settings.
- •
ArchiFrameFoundationFin.xml, foundation related settings in Finnish.
- •
ArchiFrameListing.lua, listings producer. Default script produces listings either in Excel or in text format.
- •
ArchiFrameTrusses.xml, truss settings.
- •
FrameListingEng.xls, Excel-template in English.
- •
FrameListingFin.xls, Excel-template in Finnish.
- •
FrameListingElemEng.xls, Excel-template for element listing.
- •
FrameListingSummaryEng.xls, Excel-template for summary listing.
- •
ArchiFrameIdsPlanks.xml, preset IDs for plank tools/Give IDs button. To use, please copy to your user specific settings folder and edit the content.
- •
ArchiFrameIdsElements.xml, preset IDs for element tools/Give IDs button. To use, please copy to your user specific settings folder and edit the content.
All measurements in xml-setting files are given in meters and the decimal separator used is a full stop, for example, 57 mm is 0.057.
Usually all updates contain new versions for ArchiFrame library, add-on and the data-folder. To maintain your own settings when installing updates, it is possible to copy some of the standard data-files listed above into user-specific settings folder. If the file exists in user-specific settings folder, it is loaded from there rather than from the main data-folder. There is a mechanism to replace/add/remove parts of data-folder xml-file with information from user-specific settings-folder – more of that later. User specific settings-folder contains files (not all have to be present):
- •
ArchiFrameOwnElems.xml, own element types defined in the main element tools maintained by ArchiFrame. Please see section Own element types/Custom element tools.
- •
ArchiFrameOffsetsEdge.xml, edge offset settings from the main element tool palette maintained by ArchiFrame. Please see section Custom layer edge/opening offsets.
- •
ArchiFrameOffsetsOpening.xml, opening offset settings from the main element tool palette. maintained by ArchiFrame Please see section Custom layer edge/opening offsets.
- •
ArchiFrameCorners.xml, custom corner types from element tool palette maintained by ArchiFrame. Please see here.
- •
ArchiFrameNailings.xml, nailing presets maintained by ArchiFrame.
- •
ArchiFrameLic.txt, the license file may be located here or in the data-folder. This is the recommended place since it allows seamless operation even if the data-folder is updated with program update.
- •
ArchiFrameBlocks.xml, to use this file instead of the file in the data-folder. The recommended way is to use ArchiFrameBlocksChanges.xml file to change parts of the base data-folder’s ArchiFrameBlocks.xml -file.
- •
ArchiFrameElements.xml/ArchiFrameElementsChanges.xml as previous but settings for elements.
- •
ArchiFrameCoveringBoardsChanges.xml/ArchiFrameCoveringBoardsChanges.xml for weatherboards.
- •
ArchiFrameTrusses.xmlArchiFrameTrussesChanges.xml for trusses.
- •
ArchiFrameTenonMortPresets.xml, presets for extended tool palette’s tenon & mortise etc tools.
- •
ArchiFrameCltPresets.xml, used by CLT-types dialog.
- •
ArchiFrameEdgeConnPresets.xml, used by board edge connections dialog.
- •
ArchiFrameArchiCornersPresets.xml, used by corner planks dialog.
- •
ArchiFrameEdgeIBeamGro.xml, used by I Beam grooves dialog.
3.3 Editing the xml settings files
To edit raw plank material list, please check this video and for more advanced settings this one.
Settings files in xml format are edited with a text editor, rather than Word or any other word processor. Notepad++ is recommended instead of plain Notepad, although plain Notepad also works (http://notepad-plus-plus.org/). The benefit of Notepad++ is that it gives warnings about xml-markup errors and formats the file, making it easier to read. To get the xml-support follow these steps:
Then to check if the syntax is ok:
The best tool in Windows for editing xml is Microsoft Visual Studio. A free version of it can be downloaded from this link:
https://visualstudio.microsoft.com/free-developer-offers/
3.4 The ArchiFrame*Changes.xml files
Related videos:
- •
It is possible to add, remove or replace information from base data-folder’s xml-file for easier maintenance. That allows new features to come from the base data-folder and still have customizations in certain parts of the file. ArchiFrame reads first the file from base data-folder and then applies operations from user specific *Changes.xml-file. For example, to add some materials before default materials, there is file ArchiFrameBlocksChanges.xml in user specific settings folder with following content:
<?xml version="1.0" encoding="utf-8"?>
<archiframe>
<materials merge="addpre" mergechildren="1">
<material id="25x38" name="25x38" thickness="0.025" height="0.038" shape="block">
</material>
<material id="45x75" name="45x75" thickness="0.045" height="0.075" shape="block">
</material>
</materials>
<materials>
<material merge="addpost" mergepath="[@id='45x170']" id="45x170 C24" name="45x170 C24" thickness="0.045" height="0.170" shape="block" maxlen="5.1">
</material>
<material merge="replace" mergepath="[@id='45x45']" id="45x45" name="45x45" thickness="0.045" height="0.045" shape="block" maxlen="999">
</material>
<material merge="remove" mergepath="[@id='45x220']">
</material>
</materials>
</archiframe>ArchiFrame processes only nodes having attribute merge = “xxx”. It may have values:
- •
addpre, add current node before existing children.
- •
addpost, add current node after existing children.
- •
remove, remove current node with all its children.
- •
replace, replace base data xml with current node.
If attribute mergechildren is given with value 1 like in the example, the current node’s children are processed instead of the current node. It is also possible to give attribute mergepath to specify the target with attributes using the xpath-like syntax like in the example.
To debug the xml-settings, ArchiFrame copies the resulting texts to clipboard if Shift-key is pressed when closing the settings dialog with OK.
Another option to make changes is to copy the file from default data folder into the user specific settings folder and edit that file. For example, adding material 22x75, original:
<materials>
<!--shape must be specified block/plane/round even if custom profile is given m3factor is the coefficient factor to get m3-quantity from the material. If you omit it, default formula will be used. -->
<material id="block" name="Block" thickness="0.000" height="0.000" shape="block"> </material>
<material id="plane" name="Plane" thickness="0.000" height="0.000" shape="plane"> </material>
<material id="round" name="Round" thickness="0.000" height="0.000" shape="round"> </material>
<material id="22x50" name="22x50" thickness="0.022" height="0.050" shape="block" maxlen="99" m3factor="0.000"> </material>
<material id="22x100" name="22x100" thickness="0.022" height="0.100" shape="block" maxlen="99" m3factor="0.000"> </material>
<material id="42x42" name="42x42" thickness="0.042" height="0.042" shape="block" maxlen="99" m3factor="0.000"> </material>
This file can be freely edited and to reload the new settings into ArchiFrame, please open ArchiFrame settings and close the settings dialog with OK.
<material id="22x50" name="22x50" thickness="0.022" height="0.050" shape="block" maxlen="99" m3factor="0.000"> </material>
<material id="22x75" name="22x75" thickness="0.022" height="0.075" shape="block" maxlen="99" m3factor="0.000"> </material>
<material id="22x100" name="22x100" thickness="0.022" height="0.100" shape="block" maxlen="99" m3factor="0.000"> </material>
<material id="42x42" name="42x42" thickness="0.042" height="0.042" shape="block" maxlen="99" m3factor="0.000"> </material>
This way the custom settings are saved in the user specific settings folder and installing ArchiFrame updates will not change them.
3.5 ArchiFrame’s own settings location
The settings of different tool palettes and the online license are saved into system’s user- specific-folder. In Windows, this folder is C:\Users\[username]\AppData\Local, for example, C:\Users\petteri\AppData\Local. In Mac, the folder is [user]/Library/Preferences. ArchiFrame related files start with the name ArchiFrame. There is no need to edit these files.
3.6 Entering online license information
The online license information is entered here – the login information is given to you by the reseller:
The license pool list shows all available licenses for current login. There may be for example licenses with and without cnc-support, so it is important to select the correct one.
For more information, please see here.