← Back to team overview

yade-users team mailing list archive

Re: [Question #695331]: ymport.stl function scale and shift

 

Question #695331 on Yade changed:
https://answers.launchpad.net/yade/+question/695331

Jan Stránský posted a new comment:
Hello,

shift and scale parameters are not implemented in version 2020.01 [3].
Also discussed above ("the scale and shift parameters were added recently to the ymport.stl function (just last month)." written 2021-02-02

Solution:
- shift and scale "manually" the resulting facets
- use newer yade version (e.g. yadedaily)
- "copy-paste" new ymport.stl function [4] and use it

Cheers
Jan

[3] https://gitlab.com/yade-dev/trunk/-/blob/2020.01/py/ymport.py#L117
[4] https://gitlab.com/yade-dev/trunk/-/blob/master/py/ymport.py#L175

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