Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Python dynamo variable is not updated in the first loop iteration #49

Open
REDO79 opened this issue Apr 28, 2023 · 0 comments
Open

Comments

@REDO79
Copy link

REDO79 commented Apr 28, 2023

I've writen a python script inside dynamo which offset a circle inward with a given offset distance and in the same time create an arc of 12 m length in each offset circle then rotate them (created arcs) by overlapping till the remainder lenght is < 12m...my script works, but I get the first arc in each circle duplicated

doublon

This issue is due to a non updated variable (End_Angle) in the first loop iteration (see image below)

image (3)

Remark: I posted my question in dynamobim forum here, but I didn't get a desired solution!!.. although I know that I can manipulate my lists and remove each duplicated arc, but I want find a real solution which allows me to update that variable and fix this issue.
Please check my code below for more details:
https://github.com/REDO79/arc.git

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant