BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
pancake.export Namespace Reference

Functions

 frame_table (Basecurve curve, t=None)
 write_vtk_polyline (Basecurve curve, str path, t=None)
 tape_corners (Basecurve curve, float width, float thickness, t=None, theta_T=0.0)
 write_stl_tape (Basecurve curve, float width, float thickness, str path, t=None, theta_T=0.0)

Detailed Description

Light-weight exporters: VTK legacy polyline (with frame data) and STL of the tape volume.

Function Documentation

◆ frame_table()

frame_table ( Basecurve curve,
t = None )
Arrays r, T, n, b (m,3) and tau, kappa_g, kappa_n (m,) at the parameters t.

◆ tape_corners()

tape_corners ( Basecurve curve,
float width,
float thickness,
t = None,
theta_T = 0.0 )
Corner points (m, 4, 3) of the tape cross section along the curve.

Local cross-section coordinates: x0 along b (width), y0 along -n (thickness),
consistent with `Basecurve.transform`.  Corner order: (-w/2,-d/2), (w/2,-d/2),
(w/2, d/2), (-w/2, d/2).

◆ write_stl_tape()

write_stl_tape ( Basecurve curve,
float width,
float thickness,
str path,
t = None,
theta_T = 0.0 )
Binary STL of the tape as a swept box (four side faces plus two end caps).

◆ write_vtk_polyline()

write_vtk_polyline ( Basecurve curve,
str path,
t = None )
Legacy ASCII VTK polydata: the curve as a polyline with T, n, b and curvatures as point data.