Code Monkey home page Code Monkey logo

Comments (5)

jzwar avatar jzwar commented on May 23, 2024

is also a problem when trying to copy a spline that has not been in use in gustaf.

from splinepy.

j042 avatar j042 commented on May 23, 2024

is also a problem when trying to copy a spline that has not been in use in gustaf.

could you give me a simple example?

from splinepy.

jzwar avatar jzwar commented on May 23, 2024
import gustaf as gus
tt = gus.Bezier(degrees=[1],control_points=[[0,],[1,]])
tt.copy()

produces

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<path>/gustaf/spline/base.py", line 224, in copy
    new.new_core(**self._data["properties"], properties_round_trip=False)
  File "<path>/splinepy/spline.py", line 794, in new_core
    raise RuntimeError(
RuntimeError: dict_keys(['properties_round_trip']) is not valid set of keywords to create a new core for Bezier.Valid ones should include: ('degrees', 'control_points').

from splinepy.

j042 avatar j042 commented on May 23, 2024

that part is not valid anymore after this. try the main branch. meanwhile, I will try to bump the version

from splinepy.

jzwar avatar jzwar commented on May 23, 2024

Seems to work now after, applying #138

from splinepy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.