Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
start:plugins:marineweightschedule:mws-usermanual [2021/09/03 14:32] adminmar [ProjectWeightReport] |
start:plugins:marineweightschedule:mws-usermanual [2021/09/03 15:20] adminmar [ProjectWeightReport] Added custom REGEX & Material names |
No option available. | No option available. |
=== Customization === | === Customization === |
The excel report template "PWE_Model.xlsx" can be modified in the plugin's install directory, usually: | This command behavior can be customized, by editing some files in the install directory((If you installed from Rhino's package manager, the installation path is usually: ''%%%appdata%\McNeel\Rhinoceros\7.0\Plug-ins%%'')). |
| == Excel templates == |
| The excel report template "PWE_Model.xlsx" can be modified to fit your graphical needs, however, it is recommended to edit only the text values, the column sizes, and the logos while keeping the document's general layout. |
| == Naming conventions for the layers == |
| The naming convention for information specified in the layer's names is based on REGEX (Regular expression), which is the most common way to match a text string to a pattern. The default values can be edited in the file "MWS_CustomRegex.yaml" with any standard text editor. |
| <WRAP center round tip 90%> |
| We recommend using the free text editor NotePad++ will make the YAML format more readable: |
| {{ :start:plugins:marineweightschedule:mws_customregex.jpg?nolink |}} |
| </WRAP> |
| You can test in real-time your customized regular expressions at [[https://regex101.com/|https://regex101.com/]], and see if your pattern matches your layer's names. |
| |
<wrap hi>%AppData%\McNeel\Rhinoceros\7.0\Plug-ins\Marine Weight Schedule for RH6-RH7 (dac6da37-23fc-4ad6-9b46-33a2cad9e13b)\//VersionNumber//</wrap> \\ (Adapt Rhino's version if needed, as well as the plugin's version) | **Example1**: [[https://regex101.com/r/0C2262/1|The default regular expression to match the implicit stiffeners between square brackets]]: ''%%[StiffenerName s=value *MaterialName*]%%'' |
| |
It is recommended to edit only the text values and the logos while keeping the document's general layout. | **Example2**: [[https://regex101.com/r/qIbMNb/1|The edited regular expression to match the implicit stiffeners between either square brackets or exclamation marks]]: ''%%[StiffenerName s=value *MaterialName*]%%'' or ''%%!StiffenerName s=value *MaterialName*!%%'' |
---- | ---- |
==== HydrostaticReport ==== | ==== HydrostaticReport ==== |