Giter VIP home page Giter VIP logo

nodeeditor's People

Contributors

luzpaz 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodeeditor's Issues

Update README

Add screenshot and screencast links + forum thread discussion link etc...

image

Error: No module named 'PyFlow.Packages.PyFlowFreeCAD'

Hi!

I followed the installation instructions in the README (cd ~/apps/freecad/.FreeCAD/Mod; git clone https://github.com/microelly2/PyFlow; suzanne git clone https://github.com/mottosso/Qt.py; git clone https://github.com/microelly2/NodeEditor). The check for the imports seems good:

image

but when I click create all Nodes for Test from the menu tests, I get the following error:

Running the Python command 'Micro_createAllNodesforTests' failed:
Traceback (most recent call last):
  File "<string>", line 199, in Activated
  File "<string>", line 1, in <module>
  File "/home/suzanne/apps/freecad/.FreeCAD/Mod/NodeEditor/nodeeditor/Commands.py", line 1202, in createAllNodesforTests
    from PyFlow.Packages.PyFlowFreeCAD.Nodes.FreeCAD_Coin import nodelist

No module named 'PyFlow.Packages.PyFlowFreeCAD'

image

Just in case the instructions were supposed to be followed to the letter, I tried without the implicit step of creating a new document, and get an error because there is no FreeCAD.ActiveDocument.

I noticed I have a folder .FreeCAD/Mod/NodeEditor/PyFlowPackages but not .FreeCAD/Mod/NodeEditor/PyFlow/Packages (notice the slash before Packages), so I tried making a copy with (cd ~/apps/freecad/.FreeCAD/Mod/NodeEditor && mkdir PyFlow && touch PyFlow/__init__.py && cp -ai PyFlowPackages PyFlow/Packages). That seemed to help, and it fails much later:

image

I was able to create some nodes by clicking, but it seems I can't get any constant to work nor any FreeCAD nodes to work.

image

I'm running the latest FreeCAD AppImage:

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23546 (Git) AppImage
Build type: Release
Branch: master
Hash: 6b017f9a16b15b0e628c8d874c4058442dee5548
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)

The three cloned repos are at these commits:

PyFlow/
commit d13453357e3d58e54f9c240a5639efdfaafe18ec (HEAD -> master7, origin/master7, origin/HEAD)
Merge: 6c610942 bdc66711
Author: microelly2 <[email protected]>
Date:   Sat Apr 11 15:36:51 2020 +0200

    Merge branch 'master' of https://github.com/wonderworks-software/PyFlow into master7
Qt.py/
commit 8a8953bc672b75a157a6c2a9b49e48985bb3e8a7 (HEAD -> master, tag: 1.3.2, origin/master, origin/HEAD)
Merge: 6ea602a defede1
Author: Marcus Ottosson <[email protected]>
Date:   Sat Oct 3 10:39:59 2020 +0100

    Merge pull request #350 from blurstudio/import_error_warning_improvement
    
    Include the module name that failed to import in warning
NodeEditor/
commit 7e1826b1f80879f7eb5f35857582b5e13212a80a (HEAD -> master, origin/master, origin/HEAD)
Author: microelly2 <[email protected]>
Date:   Thu Apr 30 10:02:04 2020 +0200

    fix bug force recompute input nodes for lists

Instruction for the addition of PyFlowFreeCAD on FreeCAD for Windows 10 Installation,

Hi @microelly2
Did you add anywhere regarding the enabling of FreeCAD Nodes? I found the solution on the forum from one of your posts and I think that would be great to add an installation note on the readMe.md about that.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22665 (Git)
Build type: Release
Branch: master
Hash: b0d7850406e046f3b7a8cd5da261e7d54df6bd99
Python version: 3.8.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

FreeCAD 0.19 and PyFlowFreeCAD works without any problem on the system above. In addition to the installation instruction on the readme.md, I added the FreeCADNode Package on PyFlow Edit>Preferences>General added the Additional package locations: {Installation Location}\FreeCAD_0.19.22665\Mod\NodeEditor\PyFlowPackages and SaveAndClose. Afterwards, I restarted FreeCAD and everything works pretty smooth. These instructions are at the end of the page, here based on @microelly2 's comment.

[WishList] AN-like Nodes

Hi @microelly2, I know a little about PyFlow and its features, however, I think it'd good you check https://animation-nodes.com (Animations, "Particles", ...) too, which I hope to give you a clear view

There are some advanced node-based visual programming open standards and tools too, but I think at this stage Animation Nodes is enough

Also, I would be happy to know more about your efforts on STEP AP242 which we talked about on FreeCAD forum.

I work on DfMAL and PLM is crucial for our success: https://github.com/DfMALab

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.