Convert URP to URPX?

Is there a tool available to convert a URP to URPX for Polyscope X?

If I attempt to open a URP in the Polyscope X online simulator I get a JSON error:

Does such a thing exist or are we required to hand enter the contents of a URP to make a similar URPX?

.urp and .urpx are built differently. Currently, there is no official tool or way to directly convert .urp files to .urpx files. You could try using the .script file of your urp if you want an automatic solution, that may be a workaround.

I did just build URPX from the ground up and optimized my programs with the new funcionalities X offers.

There is no such tool available as it stands since they are both built very differently.

A .urp from polyscope 5 has no concept of the functions and modules that PSX offers, and likewise PSX doesn’t really have anything directly analagous to subprograms. A .psx file as you’ve seen is based on the JSON format, where a .urp file is based on XML, so they are also completely separate file types too.

The best thing you can do is reuse any script (URScript can still be written and run on PSX) or apply any logic you’ve used to writing a new PSX program, though I realise when it comes to positional data this is a tedious task.

1 Like