Giter Site home page Giter Site logo

pymeshup's Issues

Water depth for Capytaine

I'm not sure 0 is a good default value for the water depth in Capytaine.

I don't mind using the "negative = infinity" convention used in other solver, but given the line

waterdepth = float(self.ui.teWaterdepth.text())

then entering infinity or inf would give float('inf') which is the actual floating point representation of infinity.

Save symmetry to .dhyd files

in mafredo:

 # try read info
        try:
            with xr.open_dataset(filename, group="info", engine="netcdf4") as ds:
                isym = ds["symmetry"]
                R.symmetry = Symmetry(isym)
        except:

Error writing Capytaine data to hyddb1

When running the standalone executable linked in capytaine/capytaine#372, I get the following error message in the console:

Traceback (most recent call last):
  File "pymeshup\gui\main.py", line 271, in <lambda>
  File "pymeshup\gui\main.py", line 326, in run_captyaine
  File "pymeshup\gui\capytaine_runner.py", line 76, in run_capytaine
  File "mafredo\hyddb1.py", line 206, in save_as
  File "xarray\core\dataarray.py", line 3978, in to_netcdf
  File "xarray\backends\api.py", line 1229, in to_netcdf
  File "xarray\backends\scipy_.py", line 138, in __init__
ValueError: cannot save to a group with the scipy.io.netcdf backend

Please add .stp (STEP) via CadQuery

pip install cadquery

import cadquery as cq
from cadquery import exporters

result = cq.importers.importStep(r"C:\data\hdgphm0150.stp")
exporters.export(result,
fname = r"c:\data\exported.stl",
angularTolerance = 0.9,
tolerance =10)

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.