RoboDK Forum
curve normals not following object surface- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: curve normals not following object surface (/Thread-curve-normals-not-following-object-surface)



curve normals not following object surface-KristanOP-12-14-2022

hello guys,

我run into a problem again, this time i got the curves on the object working but the normals of those lines are not following the surface of the object.

i tried to fix it with "tilt curve normals" but that is neither accurate nor fast, the products we want to sand are also to complex and curved to do this by hand. the python scripts included in the RoboDK directory didn't fix the problem either, the arrows keep pointing in the same direction, even when upping the linear, angular and curve accuracy.

i'll inlcude the file these problems occur with, i hope there is a simple solution to fix those normals so the tool can follow the surface of the object.


RE: curve normals not following object surface-Sergei-12-27-2022

Hello Kristan,

First, set the import options for models and curves (Tools-Options-CAD):



Then copy the model and run theCurve_Filter_AverageNormalsscript (located in theRoboDK\Library\Scriptsdirectory). Select your model. Set the averaging parameter to25.



Hide the original model and work with curves obtained after averaging the normals.



Example attached.

If you have any questions please let me know.
Best regards, Sergei


RE: curve normals not following object surface-KristanOP-01-09-2023

(12-27-2022, 09:52 AM)Sergei Wrote:Hello Kristan,

First, set the import options for models and curves (Tools-Options-CAD):



Then copy the model and run theCurve_Filter_AverageNormalsscript (located in theRoboDK\Library\Scriptsdirectory). Select your model. Set the averaging parameter to25.



Hide the original model and work with curves obtained after averaging the normals.



Example attached.

If you have any questions please let me know.
Best regards, Sergei

Hello Sergei,

thank you for your help! i greatly appreciate it!

unfortunately the normals are still not doing what i want it to. after making sure i got all the parameters/ settings the same, the normals are still pointing towards one point. i've attached some images

the script is not here in the tree because i ran the script from the folder directly, i also tried adding it into roboDK and running it again, to no avail.


RE: curve normals not following object surface-Sergei-01-10-2023

I made a station very similar to yours, then I did all the operations that I described and then I got the normals to the surface again.



Could you reimport the STEP model please?
This can help.

I attached my station.


RE: curve normals not following object surface-KristanOP-01-13-2023

(01-10-2023, 07:22 PM)Sergei Wrote:I made a station very similar to yours, then I did all the operations that I described and then I got the normals to the surface again.



Could you reimport the STEP model please?
This can help.

I attached my station.

thanks! re-importing the file did the trick!