Linuxcnc stops working (testing While loop in While loop)
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
11 Apr 2019 23:32 #130699
by NullStudent
Linuxcnc stops working (testing While loop in While loop) was created by NullStudent
been playing around with circles and while loops, try to do a while loop in another while loop.
G20
G0 X1.000Y1.000
G1 Z-0.5000F5.00
#1 = 0.9975
#3 = 0.4375
o101 while [#1 GT 0.3125]
G0 Z0.100
#2 = 0.0000
G0 X[#1]Y1.000
G1 Z-0.0625F5.00
o102 while[#2 GT -0.5]
G2 X[#1]Y1.000 i[#3]j0 Z[#2]
#2 = [#2 -0.0025]
o102 endwhile
#1 = [#1 -0.0025]
#3 = [#3 +0.0025]
o101 endwhile
G0 Z0.100
G0 X0Y0
M30
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17997
- Thank you received: 4842
12 Apr 2019 00:24 - 12 Apr 2019 00:30 #130701
by PCW
Replied by PCW on topic Linuxcnc stops working (testing While loop in While loop)
Yeah, ~55,000 ~1 inch circles at 5 IPM _will_ take a while...
( plus the backplot uses ~3 GB )
( plus the backplot uses ~3 GB )
Last edit: 12 Apr 2019 00:30 by PCW.
The following user(s) said Thank You: NullStudent
Please Log in or Create an account to join the conversation.
- NullStudent
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
17 Apr 2019 18:38 #131065
by NullStudent
Replied by NullStudent on topic Linuxcnc stops working (testing While loop in While loop)
Yup, I got worried and thought I broke it, had to increase the depth and width of the circles to lower the loops.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
20 Apr 2019 22:33 #131334
by andypugh
Replied by andypugh on topic Linuxcnc stops working (testing While loop in While loop)
You can turn off the axis backplot using "magic comments" to save waiting for very long files to render.
linuxcnc.org/docs/2.7/html/gui/axis.html#axis:preview-control
linuxcnc.org/docs/2.7/html/gui/axis.html#axis:preview-control
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds