from robodk.robomath import * ModuleNotFoundError: No module named 'robodk.robomath'; 'robodk' is not a package ????"> No module named robodk.robomath, robodk is not a package - 英格兰vs伊朗谁会赢?

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named robodk.robomath, robodk is not a package
#1
File "c:/RoboDK/Posts/Kawasaki.py", line 47, in
from robodk.robomath import *
ModuleNotFoundError: No module named 'robodk.robomath'; 'robodk' is not a package ????
#2
Are you using a custom post-processor?

If not, can you update RDK to the latest version? We did some modifications to our API but it should not affect you like this.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#3
This is probably not an official post processor. Where did you get it from?

You can replace line 47 of your Kawasaki.py post processor for this line:
Code:
from robodk import *
#4

Yes, non-standard postprocessor
OK !!


Attached Files Thumbnail(s)

#5
For more details on why you might encounter this issue, see this post:
//www.sinclairbody.com/forum/Thread-Python-A...boDK-5-4-0

In this case, I believe either the RoboDK version or the robodk python package is not up-to-date (5.4.0+).
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
#6
after such changes it compiles Another question.

How do I call these functions in RoboDK
codel.startswith ("weldstart") codel.startswith ("arcstart"): ???


Attached Files Thumbnail(s)

#7
the "def runcode" refers to the "Program Call" of RDK UI.
You can add them either manually or using the curve follow project "Program events".

https://drive.google.com/drive/folders/1...CCTdy-p7GW
Excel sheet
Module 1 -> Subprogram
Module 10 -> Program Events.

Just use the keyword weldstart or arcstart as the name of the program called and the post will pick it up.

There's also a video about post-processor usage and modifications.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#8
thank you !!!
#9
Hello !!
did i call functions correctly?
In post procecor I do not see adding the command: LWS? (getting to the starting point, arc ignition)
How can I add this feature?
Cheers!


Attached Files Thumbnail(s)

#10
If you own a Professional version under maintenance, you can contact us through "Help"->"Request support". We will help you modify the post-processor according to your needs.
I'm not sure the welding features were integrated into the Kawasaki post.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)