GithubHelp home page GithubHelp logo

rubendebruin / pymeshup Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 515 KB

Building volume meshes from scratch using coordinates, primitives and boolean operations

License: Mozilla Public License 2.0

Python 99.92% Batchfile 0.08%

pymeshup's Introduction

PyMeshUp

PyMeshUp aims to provide an easy way to make simple volume meshes using a script.

This is done by wrapping some of the features of pymeshlab and adding an gui.

image

To run the gui:

python -m pymeshup.GUI

Installation as package

pip install pymeshup

Pre-build executable

https://www.open-ocean.org/pymeshup/

Building the executable using pyinstaller

pyinstaller PyMeshupGUI.spec

pymeshup's People

Contributors

rubendebruin avatar

Stargazers

Emerson de Andrade avatar  avatar  avatar  avatar Marco Musy avatar  avatar Optioneering avatar

Watchers

James Cloos avatar Matthieu Ancellin avatar  avatar  avatar

pymeshup's Issues

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:

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.

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)

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

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.