The Squish command flattens a non-developable (curved in two directions) 3-D mesh or NURBS surface into a flat 2-D pattern.
The Squish command marks areas of compression with a red point cloud and areas of stretching with a green point cloud and displays statistics about the amount of compression or stretch. Up to ten text dots mark the locations with the most dramatic deformation. The number in the text dot is the percentage of change in length.
Report
Area
Change in area from original.
Compression
The material will be compressed when the 2-D pattern is deformed into the 3-D shape. The percentages are an estimate of how much of the pattern will be compressed.
Expansion
The material will be stretched when the 2-D pattern is deformed into the 3-D shape. The percentages are an estimate of how much of the pattern will be stretched.
Command-line options
SplitSeams
Allows a mesh to be split at a seam so it can be flattened. This is good for closed surfaces like cylindrical shapes.
PreserveBoundary
Avoids distorting boundary lengths.
Deformation
Choose an option depending on your bias for stretching or compressing, and the ability to specify custom deformation settings.
Free
No preference for compression or stretching.
StretchMostly
Strong bias for expansion when the pattern is deformed into the 3-D shape.
StretchOnly
Absolutely no compression when the pattern is deformed into the 3-D shape.
CompressMostly
Strong bias for compression when the pattern is deformed into the 3-D shape.
CompressOnly
Absolutely no expansion when the pattern is deformed into the 3-D shape.
CustomA/CustomB/CustomC
Custom deformations.
The Custom option lets you set the parameters used by the custom deformations. There are four parameters you can set.
BndStretch
BndCompress
InteriorStretch
InteriorCompress
The default value for these parameters is 1 and they can be set to any positive number. A larger value reduces the amount of the specified deformation compared to what happens when all four parameters are equal. For example, if you want to severely limit interior expansion, you could do something like:
BndStretch=1
BndCompress=1
InteriorStretch=1
InteriorCompress=100
If you want to preserve boundary lengths you could use the settings:
BndStretch=10
BndCompress=10
InteriorStretch=1
InteriorCompress=1
CustomSetup
Specifies settings used by the CustomA/CustomB/CustomC options.
Material
Describes the type of material that will be used for manufacture.
Rigid
Minimizes stresses when forming the 3-D surface from the 2-D pattern when a rigid material will be used for manufacture.
Floppy
Limits geometric distortion as much as possible when a pliable material will be used for manufacture.
Outside
Up
The outside of the 3-D surface is up in the 2-D pattern.
Down
The outside of the 3-D surface is down in the 2-D pattern.
Decorate
Adds the red and green point clouds and text dots to the model.
Limitations
● | Does NOT unroll, unfold, or peel. |
● | Does not work great on developable surfaces. Use the UnRollSrf command. |
The SquishBack command returns curves and points on the 2-D pattern to the original squished 3-D shape.
Steps
1. | Select 2-D object. |
2. | Select curves and points on the pattern. |
Example
For example, suppose we wanted to put a “Rhino” brand name in the black circle on this 3-D NURBS model of a shoe last.
First use the Squish command to generate a 2-D pattern of the last.
Then use the TextObject command to create the white “Rhino” text as curves on the 2-D pattern.
Finally, use the SquishBack command to “unsquish” the white Rhino text onto the 3-D last.
The SquishInfo command provides information about the settings used to squish the object.
See also
Flatten a surface without restriction to single-directional curvature.
Flatten (develop) a surface or polysurface with curvature in one direction to a planar surface.
Rhinoceros 5 © 2010-2015 Robert McNeel & Associates. 17-Sep-2015