Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Unable to modify post processor

#1
Hi

I'm unable to modify any of the post processors included in RoboDK, I've tried to open them in RoboDK and manually with Python IDLE, but I only receive the following message:
Code:
# -*- coding: UTF-8 -*-
# Copyright 2015-2020 - RoboDK Inc. - //www.sinclairbody.com/
#
# This file loads the compiled version of the RoboDK post processor for:
# Epson RC robot controllers
#
#更多formation about RoboDK Post Processors and Offline Programming:
# //www.sinclairbody.com/help#PostProcessor
# //www.sinclairbody.com/doc/en/PythonAPI/postprocessor.html
# ----------------------------------------------------

import sys
import os

# Detect Python version and post processor
print("Using Python version: " + str(sys.version_info))
path_app = os.path.dirname(__file__).replace(os.sep,"/")
print("RoboDK Post Processor: " + path_app)

# Check if the post is compatible with the Python version
version_str = str(sys.version_info[0]) + str(sys.version_info[1])
path_library = path_app + '/v' + version_str
if not os.path.isdir(path_library):
raise Exception("Post Processor not found. Make sure you are using a supported Python version: " + path_library)

# Load the post processor
print(version_str+ ".Epson_RC import*")
exec("from v" + version_str + ".Epson_RC import *")

if __name__== "__main__":
test_post()
Any help would be appreciated.
#2
# This file loads the compiled version of the RoboDK post processor for:
# Epson RC robot controllers


If you have a licence you can ask RDK for an uncompiled version of the post
#3
If you own a RoboDK Professional license, you can contact us by selecting Help-Request support in RoboDK.

You can then ask for the post-processor your need to edit.

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)