Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
start:plugins:marineweightschedule:mws-usermanual [2021/12/14 14:59]
adminmar [ProjectWeightReportByHullSection]
start:plugins:marineweightschedule:mws-usermanual [2021/12/14 15:10]
adminmar [ProjectWeightReportByHullSection]
Line 133: Line 133:
 ===  Options ===  ===  Options === 
 No option available. No option available.
 +=== Scripted mode ===
 +Using the command's scripted mode //-ProjectWeightReportByHullSection// will enable an hidden option:
 +  * **AxisLengthInMeters**: Enter the gravity center's preview axis length used in the result views
 === Customization === === Customization ===
 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%%'')). 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%%'')).
Line 153: Line 156:
 The resulting Excel file will contain the usual model-wide report, plus independent reports for every section. (Named from S001 to Sxxx) The resulting Excel file will contain the usual model-wide report, plus independent reports for every section. (Named from S001 to Sxxx)
 {{ :start:plugins:marineweightschedule:pwr_hs.jpg?nolink |}} {{ :start:plugins:marineweightschedule:pwr_hs.jpg?nolink |}}
- 
 === Walkthrough === === Walkthrough ===
   - Run the command //ProjectWeightReportByHullSection//   - Run the command //ProjectWeightReportByHullSection//
   - Pick the x-axis coordinates delimiting the sections((The coordinates can be registered either by clicking on the model or by entering numbers in the command line.)).   - Pick the x-axis coordinates delimiting the sections((The coordinates can be registered either by clicking on the model or by entering numbers in the command line.)).
   - The script will split internally the curves and surfaces, and sort points and volumes by each section's bounding box. GBlocks will be allocated using the location of their gravity centers.   - The script will split internally the curves and surfaces, and sort points and volumes by each section's bounding box. GBlocks will be allocated using the location of their gravity centers.
 +<WRAP center round important 90%>
 +Items((Volumes, surfaces, curves, points, or GBlocks)) located on the plane between two sections will be counted in both sections, leading to a difference between the global weight and the sum of every section's weight. A solution is to offset the cutting plane by a few millimeters.
 +</WRAP>
 +<WRAP center round info 90%>
 +Solids((Closed polysurfaces)) __must not__ by split, because the result would be opened polysurfaces, which is forbidden when creating a //ProjectWeightReport//
 +</WRAP>
 +
 === Scripted mode === === Scripted mode ===
 Using the command's scripted mode //-ProjectWeightReportByHullSection// will enable two hidden options: Using the command's scripted mode //-ProjectWeightReportByHullSection// will enable two hidden options: