tataratat / splinepy

Library for prototyping spline geometries of arbitrary dimensions and degrees, and IGA
https://tataratat.github.io/splinepy
Other
47 stars 13 forks source link

data_name -> data #349

Closed j042 closed 10 months ago

j042 commented 10 months ago

Overview

follow up of tataratat/gustaf#188

Addressed issues

Showcase

A short / one-liner example to highlight the (new) feature

import splinepy

spline.spline_data["this"] = this_array
spline.show() # shows "this" right away

spline.spline_data["dis"] = dis_array
spline.show_options["data"] = "dis"
spline.show() # shows "dis"

Checklists

j042 commented 10 months ago

@jzwar suggested that we use field instead of data

j042 commented 10 months ago

open for discussion for the future