Artisan Grasshopper
Artistic
2 components in Artisan › Artistic.
Raster To Vector
Traces an image file into curves (black shapes on a light background work best)
Nickname: Raster To Vector · Tab: Artisan › Artistic
Inputs
| Name | Nickname | Type | Access | Default | Description |
|---|---|---|---|---|---|
| Image | Image | Text | item | — | Path to the image file (png, jpg, bmp…) |
| Threshold | Threshold | Number | item | d.Threshold | Black/white threshold (0-1) |
| Ignore Area | Ignore | Integer | item | d.IgnoreArea | Speckles up to this many pixels are ignored |
| Corner Threshold | Corner | Number | item | d.CornerThreshold | Corner threshold (0 = only corners, 1.33 = only curves) |
| Tolerance | Tol | Number | item | d.Tolerance | Curve optimisation tolerance |
| Pixels Per Unit | PxUnit | Number | item | 50.0 | Image pixels per model unit |
| Center | Center | Boolean | item | d.CenterOnCPlane | Center the result on the origin |
Outputs
| Name | Nickname | Type | Access | Description |
|---|---|---|---|---|
| Curves | Curves | Curve | list | Traced curves |
| Points | Points | Point | list | Segment start points, for inspection |
Text On Curve
Flows a text along a curve: outline curves, and solids when a thickness is given
Nickname: Text On Curve · Tab: Artisan › Artistic
Inputs
| Name | Nickname | Type | Access | Default | Description |
|---|---|---|---|---|---|
| Curve | Curve | Curve | item | — | Curve the text flows along |
| Text | Text | Text | item | d.Text | Text |
| Font | Font | Text | item | d.Font | Font family name |
| Font Style | Style | Text | item | d.FontStyle | Regular, Bold or Italic |
| Height | H | Number | item | d.Height | Letter height |
| Spacing | Spacing | Number | item | d.Spacing | Letter spacing |
| Thickness | T | Number | item | d.Thickness | Solid thickness (0 = curves only) |
| Move Z | MoveZ | Number | item | d.MoveZ | Offset along the curve normal |
| Rotation | Rot | Number | item | d.Rotation | Rotation (degrees) |
| Horizontal Align | HAlign | Text | item | d.HorizontalAlign | LEFT, CENTER, RIGHT or JUSTIFY |
| Vertical Align | VAlign | Text | item | d.VerticalAlign | TOP, CENTER or BOTTOM |
| Flip Horizontal | FlipH | Boolean | item | d.TextFlipHorizontal | Mirror the text horizontally |
| Flip Vertical | FlipV | Boolean | item | d.TextFlipVertical | Mirror the text vertically |
| Orientation | Plane | Plane | item | d.OrientationPlane | Orientation plane of the text before flowing |
| Domain (optional) | Domain | Interval | item | — | Optional sub-domain of the curve (t0 to t1) the text is flowed along |
Outputs
| Name | Nickname | Type | Access | Description |
|---|---|---|---|---|
| Curves | Curves | Curve | list | Text outline curves |
| Solids | Solids | Brep | list | Text solids (when Thickness > 0) |