Giter Club home page Giter Club logo

Comments (4)

zanoni-mbdyn avatar zanoni-mbdyn commented on June 3, 2024

Hi Rafael,
you can import nodes using different objects using the Import nodes as: dropdown menu in the MBDyn nodes section of the Scene Properties panel. You can import them as Arrows, as in this case, just plain axes (without arrows nor X, Y, Z labels), UV Spheres, NURBS Spheres or Cones.

Depending on what you want to do, there are also other options: for example, you might want to just hide the node's reference frames: you can achieve this by moving the nodes Empty Arrows objects to a different layer: just select them, press m and then the box of the layer where you want to move them to.

Otherwise if the number of nodes in your model is limited, you can also directly assign each of them to a specific object in the Blender scene. To do so, after you have selected MBDyn output file, just select Load .log file, in the main Blendyn panel on the left side. Then select the Blender object you want to assign to a node, go to the Object Properties panel (right side panel) and scroll down: you'll see an MBDyn nodes section that lists all the nodes present in your model. You can hit ASSIGN to tie the motion of the selected Blender object to the corresponding node.

Let me know if this solves your problem.

Cheers
Andrea

from blendyn.

zanoni-mbdyn avatar zanoni-mbdyn commented on June 3, 2024

I'm closing this for now.

from blendyn.

rafmudaf avatar rafmudaf commented on June 3, 2024

@zanoni-mbdyn my apologies for not responding and I appreciate your help.

Your suggestion of moving the arrows to another layer is exactly what I am looking for. Its a little tedious to do manually but gets the job done.

Do you know of a method for doing this programmatically or automatically? Like a "select all" for arrows?

from blendyn.

zanoni-mbdyn avatar zanoni-mbdyn commented on June 3, 2024

It is very easy to do it via the Python console. For example for nodes:

nodeobjs = [obj for obj in bpy.data.objects if 'node' in obj.name]
for nodeobj in nodeobjs:
    nodeobj.select = True

Take care of deselecting everything before doing so :)

Cheers
Andrea

from blendyn.

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.