Projection points onto surface
Projection points onto surface
(OP)
Hello
I'm new with CATIA and I need help.
I need project points into a surface and need export the coordinate to a file, csv, txt, or other format.
I found one macro in this forum to create parallel planes and project a line onto surface, but I can't extract the points.
I need this urgently.
Anybody can help' me?
Best regards
Marco Wilson
I'm new with CATIA and I need help.
I need project points into a surface and need export the coordinate to a file, csv, txt, or other format.
I found one macro in this forum to create parallel planes and project a line onto surface, but I can't extract the points.
I need this urgently.
Anybody can help' me?
Best regards
Marco Wilson





RE: Projection points onto surface
Regards,
Jenia Ladkov
RE: Projection points onto surface
RE: Projection points onto surface
indocti discant et ament meminisse periti
RE: Projection points onto surface
I try use the script but now I have a new problem.
I create parallel planes in x, y directions and intersect with my surface. How do I can create points in the intersections lines?
I run the scrip and I recognize only 3 points.
In the next image show a little bit of my catpart with the projection lines.
Best regards
RE: Projection points onto surface
Intersect your vertical lines with your horizontal lines or planes.
RE: Projection points onto surface
I run the script but he recognize only Point.19, Point.20, Point.21.
In Multi Output.38(Intersect) we see the intersections lines.
It is necessary convert or what else this intersections in points? If I move the mouse and add manually one point the script recognise that point, but not the others.
RE: Projection points onto surface
you can do a few things.
Turn your history off (create datum icon) and re-intersect your curves.
OR create a new geometric set, grab your multi outputs, rmb copy, paste special as result to your new geometric set.
OR same as above but paste special as result to a new empty file.
OR grab all your intersects , rmb > selected objects > isolate.
The excel macro grabs all the points from the geometric set selected, after you initiate the macro.
RE: Projection points onto surface
I follow your suggestion but I don't have success.
I found one tool bar (Time saving Toolbar) and I use this option "Convert Isolated Points to Coordinates".
With this option I convert the points and lately i export to Excel.
Where I can find one macro only to convert the points to coordinates?
RE: Projection points onto surface
Once points are in excel, you can then format cells to a number and choose how many decimal places.
Then save it as a csv file.
RE: Projection points onto surface
answer: nowhere
why?
Because what you want is specific to your needs
So what's next?
Either enjoy the free 2 step solution
or
Pay someone to do what you need
or
Learn scripting and do it yourself
if you believe in Santa / Unicorn, you can wait here and see if someone would do it for free... but it might take some time.
up to you.
If you want to learn I suggest you open another Thread and post your code, the error message, the result and what you expect. I will help.
indocti discant et ament meminisse periti
RE: Projection points onto surface
Thank you in advance for your support.
Itsmyjob - Sorry if you hurt your feelings.
I'll leave those comments to you
I need help and I try here in this forum.
I work with Solidworks and for that software I've created the code to do what I want. I have the need to apply this to Catia.
Best Regards
RE: Projection points onto surface
could you present a screen grab of the result after you isolate the points following Rickyt's solution?
no hurt feelings... like I said I will help you to get there, but be ready to show your progress.
indocti discant et ament meminisse periti
RE: Projection points onto surface
I have successfully successfully exported the points. However I need help again.
I would like to automate the mu process.
I created a macro to create me parallel plans with the following names:
"Plans XZ" and Plans YZ.
Is it possible to use the "Intersection" command directly in my code?
I have already recorded a macro to do this but it only works on this model.
My other question is that I need to create normal lines to the surface from the previously created points and check the angle value in the 3 directions.
Below I send an image of what I intend.
If you can help me, I thank you.