Code Monkey home page Code Monkey logo

Comments (11)

alfarok avatar alfarok commented on July 28, 2024

image

from hydra.

mjkkirschner avatar mjkkirschner commented on July 28, 2024

if anyone takes this on and needs assistance feel free to email or ping me

from hydra.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 28, 2024

@alfarok nice job with the node and the new example! Congratulations. I have one minor comment about the download file. Can you zip the file? It will be both consistent with Grasshopper component and at some point users can also share REVIT files associated with the .dyn file. Now if the user clicks on the link it will open up the xml file in the browser instead of downloading it. It can be confusing for novice users.

from hydra.

mjkkirschner avatar mjkkirschner commented on July 28, 2024

@alfarok look at System.IO.Compression.Filesystem.ZipFile

from hydra.

alfarok avatar alfarok commented on July 28, 2024

@mostaphaRoudsari @mjkkirschner Thank you Mike! I was having trouble figuring out how to zip the files without using a 3rd party reference in .NET 4.0 which is why it was just generating a .dyn file. There is still a lot of cleanup to make the Dynamo node as organized and logical as the Grasshopper version but I wanted to get a basic working prototype up that we could build off of. I am looking at different screen capture options now to capture the model as well.

from hydra.

alfarok avatar alfarok commented on July 28, 2024

@mjkkirschner I actually just realized is Dynamo 0.9 using .NET 4.5? I couldn't use ZipFile.CreateFromDirectory because it didn't exist in .NET 4.0 I don't think.

from hydra.

mjkkirschner avatar mjkkirschner commented on July 28, 2024

yes, you need to add a reference to System.IO.Compression and System.IO.Compression.FileSystem, and we have moved to .net 4.5 some time ago. (.9 timeframe)

from hydra.

alfarok avatar alfarok commented on July 28, 2024

Updated the example with the zipped file. I think I am going to close this thread now and open individual threads for the things that need to be added/fixed.

from hydra.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 28, 2024

@alfarok Congrats. Sounds great! Please do.

from hydra.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 28, 2024

@mjkkirschner thanks for the support.

from hydra.

alfarok avatar alfarok commented on July 28, 2024

I am going to fix a few more issues that I know of this weekend and I will post to the package manager Monday morning.

from hydra.

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.