Skip to content

Releases: CodeReclaimers/morphe

v0.1.0

17 Jan 23:57

Choose a tag to compare

v0.1.0 - Initial Release

Morphe is a CAD-agnostic library for representing 2D sketch geometry and constraints, enabling sketch transfer between different CAD applications.

Features

Core Library (morphe)

  • Platform-independent schema for 2D sketch geometry and constraints
  • Support for primitives: Line, Arc, Circle, Point, Spline, Ellipse, EllipticalArc
  • Support for geometric constraints: Coincident, Tangent, Parallel, Perpendicular, Horizontal, Vertical, Equal, Concentric, Collinear, Midpoint, Fixed, Symmetric
  • Support for dimensional constraints: Length, Radius, Diameter, Angle, Distance, DistanceX, DistanceY
  • JSON serialization/deserialization
  • Construction geometry support

Adapters

  • FreeCAD (morphe.adapters.freecad) - Full import/export support with RPC server
  • Fusion 360 (morphe.adapters.fusion) - Full import/export support with RPC server (via add-in)
  • SolidWorks (morphe.adapters.solidworks) - Import/export support with RPC server (Windows only)

Known Limitations

SolidWorks Adapter

  • Dimensional constraints (Distance, Angle, Radius, Diameter) cannot be read during export due to COM late-binding limitations
  • Import works correctly by recreating geometry at the specified dimensions
  • Geometric constraints export correctly

Experimental

  • Inventor adapter (morphe.adapters.inventor) is included but untested - not recommended for production use

Installation

pip install morphe-sketch

Links