Re: [Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Jan Stránský
Question #696715 on Yade changed:
https://answers.launchpad.net/yade/+question/696715

Jan Stránský posted a new comment:
https://yade-dem.org/doc is always w.r.t the most recent Yade version.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Marius HUBER
Question #696715 on Yade changed:
https://answers.launchpad.net/yade/+question/696715

Marius HUBER confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Marius HUBER
Question #696715 on Yade changed:
https://answers.launchpad.net/yade/+question/696715

Status: Answered => Solved

Marius HUBER confirmed that the question is solved:
Thanks a lot !

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Jan Stránský
Question #696715 on Yade changed:
https://answers.launchpad.net/yade/+question/696715

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
scale parameter was added on 3th December 2020 [1], so version 2020.01 does not 
have it.
It does work for yadedaily [2].
Cheers
Jan

[1] 
https://gitlab.com/yade-dev/trunk/-/commit/b1faaf9d8216fce3b072b122253e4ece154b935b
[2] https://yade-dem.org/doc/installation.html#packages

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Marius HUBER
Question #696715 on Yade changed:
https://answers.launchpad.net/yade/+question/696715

Marius HUBER gave more information on the question:
Here is the link to the yade documentation:

https://yade-
dem.org/doc/yade.ymport.html?highlight=ymport#yade.ymport.stl

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #696715]: Error for scale=... using yade.ymport.stl()

2021-04-23 Thread Marius HUBER
New question #696715 on Yade:
https://answers.launchpad.net/yade/+question/696715

Hello everyone,

I get following error when using the yade.ymport module, more precisely the 
yade.ymport.stl() function:

O.bodies.append(ymport.stl(DFNmesh,color=(0.9,0.9,0.9),wire=False,material=DFNMat,scale=scaleFactor))
 # DOES NOT IMPORT ANYTHING? #TypeError: stl() got an unexpected keyword 
argument 'scale'
TypeError: stl() got an unexpected keyword argument 'scale'

I tried several times. It's not me typing badly.

The keyword argument scale seems not to work for my yade version 
(2020.01a-6build2) using Ubuntu 20.04.2 LTS!

Do I need to simply update to the newest versions of Ubuntu and/or Yade in 
order to get it running or ...

is there maybe a bug in yade?

I am happy for any help that can resolve this problem.

Best regards,

Marius

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp