algorithmic modeling for Rhino
Hello Community
I´m having a problem here. It´s really basic, I guess but I tried to find the error for some time now and I can´t find the mistake... I want to get the tangent Lines from a curve...
When I hashtag out the for-Loop, it has no problem with the Variable maxDom but when the for-Loop gets activated...
...it tells me that the Variable maxDom is not defined...
What am I doing wrong?
Tags:
p.s.: and it doesn´t print the Var.: doms, maxDom and minDom anymore ?!?
Hi Florian,
Indentation in the tanPoints method was wrong.
Check the attached file.
Wow, thank you! I´m at the very beginning. I thought the Identation is for the improvement of our orientatoin in longer files. Huh. Well anyway I learned something and you helped a lot. thanks again...
Hi,
In python, blocks of code are defined by indentation (loops - for and while, if statements, functions, methods...). Therefore, they are very important.
Take a look at this page for more information. It has an example of correct and wrong indentation.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by