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

Copy/Duplicate

#1
What is the easiest way to do Copying or Tiling in RoboDK, or should I just continue to duplicate in inventor like I have been, for my welding parts?
Thank you

Clint
#2
The best method depends on the specific task itself. By the way, the Inventor plug-in should be useful:
https://robodk.com/doc/en/Plugin-Invento...inInventor
#3
(06-05-2023, 07:39 AM)Sergei Wrote: The best method depends on the specific task itself. By the way, the Inventor plug-in should be useful:
https://robodk.com/doc/en/Plugin-Invento...inInventor

Yup, ty
I've been using it.
#4
By copying or tiling do you mean you would like to automatically create an array of parts and replicate your welding tool-path in multiple locations?
#5
(06-07-2023, 06:33 AM)Albert Wrote: By copying or tiling do you mean you would like to automatically create an array of parts and replicate your welding tool-path in multiple locations?

Yes!
#6
In this case you can automate this using the RoboDK API.

For example, a sample script in Python would look like this:
Code:
part = RDK.Item("Part with curves", ITEM_TYPE_OBJECT)

# Create a copy
part.Copy()

# Add a new coordinate system
new_frame = RDK.AddFrame("New reference")
new_frame.setPose(transl(100,200,300)) # Set the coordinates of the reference frame

# Create a copy of your part in the new coordinate system
new_part = RDK.Paste(new_frame)
# new_part.setParent(new_frame) # done by Paste

# Create a curve follow project for your part. This is automatically done but the part needs to have curves (or points for a point follow project)
cfp = RDK.AddMachiningProject("New curve follow project")
cfp.setMachiningParameters(part=new_part)
  




Users browsing this thread:
1 Guest(s)