Section Tools Primer
Section Tools Primer
®
Rhinoceros
Copyright © 2021 Robert McNeel & Associates. All rights reserved.
Rhinoceros is a registered trademark and Rhino is a trademark of Robert McNeel & Associates.
Dynamic 3D Sections 5
stCreate Command 6
stCreate Options 6
Scripting Custom Sections 9
stExtractSections Command 11
stExtractSections Options 11
Edit Sections 13
stEditSections Command 13
stEditSections Options 13
stEditSectionsObjects Command 14
stEditSectionsHint Command 14
stEdit2DLayout Command 14
stEdit2DLayout Options 15
Sections Utilities 18
Create Reports 18
For Rhino 7:
Open Rhino 7, run the PackageManager command. Under Online tab > search for
SectionTools, select the latest version, and click Download and Install, then restart Rhino.
For Rhino 6:
Download and double click on the installation file SectionTools*.rhi. The latest download and
updates are available here: http://www.food4rhino.com/app/sectiontools-rhino
Note: Install the plug-in only once. After the initial installation, SectionTools automatically loads
when Rhino starts.
Toolbars
The SectionTools.rui file includes all plug-in commands and is installed with the plugin-in.
To load toolbars:
Dynamic 3D Sections
SectionTools allows you to import sections, create sections interactively, update, extract 2D
layouts, and generate basic reports. Sections data is saved to the document and can be updated
when the model changes. Each section plane has a corresponding clipping plane object hidden in
that section's layer. Sections cut through polysurface, surface, meshes, subD objects and blocks.
Each section curve is named following the format: LayerName_ObjectName. This allows sorting
the curves by object in the reports.
Section curves can be set to take the properties of the object they section; for example, color by
layer or by object.
For a short video demonstration, and 3dm file download, go to:
https://www.food4rhino.com/app/sectiontools-rhino
stCreate Command
This is the main command to create dynamic sections through selected objects (or all visible
objects at the time the command is created or updated). The output include curves, cap surfaces
and hatches.
stCreate Options
Dir
Sets section line direction:
Horizontal
Vertical
Custom
ExtrudeDir
Sets section extrusion direction:
CPlaneNormal
Custom
Replace
If Yes, overwrites an existing section that has the exact same name.
Name
Sets the prefix used for the section names. Section names are incremented, for example if you
set the Name=SEC, sections will be named: SEC_01, SEC_02, SEC_03, etc.
NumOfSections
Specifies the number of sections. If set to a number more than 1, the 2 other options appear:
stExtractSections Options
Curves
If set to Yes, then extract the curves.
Surfaces
If set to Yes, then extract surfaces. Notice that if the source object is a mesh, then it will extract
a planer mesh as well.
Slices with Thickness
If set to Yes, then extract slices using the thickness input. Notice that if the source object is a
mesh, then the extracted slice is a mesh too.
stLayout Command
The command projects the sections onto the xy plane. Layouts update with model changes (using
stUpdateAllSections command).
Layouts are placed in a new sub-layer of the section they come from. A new layer with the name
format <SectionName>_<Layout> is created. The Layout layer is a sub-layer of the section layer.
Using the command on the same section overwrites the old layout. This does not affect context
(text, etc.) added to the Layout layer.
stLayout Options
Grip
Sets the base point relative to each section bounding box. You can set to Center, Min and Max.
ShowLabel
If Yes, then show a Dot with the section layout name.
PlotWeight
Add print width to section curves in the layout.
ShowSolid
Add surfaces in the 2D layout.
ShowHatch
Add hatches in the 2D layout.
All
Apply the same options to all selected sections
stNestLayout Command
Projects the sections from 3D space to the world xy-plane in the default layer with the specified
spacing and arrangement. It creates static snapshots of the sections layout that do not update
with model changes.
stNestLayout Options
ShowSolids
Shows surfaces and curves in the layout.
Arrange
Arranges layouts horizontally or vertically.
Spacing
Specify the gap between projected layouts.
Width
Arrange the layouts within a certain width starting a new row once exceeding the specified width.
stMake2D Command
Projects the sections and projections from background objects to the world xy-plane. It uses
parallel projection and arranges output in sublayers containing section curves, visible curves,
hidden curves and the overall outline.
stMake2D Options
AddHidden
If set to Yes, then add hidden curves.
AddTangent
If set to Yes, then add tangent and seam curves.
AddOutline
If set to Yes, then add the scene silhouette curves.
Edit Sections
Once created, sections’ options and direction can be changed using stEditSections command.
Also the user can change or reselect objects to section with stEditSectionsObjects and change
section location with stMoveSections command. There is also stEditSectionsHint to hide/show
section labels and change arrowhead scale.
stEditSections Command
The command allows changing attributes, solid mode, hatching pattern and direction of selected
sections.
stEditSections Options
Attributes
Changes assigned attributes.
ByLayer: By section layer
FromSource: From sectioned object. If attributes or source are ByLayer, then use the
source layer attributes.
SolidMode
If cutting through a solid, generates surfaces or hatches in addition to the intersection curve.
Options are (None Surfaces Hatch, Both). If Hatch or Both option is selected, following
hatching options appear:
stEditSectionsObjects Command
The command allows selecting new objects or cutting through all visible objects.
The All option allows applying the same objects selection to all sections.
stEditSectionsHint Command
The command allows to hide or show section curve hints and text labels. It also allows changing
the scale of the arrowhead.
stEdit2DLayout Command
The command allows changing the options for the dynamic 2D layout
stViewSections Command
This command has options to Clips a view at one or more sections in any viewport. It also sets the
view and construction plane (CPlane) to align with the section plane.
stViewSections Options
Clip
Clips selected section in the selected view.
ClearOtherSections
Unclip all other sections not selected
SetView
Rotates the view of the selected viewport to align with section plane.
SetCPlane
Sets the viewport active construction plane to section plane.
stClearSectionViews Command
Clears the clipping display of one or more sections in one or more views. There is an All option to
clear selected sections from all views.
stSaveSectionsView Command
The command saves selected section to the Rhino NamedViews and NamedCPlanes
stSaveSectionsView Options
SaveToNamedViews
Save the section view to the Rhino NamedViews using the section name.
SaveToNamedCPlanes
Save the section plane to the Rhino NamedCPlanes using the section name.
stMoveSections Command
The command prompts to select sections to move. Each section is moved normal to its plane.
When dragging the mouse, the section plane shows ghosted and new intersection dynamically
updates with mouse move. Users can enter a number value to shift the sections by that amount.
Export Sections
All sections and layouts are stored in layers. Use the Rhino SelLayer command to select layers
and then use the Export command to export them to a file.