Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5778

Ghpython importing self-created modules inconsistent

$
0
0

@lando.schumpich wrote:

Hello everyone,

i’m stuck hard on a problem with importing self-created modules in ghpython. When i run the exact same code in ‘Editpythonscript’ in Rhino and ‘ghpython’ in grasshopper i get different results. could this be happening because of some tolerance settings?

I observed this on another python module i created, too. As long as i keep my code either totally in grasshopper or rhino everything works fine, but for this project i wanted to do some simple physics simulations so i would really like to use import on some number of ghpython nodes instead iof copy-pasting and being screwed if i change something in the original module.

Some help or insight would be greatly appreciated.

EDIT:

i broke it down to a way simpler script which still fails:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5778

Trending Articles