HiStruct Code Quest 🏗️

An onboarding program for engineers and AI agents who want to build in the HiStruct ecosystem.

HiStruct is a cloud platform for parametric structural engineering components. Engineers author calculation/geometry logic in FCS (FemCAD Script), and users interact with those components through a web UI — adjusting parameters, viewing 3D scenes, generating reports.

This repository is the comprehensive guide to becoming a productive contributor.


Who Is This For?

Audience What you'll learn
Software engineers How to author FCS components, wire them into the platform, use the REST API
AI coding agents Machine-readable patterns, CLI workflows, validation techniques
Structural engineers How to turn your calculations into shareable, interactive web components

Quick Start

  1. Hello World — Write your first FCS script, run it with fli
  2. First Component — Create an .fcc component with 3D geometry, deploy to HiStruct

Documentation

Language & Scripting

Platform & Architecture

Tooling


Patterns & Recipes


Gotchas & Pitfalls


Reference


The Vision

This isn't just documentation — it's a quest system. The goal is to make it possible for any engineer or AI agent to:

  1. Set up a local dev environment in under 30 minutes
  2. Create and deploy a working parametric component in under 2 hours
  3. Integrate external services (REST APIs, ML models) into components
  4. Understand the full platform architecture well enough to debug issues independently

Each section is designed to be self-contained and actionable. No hand-waving. Every pattern has been validated by an AI agent going through the actual process, hitting real bugs, and documenting the solutions.


Built with knowledge extracted from real development sessions on the MapScan/Skynet project, 2026.