Awesome FeatureScripts for Onshape

repository·master·Indexed 19 days ago

https://github.com/dcowden/featurescript

A community-curated collection of custom FeatureScripts for Onshape. This directory provides specialized modeling tools for engineering, manufacturing, and complex geometry, including categories for joinery, surfaces, curves, 3D printing, primitives, fasteners, mechanical drives, advanced patterning, sheet metal, and geometric analysis.

Tokens
1.9K
Snippets
0
Records
9
Agent score
14%

What's inside dcowden-featurescript

  1. Overview of Awesome FeatureScripts for Onshape

    master
    This repository is a community-curated collection of custom FeatureScripts for Onshape. FeatureScript is a language used to extend Onshape with custom modeling features. Because Onshape does not have a centralized 'FeatureScript Store', this repository serves as a categorized directory of high-quality, community-made features across various domains like joinery, manufacturing, and geometry.
  2. Access Patterning and Sheet Metal FeatureScripts

    master

    Advanced patterning and sheet metal tools:

    Patterning

    • Circular Pattern: Adds radial direction and seed location to standard circular patterns.
    • Curve Pattern Normal: Orients seed features to maintain normal position relative to a reference surface.
    • Fill Pattern: Patterns faces within a target face while avoiding boundaries.
    • Linear Pattern / Linear Pattern with Seed Location: Adds a third direction or seed location selection to standard linear patterns.
    • Parameter Pattern: Creates geometry configurations based on user-defined variables.
    • Point Pattern: Patterns parts at sketch vertices.
    • Transform Pattern: Transforms faces, bodies, or features to positions defined by vertices or mate connectors.

    Sheet Metal

    • Sheet Metal Flange Plus: Sets flange distance from the inside (Solidworks style).
    • Sheet Metal Shaped Flange: Allows sketching a custom shape for a flange.
    • Sheet Metal Hem: Adds rolled, closed, or open hems.
    • Sheet Metal Model Plus: Extended sheet metal model feature with bend allowance.
    • Sheet Metal Overcut / Dogbone: Creates sheet metal compatible overcuts and dogbones with adjustable directions.
  3. Access Gears, Drives, Shafts, and Pulleys FeatureScripts

    master

    Mechanical drive components:

    • Belt: Creates a belt around multiple pulleys.
    • Drive Train Generator: Creates gear drive trains based on sketch points and desired reduction ratios.
    • Metric Keys: Creates metric keys for shaft assembly.
    • Planetary Gears: Creates epicyclic gear transmissions using true involute gears.
    • Spur Gear: Creates mathematically correct spur gears with optional bore and keyway.
    • Straight Spline: Creates SAE Standard Straight Splines on shafts.
    • Syncro Rotator: Automatically generates gear profiles from another object.
    • Wave Spring: Creates a wave spring at the origin with mate connectors.
    • Wiring: Creates wire bundles through 3D sketch points.
    • Hose Routing: Routes hoses through 3D points with control over straightness and minimum bend radius.
  4. Access Primitives and Structures FeatureScripts

    master

    Tools for generating standard shapes and structural components:

    Primitives

    • Bricks: Creates building bricks in various styles/sizes.
    • Convex Polyhedron: Creates a maximum convex solid from 3D vertices.
    • Torus, Dome, and Sphere: Creates simple geometric primitives.

    Structures

    • Airfoil: Creates airfoils from NACA 4-digit or UIUC databases and breaks them into structural components.
    • ANSI Steel Generator: Creates standard AISC structure steel shapes.
    • 8020 Profile Generator: Creates 8020 Inc profiles.
    • Beams / Australian Beams: Creates structural steel frames (Australian version supports custom profiles and materials).
  5. Access Fasteners, Threads, and Hardware FeatureScripts

    master

    Hardware and assembly components:

    • ANSI Washers: Creates standard sized ANSI washers.
    • Fix PCB: Automates geometric simplification of imported electrical components on a PCB.
    • O-Ring Generator: Creates O-rings to fit existing grooves.
    • Socket Head Cap Screw creator: Creates screws along with associated taps and counterbores.
    • Thread Creator: Creates internal and external threads.
  6. Access Manufacturing and 3D Printing FeatureScripts

    master

    Features designed for production and additive manufacturing:

    • End Flange: Adds a flange to a planar surface of a solid body.
    • Full Round Fillet: Creates fully rounded fillets.
    • Hex Infill: Creates an internal sparse hexagonal structure.
    • Lighten: Creates pockets to reduce part weight.
    • Part Draft: Adds draft to an entire part simultaneously.
    • Pocket Holes: Creates pocket holes based on part thickness/length or from vertices.
    • Ports: Creates SAE J1926 straight thread ports.
    • Round Emboss: Creates round formed embosses on planar or non-planar surfaces.
    • Setback Fillet: Converts standard 3-surface spherical corner fillets into setback fillets.
  7. Access Analysis FeatureScripts

    master

    Tools for evaluating and measuring geometry:

    • Auto Layout: Nests flat parts into sheets for cutting.
    • Compare: Compares geometry of two parts and creates composite parts showing differences.
    • Calculate Bounds: Calculates the bounds of selected objects.
    • Measure Distance / Measure Value: Measures distance, angle, perimeter, area, or volume and assigns results to variables.
    • Ray Tracer: Simulates light reflection and refraction.
    • Tracer FS: Traces motion of a flat mechanism and creates a dependency graph.
    • Graphic dependency: Defines variable dependency via a sketched law curve.
  8. Access Joinery FeatureScripts

    master

    The Joinery category provides features for creating mechanical connections and assembly features. Key features include:

    • Break off Tabs: Creates sheet metal tabs designed to be easily broken off.
    • Box/Dovetail Joint: Creates finger or dovetail joints between two parts.
    • Butt Joint With Pin: Creates a butt joint between parts, with an optional pin (supports multiple parts).
    • Dogbone and Overcut: Creates dogbones and overcuts for corner clearance.
    • Kerf Compensation: Offsets all cut faces of a planar part to account for cutting kerf.
    • Featurescript Laser Joint: Creates finger joints from overlapping geometry.
    • Lap Joint: Creates lap joints between parts with rectangular sections.
    • Mortise and Tenon: Creates mortise and tenon joints.
    • Rabbet Joint: Creates rabbet joints.
    • Snap Hook: Creates snap hooks for plastic part design.
    • T-slot Joint: Creates T-slot bolted connections between planar parts.
  9. Access Surfaces, Curves, and Geometry FeatureScripts

    master

    This category contains advanced geometric modeling tools:

    • 3D Points: Imports 3D points from text input.
    • 3D Spline: Creates an optionally closed spline through vertices.
    • 3D Spiral / Contour Spiral: Creates spirals along spatial curves or with user-defined cross-sections.
    • Curve Generator: Generates parametric curves based on sketch relations.
    • Enhanced Planes / Tangent Plane: Creates planes tangent to surfaces or via specific orientations.
    • Extend Surface: Extends existing surface bodies.
    • Extrude Vertex: Extrudes vertices in specified directions to create curves.
    • Fit Spline: Fits a single spline through one or more existing splines.
    • Flex FS: Transforms sketch edges/regions (e.g., bending a sketch along a curve).
    • Multi-Plane / Multi-Plane 2: Creates multiple evenly spaced planes, including rotated arrays.
    • NACA Airfoil: Creates airfoils from CSV files.
    • Ortho Lines: Quickly creates orthogonal lines in a plane.
    • Offset Faces: Offsets one or more faces.
    • Parametric Curve / Surface: Creates curves or surfaces (z = f(x,y)) driven by equations.
    • Radiate Surface: Creates a surface originating from edges, parallel to a selected plane.
    • RectToPolar: Creates flat cam profiles from 2D sketches.
    • Revolved Curve: Adds a revolved 3D curve with configurable profiles and pitch.
    • Sculpt Face: Adjusts surfaces using manipulators.
    • Sketch Wrapper: Wraps sketched curves around cone/cylinder surfaces.
    • Surface Pattern: Patterns a part across a body surface (add or subtract).
    • Sweep Normal: Maintains sweep profile normalcy relative to a reference surface.
    • Variable Section Sweep: Creates a loft with varying cross-sections along a curve.