csx 0.0.1

Pure Rust continuous-structure geometry and material modeling, compatible with CSXCAD and openEMS
Documentation
  • Coverage
  • 100%
    475 out of 475 items documented1 out of 216 items with examples
  • Size
  • Source code size: 203.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.8 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • KarpelesLab/csx
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MagicalTux

csx

CI crates.io docs.rs License: MIT

A pure Rust library for continuous-structure geometry and material modeling, compatible with CSXCAD and openEMS.

  • Clean-room implementation (no CSXCAD/openEMS code was consulted), MIT licensed.
  • Zero runtime dependencies; XML support is an optional (default) feature.
  • Edition 2024, MSRV 1.95.

Status: early development — see PLAN.md.

Overview

  • Geometric primitives: box, multi-box, sphere, spherical shell, cylinder, cylindrical shell, polygon, extruded polygon, revolved polygon, curve, wire, point, polyhedron (inline or STL/PLY file) and expression-defined regions, with transformations and Cartesian/cylindrical coordinates.
  • Properties: materials (anisotropic, position-weighted), Drude/Lorentz and Debye dispersive materials, metals, conducting sheets, excitations, probes, field dumps, lumped elements.
  • Parametric models: every value may be an expression over named parameters.
  • Priority-based point queries (property_at, medium_at) and spatial index.
  • Rectilinear grids with graded smoothing.

Features

feature default description
xml yes read/write CSXCAD & openEMS XML files

License

MIT — see LICENSE.