Here I will always post the latest version:
Johnsbar v1.5
Just the addin (for RS version 3.0+ English):
Johnsbar_dll.zip
With sourcecode as well (must have Visual Studio and RS v 2.0+ English):
Johnsbar_source.zip
To add an add-in to RS:
- Extract the folder to ABB RoboticsAddins
- Open RS
- Tools>Add-ins
- Add, browse to the dll (you need to have dll visible in MS Windows)
- OK
=:star::star::star::star::star:
Right now these are the buttons:
Floor
Visible on/off
MultiRename
First, select any number of objects you wish to rename (like a whole list of targets), then click the MultiRename button. It will rename them in the order selected so you can ctrl+click in any order you wish.
There are three fields:
Name: Fill in the Name that all targets should get
Start: Fill in the number of the first object
Step: Fill in the number to add to each consecutive object
(example: If you select four targets and fill in “p”,“10”, “10”, they would be renamed to p10, p20, p30 and p40)
Do not click while running a simulation.
SaveAsLibrary
First select a Part, Assembly or Mechanism. This opens up the SaveAsLibrary dialog. (If this one is popular I intend to add a second File toolbar with Import:Library, Import:Geometry, etc)
Do not click while running a simulation.
Update rate
Here you can increase or decrease the Update rate, ie the simulation speed. It also works during Simulation so that you can “Fastforward”.
(The idea for this one was stolen from Henrik)
TCP View Center
Click to change the view to the TCP. (You can click this during simulation to jump to the TCP). The TCP is the one that you currently have selected in the Elements toolbar. So as long as it is in the list you can change to any tool in the station.
MultiVisible
Select any number of objects and click to toggle Visible On/Off.
Right now there is no check for illegal objects, I will add that later. :stuck_out_tongue_winking_eye:
PartVisible
Select a part in the browser and click the button. A form will open up that lists all enteties in the part and if they are visible or not. There are three buttons in the form:
Make All Visible, that makes all enteties visible.
Make None Visible, that makes all enteties not visible.
Reverse Visible, that reverses the visible setting for all the enteties.
The form is not that beautiful but it works.
Do not click while runnning a simulation.
PartReverse
Select a path in the browser and click the button. It will now create a reverse of that path. Including reversing circular motion and retaining all motion data. (Thanks to Per S, Martin L and Thomas J who all supplied code… Pers didn’t copy process data, Thomas didn’t copy circular and Martin’s didn’t copy but got the data. But the mix of them all helped me get it right.) Right now the reversing of a path doesn’t reverse circular as well as intended, will fix this later.
Don’t click during simulation.
Save As with Controller and Program
This will make a Save As (easier for version handling), then into that station’s supporting files it will put the current controller and the current program. Now since the copy of the controller is from the start of your current session, so you need to import the program to get your most recent changes.
Only works with RW4.0.
Don’t click during simulation.
Via Target Copier
This was done by request.
Select a target that you want Via targets to, then click the button. You will get a small form, where you can say how many targets etc. The when you click the ViaTarget button you can fill in a position relative to the target. The new targets will inherit, orientation and ext axis values from the selected target.
Don’t click during simulation.
Array Copy :star:NEW:star:
This was done by request.
Select a Part that you want an array of, then click the button.
You will get questions about the number of copies and the XYZ displacement between the copies.
Remember that if the part is heavy with gfx it could take a while…:stuck_out_tongue_winking_eye:
Don’t click during simulation.