cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Creating a curve between two points using the Manhattan path instead of Euclidean path

bbt
6-Contributor
6-Contributor

Creating a curve between two points using the Manhattan path instead of Euclidean path

I am trying to create a curve between two points(3D) on a surface that should trace the Manhattan distance instead of an Euclidean distance. How do we achieve this in Creo 9?

I have already tried the "Curve through Point and Direction" option and it doesn't work for my case as it requires additional direction reference.

 

FYR

bbt_0-1721656471457.png

I would appreciate it if anybody could help.

 

6 REPLIES 6
tbraxton
21-Topaz II
(To:bbt)

I am not well versed in the math of this concept, but I would ask why the curve through points using straight line option does not work. Is it because you need to be able to assign the orthonormal basis used to define the unit vectors before connecting the points? Creo does have a transform function to map between csys features. If you explain what is not working with curve thru points, then someone here may have a workaround.

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
bbt
6-Contributor
6-Contributor
(To:tbraxton)

thanks for the insights. it is possible to achieve the same using "curve through points" but it is a bit difficult in my case as i want to place these curves on a curved surface. even if i compute the vertex, how can i exactly place this on a curved surface?

P.S. I am using Protoolkit to place these curves on a curved surface (as a UDF) by just getting the two nodes as input.

kdirth
20-Turquoise
(To:bbt)

This is not a function in available in Creo.  I am not sure exactly what you are looking for.  You could add a third point to define the corner of curve or project a sketch onto the surface.


There is always more to learn in Creo.
tbraxton
21-Topaz II
(To:bbt)

I did quick test on a 2D case, and it is possible to shift the basis used. I am not sure this is a solution, but this video shows that using a csys shift; the points and path change based on the transform. This example is independent of the basis used to create the points on a plane. I am defining the basis used for the path in the sketch feature defining the points. In theory you should be able to shift the basis used for the path in 3d space as well.

 

tbraxton_0-1721658895337.png

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
KenFarley
21-Topaz I
(To:bbt)

I don't really understand the scenario of what you're looking for.

It seems like the problem is underdefined.

Is the solution you want two linear segments? Even if you were dealing with just a 2D set of curves, you still need to know a vector or something that specifies either the "horizontal" or "vertical" direction for the line leaving one or the other of the vertices.

If you know the direction of either the "horizontal" or "vertical", the problem is (if my vector math is okay):

(1) Calculate a vector in 3D-space from point 1 to point 2.

(2) Calculate the dot product of this calculated vector and the unit vector that defines the "horizontal" or "vertical".

(3) Use the calculated dot product to scale the "horizontal" or "vertical". This is a 3D vector from one point to the corner.

(4) Add the scaled "horizontal" or "vertical" to the starting point. This will give the coordinates of the corner point.

 

If you're only doing this for one point in Creo, it isn't too bad. If you need to do a non-trivial number of points, it's going to get tedious.

bbt
6-Contributor
6-Contributor
(To:KenFarley)

thanks, i am looking if there is an in-built option in Creo to achieve this. because I want to place these curves on a curved surface, so it would become even more tedious to calculate the uv of the vertex point.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags