Packhunt Workbench Documentation

website·Indexed 33 days ago

https://docs.packhunt.io

Technical documentation for the Packhunt Workbench, detailing the schema for configuring user interface solutions. It covers layout objects, frames, and a variety of blocks including RouterOutlet, ControlPanel, Viewer, Map, EntityTable, and Model blocks for integrating Grasshopper models. The documentation also includes guidance on embedding solutions into host websites via a messaging API and tips for using VS Code auto-complete.

Tokens
92K
Snippets
513
Records
761
Agent score
56%

What's inside Packhunt Workbench

  1. Overview of the Model block

    The Model block is used to configure a Grasshopper model for computation or geometry generation (often displayed in a Viewer block). It is a non-visual block and should not be included in the areas of a frame layout. A model executes once all its required inputs are defined via subscriptions to other blocks, such as a ControlPanel or DataStore.
  2. Overview of Packhunt Workbench Layouts

    Layouts are used to configure the arrangement of elements within Frame, ControlPanel, and NavPanel objects. There are three available layout types: ColumnLayout for horizontal arrays, RowLayout for vertical arrays, and GridLayout for two-dimensional grids of rows and columns.
  3. Overview of Packhunt Workbench

    Packhunt Workbench is a tool used to configure advanced solutions with custom layouts. The typical workflow for getting started involves installing the schema (prerequisites), installing the Packhunt CLI, authenticating with a Packhunt account, creating a solution, and sharing that solution with others.
  4. Overview of the Viewer block

    The Viewer block is used to visualize geometry within a frame in the user interface. It supports two primary configuration modes: BasicSettings for quick setup with defaults, and AdvancedSettings for full control over lights, cameras, and the scene environment. The viewer can be integrated with a Model block (typically a Grasshopper model) to map specific model outputs to defined materials and layers.
  5. Overview of the Model block

    The Model block is used to configure a Grasshopper model for computation or geometry generation (often displayed in a Viewer block). It is a non-visual block and should not be included in the areas of a frame layout. A model executes once all its required inputs are defined via subscriptions to other blocks (e.g., ControlPanel or DataStore).

    When subscribing a model to a source, two actions are available:

    • set (default): Sets all inputs. Any model inputs not provided by the source are set to undefined, which prevents the model from executing.
    • update: Sets only the provided inputs. Existing values for other inputs are preserved, allowing the model to execute if those inputs already have values.
  6. Overview of the Packhunt platform

    Packhunt is a platform designed for the building industry (including Engineering, Architecture, and Building Physics) to build, share, and sell digital products and services. It enables users to share design options with colleagues, present options during client meetings, and automate/standardize common company calculations.
  7. Overview of Packhunt Embedding Message API

    The embedding message API provides the communication framework for exchanging messages and events between a host website and an embedded Packhunt solution. Communication is split into two directions: App Events, which are fired from the embedded Packhunt solution to the host, and App Messages, which are sent from the host website to the embedded solution.
  8. Overview of Packhunt Studio

    Packhunt Studio is a platform that allows users to build web-based parametric solutions without writing code. It enables the creation of new parametric solutions or the management of existing solutions shared with the user. Currently, the primary supported parametric solver is Rhino Grasshopper.