[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k] [s4s] [vip] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Home]
Board
Settings Home
/3/ - 3DCG



Thread archived.
You cannot reply anymore.



File: Point_cloud_torus.gif (189 KB, 300x300)
189 KB
189 KB GIF
CATIA V5 question:

I want evenly spaced points on a surface (not perfectly distributed).
The surface is a curved cylinder, similar to a toroid (pictured).

How do I do it?

My current approac:
1) Generate an even cloud of points that surrounds the entire shape.
2) Filter the points closest to the surface by offsetting it and trimming.
3) Project the remaining points on the surface.

I can do the filtering but when I try to project the points they are projected twice (since my surface is cylindrical), one on the close side and one on the far side.

So, any ideas on how to achieve this in CATIA?
>>
>find distance between each original point and each of the two projected points
>choose points with lowest distance

I don't know that much about CATIA but you can write scripts for it, this shouldn't be too difficult.
>>
>>555133
There is a near/far function, but applied to the point cloud it would give me just the one point closest to the surface.
>>
>>555166
so you set up your script to run it in each point in the cloud seperate

>start loop
>project point
>measure distance between original and projected
>choose nearest
>repeat loop for every point in cloud
>>
>>555189
Sounds simple, but I can't seem to get going.
My point cloud is a single object, and I'm not sure how to iterate over it.
>>
File: 3[1].jpg (148 KB, 1600x900)
148 KB
148 KB JPG
>>555436
is there an option to explode the point cloud into its component points?
You might want to post on the Catia forums for more help. I don't think there are too many users here.

Unless you're invested in CATIA, it may be easier using other software. I know doing this in Rhino is trivial.
Also im surprised that this is




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.