Giter VIP home page Giter VIP logo

heinzbenjamin / flexcli Goto Github PK

View Code? Open in Web Editor NEW
90.0 15.0 19.0 7.28 MB

FlexCLI is a C++/CLI interface to access NVidia Flex from .Net environments like C#, IronPython, VB etc. FlexHopper is a plugin for Grasshopper built on top of FlexCLI

License: GNU General Public License v3.0

C++ 30.08% C 3.96% C# 65.91% Assembly 0.06%
nvidia nvidia-flex grasshopper3d cad dotnet dotnet-cli cli-interface rhino3d csharp vbnet

flexcli's People

Contributors

heinzbenjamin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexcli's Issues

Flexhopper is crashing

Hello,
I installed the latest version of flexhopper 1.1.1
But each time when I use an example file e.g. 07_wind_cloth_demo
and I click on the button to start the animation Rhino/ Grasshopper is crashing!

I have Rhino 5 64bit , Windows 10 pro , Nvidia graphic card (but can't install this driver NVIDIA: GeForce Game Ready Driver 372.90 or above)

please see files attached
capture
capture1
capture2

Thank you very much for your help!
Elke

run time error in .NET project

Hello. @HeinzBenjamin

I want to use flex in my own .net project.
So, I followed your option2 in instruction page.
build sequence is fine.
however, at runtime, it continuously shows exception about "System.IO.FileNotFoundException".
"FlexCLI.dll" or dependent file or assembly is not loaded.

I did all thing that i can do.
update graphic driver, install windows SDK, and install grasshopper and rhino5.
But still the error message is shown at runtime.

did i miss something?
or how can i debug the code in runtime.
Thank you in advance.

Interaction Cloths and Fountain

Hello Benjamin,

Thank you for this project that is a great contribution. Indeed I am currently learning how to work on what you did with the objective of modifying some things and see if they work. One of the applications that I'm trying to run consists of a cloth which is filled with a fluid that emerges from a fountain object, however I can't get the cloth and fluid particles to interact. Do you know if this is possible using what you have developed so far? I am missing something or do I actually have to modify the code? because according to the NvFlex videos it is possible but in your videos you don't have any similar concrete example. Thanks in advance.

Greetings
Alex

Helper classes : public

Any particular reason why the helper classes are not explicitly public, even though all their members, including the constructor, are?

Creating springs with adjustable rest length

If I attach a slider to the length input of the spring component, the engine creates a new version of that spring every time I change the slider value while it is running, leaving me with hundreds of slightly-different copies of the spring system when I only want a single system that changes shape. Is this at all possible?

Invalid Cast error when creating spring system

When I plug my constraint system (made using the lines to spring component) in the scene component, I get an error that says "1. Invalid cast: ObjectWrapper » ConstraintSystem".

What causes this to happen? There are no errors in the spring component so I don't see why there should be an issue.

Static solver

Hi,

is it possible to use Flex Engine to run only N iterations? like the Zombie Kangaroo component?

I want to:

  1. apply physics on a mesh,
  2. modify the topology of that mesh (adding or removing vertices, edges and faces)
  3. and repeat 1 and 2.

My idea would be to run the Flex Engine N times, modify the mesh, and have this process in a loop, for example with Anemone.

Any way to achieve this?

Thanks!

Reset solver freezes my laptop

Hey! I tried this plugin and there is a problem when resetting the solver, at first it took me 5 minutes to respond. Then I did a clean reinstallation of drivers and the reset takes a little less time but still too long! Sounds like incompatibility somewhere, can you help me fix it?

Rhino 5 GH 0.9.0076
Win 10 Home 64bits
Intel Core i5-7200U
Intel(R) HD Graphics 620
NVidia GeForce 940MX
Acer Aspire 5 (A515-51G)

Thank you! I hope I can develop using your library!

flex 1.2

hey, great project and very readable code, thanks for sharing!
I'm wondering if there are any plans on supporting the newest flex version (1.2)? I'm trying to share the resulting buffers on the gpu without reading it to the cpu, but I've found that others had problems doing so with 1.1, eg here: https://devtalk.nvidia.com/default/topic/1002238/physx-and-physics-modeling/-flex-direct3d11-get-set-buffer-issues/

Also I wonder if there is a specific reason why this is 64bit only, apart from performance issues?

thank you

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.