# Path on face

**URL:** <https://forum.visualcomponents.com/t/path-on-face/512>\
**Category:** Visual Components Add-on Samples\
**Created:** [November 28, 2018, 10:33am UTC](https://forum.visualcomponents.com/t/path-on-face/512 "2018-11-28T10:33:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![keke](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/keke/32/762_2.png) [@keke](https://forum.visualcomponents.com/u/keke)\
**Post date:** [November 28, 2018, 10:33am UTC](https://forum.visualcomponents.com/t/path-on-face/512/1 "2018-11-28T10:33:25Z")

</div>

Here is an add-on for creating robot process paths on surfaces. **Add-on requires access to topology so Premium level product is needed.**

Add-on has a bunch of parameters that affect the path generation. Check out attached pdf for details. Easiest way to see parameters’ effect is to try them out. There is a preview of the path that is updated whenever parameters are changed. So launch the add-on, select a surface, tune the parameters and generate the path or hit cancel to delete preview path.

-k

&nbsp;

 ![path_on_face](https://forum.visualcomponents.com/uploads/default/original/2X/b/b27b11458afb90c0455005a0f3efde6f225b8ab4.png)

[PathOnFace\_16\_09\_2021.zip](https://forum.visualcomponents.com/uploads/short-url/kgGmPjNfCBQxFvDFR0QbJoGDtZC.zip) (9.9 KB)

[PathOnFace.pdf](https://forum.visualcomponents.com/uploads/short-url/a6GhJSGASSUys5O3tOMxjzVWnlZ.pdf) (1 MB)

---

<div class="post-metadata">

**Author:** ![satish](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@satish](https://forum.visualcomponents.com/u/satish)\
**Post date:** [March 15, 2019, 10:52am UTC](https://forum.visualcomponents.com/t/path-on-face/512/2 "2019-03-15T10:52:51Z")

</div>

Hello,

It seems interesting, could you please let me know if there is any tutorial available regarding this? your help would be highly appreciated.

&nbsp;

Thank you

Best Regards,

Satish

---

<div class="post-metadata">

**Author:** ![keke](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/keke/32/762_2.png) [@keke](https://forum.visualcomponents.com/u/keke)\
**Post date:** [April 15, 2019, 12:25pm UTC](https://forum.visualcomponents.com/t/path-on-face/512/3 "2019-04-15T12:25:11Z")

</div>

Hi,

There is no tutorial for this unfortunately. But here’s a bullet point process for using the add-on:

- Unzip the add-on under My Commands folder.
- Launch VC and some robot cell.
- Select the robot, go to program tab.
- Click "Path On Face" button on program panel.
- Click "Select Surface" button and click some surface on the 3D scene. Preview of the path should be displayed.
- Tune the parameters. Hitting Enter after changing some value should update the preview path. There's a frame at the start of the path that displays the tool frame orientation.
- Click Generate to create a path.

-k

---

<div class="post-metadata">

**Author:** ![robots4joey](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/r/db5fbb/32.png) [@robots4joey](https://forum.visualcomponents.com/u/robots4joey)\
**Post date:** [September 11, 2021, 8:36am UTC](https://forum.visualcomponents.com/t/path-on-face/512/4 "2021-09-11T08:36:25Z")

</div>

Hi there, not sure if you’ll be able to help. I use path on face a lot. thank you so much for creating it! Recently something has changed and there is no ‘accuracy method’ dropdown on the points it creates. then when post processing i get an error that it is an “Invalid value for AccuracyMethod.” Do you know what happened?  
thank you so much  
-Joe

---

<div class="post-metadata">

**Author:** ![keke](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/keke/32/762_2.png) [@keke](https://forum.visualcomponents.com/u/keke)\
**Post date:** [September 13, 2021, 6:16am UTC](https://forum.visualcomponents.com/t/path-on-face/512/5 "2021-09-13T06:16:05Z")

</div>

Hi,

Could it be that you started to use path statement instead of linear statement? Add-on had a missing feature where it didn’t create AccuracyMethod property at all for path statement positions. This doesn’t affect simulation but some post-processors throw an error if that is missing. I modified the add-on so please try to download new version from the original post attachment “PathOnFace\_13\_09\_2021.zip”. Now it should create AccuracyMethod property for path statement and it should work better with post-processor.

-k

---

<div class="post-metadata">

**Author:** ![robots4joey](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/r/db5fbb/32.png) [@robots4joey](https://forum.visualcomponents.com/u/robots4joey)\
**Post date:** [September 16, 2021, 4:59am UTC](https://forum.visualcomponents.com/t/path-on-face/512/6 "2021-09-16T04:59:48Z")

</div>

Thanks for supporting this add-on! I downloaded the new files today and it appears to have added the correct accuracymethod property! however, now there is a new error in the post processor. I’m using the universalrobot post processor. but i’m guessing others will have issues.  
thanks again for the help!  
File “file:///\inf-ict-03\s2608054$\Visual Components\4.3\My Commands\RobotPostProcessor\PostProcessLauncher.py::”, line 186, in callPostProcessor  
File “\inf-ict-03\s2608054$\Visual Components\4.3\My Commands\RobotPostProcessor\Translators\UniversalRobots\_script.py”, line 233, in postProcess  
translateRoutine(routine, routine.Name, output\_file)  
File “\inf-ict-03\s2608054$\Visual Components\4.3\My Commands\RobotPostProcessor\Translators\UniversalRobots\_script.py”, line 206, in translateRoutine  
translator(output\_file,statement)  
File “\inf-ict-03\s2608054$\Visual Components\4.3\My Commands\RobotPostProcessor\Translators\UniversalRobots\_script.py”, line 164, in writePath  
motiontarget.CartesianAcceleration = statement.getSchemaValue(i,“Acceleration”)  
TypeError: CartesianAcceleration must be a real value.

---

<div class="post-metadata">

**Author:** ![keke](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/keke/32/762_2.png) [@keke](https://forum.visualcomponents.com/u/keke)\
**Post date:** [September 16, 2021, 5:24am UTC](https://forum.visualcomponents.com/t/path-on-face/512/7 "2021-09-16T05:24:57Z")

</div>

Ok I made another fix so add Acceleration and Deceleration properties to path positions. There was also a bug in UR post-processor with handling the path statements. So please get the latest path-on face addon on this thread and latest post-processor here: [https://forum.visualcomponents.com/t/robot-program-post-processor-downloader/](https://forum.visualcomponents.com/t/robot-program-post-processor-downloader/)

-k

---

<div class="post-metadata">

**Author:** ![Junsu](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/j/6a8cbe/32.png) [@Junsu](https://forum.visualcomponents.com/u/Junsu)\
**Post date:** [September 5, 2024, 8:19am UTC](https://forum.visualcomponents.com/t/path-on-face/512/8 "2024-09-05T08:19:56Z")

</div>

Hello everyone,

I did some tests to use the feature but found a problem with the version with OLP that doesn’t work normally.  
I can’t find the icon for that ADD ON in VC 4.8 Premium OLP, 4.9 Premium OLP.  
Is there a way to fix it?

Best regards,

---

<div class="post-metadata">

**Author:** ![keke](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/keke/32/762_2.png) [@keke](https://forum.visualcomponents.com/u/keke)\
**Post date:** [September 5, 2024, 9:16am UTC](https://forum.visualcomponents.com/t/path-on-face/512/9 "2024-09-05T09:16:59Z")

</div>

OLP products use different program editor so add-ons won’t show up on it. You can replace the add-on’s init file with the attachment. Then the button will appear on the Program tab’s ribbon and then it works also on OLP.  
[**init**.py|attachment](https://forum.visualcomponents.com/uploads/short-url/z6g7lnhnCdeT5ppGt7puWz8sVaY.py) (767 Bytes)

![image](https://forum.visualcomponents.com/uploads/default/original/2X/d/d8217ed742b87089495347a316b68d6d30eb76bb.png)

If you are using OLP product then I suggest to get familiar with its inbuilt path generation tools for surface processes. In many ways I think those are better than this python add-on.

-k
