×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Projection using Formula or increase triangulation.

Projection using Formula or increase triangulation.

Projection using Formula or increase triangulation.

(OP)
Hi everyone,
I have to project all the faces of a body on a plane in such a way that the all coordinates (x,y,z) of the body become (x,0,sqrt(y^2+z^2))on the plane.
Is it possible to do this using a law formula? I had a look at this potential possibility but it turns out that I have no idea how to do it so I looked for other options. So far I have tried the following:

1- Create a journal to revolve all the FACES of the body around the Z axis, then cutting this with a plane to get a slice that contains all these points. Problem -> Some faces cannot be revolved (e.g. cylinders, caps etc).

2- Create a journal to project all the EDGES of the body on the plane following (x,y,z) -> (x,0,sqrt(y^2+z^2)). Problem -> Some edges cannot be projected(e.g. cylinders, caps etc).

3- Create a journal to project all the POINTS of the body on the plane following (x,y,z) -> (x,0,sqrt(y^2+z^2))and then trying to fit a surface that pass through those points. Problem -> It is hard to fit a surface in complicated shapes.

4- Save the initial body as VRML in order to get tessellated geometry (triangle coordinates), then create a code to parse the file changing directly the(x,y,z) coordinates of each triangle for (x,0,sqrt(y^2+z^2). It works OK but for some bodies I would need to increase the number of triangles if I want to get a good result (e.g a rectangular face will have only 2 triangles but I would need more triangle for my purpose in some cases).

Do you have any ideas regarding the law formula or how to increase the number of triangles in a face or any other suggestions to help me accomplishing this task?

Please see a picture illustrating the end purpose of this.

Many thanks!
J

RE: Projection using Formula or increase triangulation.

Huh weird problem

What is it exactly that you need with all these points? Do you only need the silhouette of the part? ie the boundary made by the points? or do you need the points inside the boundary?

If you only need the boundary use the extract command under derived curves. If you for some reason need to map points back from the plane to the volume then a solid mesh of some kind is probably the way to go and it would also be easy to control the element density.

RE: Projection using Formula or increase triangulation.

(OP)
Hello,
Thanks for your answers. My final aim is to be able to get the 2D axy version of "any" 3D model. Therefore the outer edges and the boundaries of each internal elements are the important information if we want to put automatically a mesh to that afterwards. For example if we consider a heat exchanger we will need to see the fluid and the solid parts of the model. Please see attached an example of the desired result.
Does it make it any clearer?
Thanks!

PS: To work with silhouette edges would be an option if I could get a "fully revolved 3D body" but actually I can't revolve some faces (e.g. cylindrical).

RE: Projection using Formula or increase triangulation.

mesh it with triangular elements (or export to vrml, stl...), export to a text file then edit it with python or a similar programming language as a plain text file.

RE: Projection using Formula or increase triangulation.

(OP)
Thanks for your answer.
That was one of the things I have already tried (point 4 in my previous message) but in order to make that work I would need to know how to increase the tessellation (number of triangles) in the model. For example a rectangle would only be defined with a minimum amount of triangles (two) but this is insufficient for my purpose as when I project the points {(x,y,z) -> (x,0,sqrt(y^2+z^2))} I only obtain the outer profile without triangles inside it. Please see picture attached.
Is there a way to increase the tessellation in NX when exporting VRML files?
Thanks!

RE: Projection using Formula or increase triangulation.

check if it's possible to set accuracy or use another format. STL is quite accurate (or more accurate in that regard).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources