×
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

Can proe relations fulfil the function of Matlab?

Can proe relations fulfil the function of Matlab?

Can proe relations fulfil the function of Matlab?

(OP)
Hi,here with a question: just like Matlab, with designate the variable intervals, can we use edit relations or programs to fulfil the matlab-like function to create curves and surfaces? Thanks

RE: Can proe relations fulfil the function of Matlab?

Keeping in mind I'm no Matlab expert....

The closest Pro/E can come to doing what you asked is to create a curve based from equations.

This will let you create a curve based on a set of parametric equations, in Cartesian (X,Y,Z), Cylindrical (r,theta,z) or Spherical (r,theta,phi) coordinate systems. The equation editor works very much like the relation editor like you asked.

Each involve a single parameter, t, which goes from 0 to 1 through the span of the curve.

As far as surfaces go, I don't believe you can create them in the same way that you would in Matlab. Some clever surfacing may let you work around this (defining boundary curves from equations possibly?)

Working in Matlab and working in Pro/E are two very different things, since the output of either program serve very different (but possibly complimentary) goals.

It may be possible to generate a surface in Matlab and import it into Pro/Engineer, but that is beyond my present cabablilites with Matlab.

RE: Can proe relations fulfil the function of Matlab?

(OP)
Thanks justkeepgiviner, that's enough for me.

RE: Can proe relations fulfil the function of Matlab?

Hi

I know this comes a lot later but I've stumbled on another possible solution (while working on something else) that might help you.

Using the tool  :  Insert-->Advanced--> Blend from File

You can import an *.IBL file of the following format:

CODE

Open Index Arclength

Begin Section ! 1

      Begin Curve ! 1
      1 X        Y       Z
      2 X        Y       Z
      3 X        Y       Z


Begin Section ! 2

      Begin  Curve ! 2
      1 X        Y       Z
      2 X        Y       Z
      3 X        Y       Z
  

Where each section is composed of as many curves as needed to construct a cross section through your surface.

You could construct a matlab script to output a file like this and then read it into Pro/E. I'm working on something similar with Excel at the moment.

RE: Can proe relations fulfil the function of Matlab?

I tried that but got a message:

Line 17: Expected 'Begin curve'
Not all elements are defined. Select element(s) or action(s) from dialog box.

(I assume line 1 starts with "Open Index Arclength")

Please see the content of the .ibl below:
=====================
Open Index Arclength
Begin Section ! 1
Begin Curve ! 1
1       1.160100        2.163200        0.000000
2       1.162500        2.176500        0.000000
3       1.167900        2.196600        0.000000
4       1.169800        2.205600        0.000000
5       1.173500        2.232200        0.000000
6       1.175500        2.240900        0.000000
7       1.180600        2.266800        0.000000
8       1.182600        2.277300        0.000000
9       1.187700        2.298300        0.000000
10       1.189500        2.310200        0.000000
11       1.194400        2.330600        0.000000
12       1.196300        2.341200        0.000000
===================

Am I missing something?

T.

RE: Can proe relations fulfil the function of Matlab?

By the way, I did Insert > Advanced > Blend from File > Surface.

I even tried Insert > Advanced > Blend from File > Protrusion

and Insert > Advanced > Blend from File > Thin Protrusion

Still none works.

Is it something in the config.pro?

T.

RE: Can proe relations fulfil the function of Matlab?

So at line 17, I added: Begin Curve to the ibl file you see above.

and ran the Insert Advanced again.

Then ProE froze afterward..

Will keep trying..

RE: Can proe relations fulfil the function of Matlab?

trillicomm,

you might try breaking it up

Insert datum curve>from file> select your co-ord system

then select your ibl file ...files

then build your surface from those sections

depends really what you're looking for

RE: Can proe relations fulfil the function of Matlab?

cadcamguy,

I did exactly that.  It will not work (I tried in WF2 and WF3).

The same message shows again:

Line 17: Expected 'Begin curve'.
Not all elements are defined. Select element(s) or action(s) from dialog box.

T.

RE: Can proe relations fulfil the function of Matlab?

T,
Not sure if this could be the problem, but it did cause some problems with cnc code.

Is you file created in a plain editor such as notepad, not Word? because word will throw in little extras that are not really visible....just a thought.. I can get some info and cut and paste your numbers, but right now I have to get going to work

RE: Can proe relations fulfil the function of Matlab?

It works this time when I used the Offset Coordinate System Point Tool.  And import the ibl file.

Case is closed.

T.

RE: Can proe relations fulfil the function of Matlab?

trillicomm

The problem you were running into was due to the fact that a blended surface, by definition, must contain more than one section.

Consider the following IBL file:

CODE

Open Index Arclength
Begin Section ! 0 <comments come after ! >
Begin Curve ! 0.1
1    0    0    0
2    5    5    5
3    10    10    10

Begin Section ! 1
Begin Curve ! 1.1
1    0    0    0
2    5    7.5    10
3    10    10    15

It's best to think of this in terms of a blend feature, that is, each section is like a "sketch" in 3D space. Each section is composed of one or more curves. For the blend to work, there should the an equal number of curves per section, and the order in which the curves are input is important (think of the blend start point).

NB: You can also have the first line say:
Closed Index Arclength
(For solid blends with closed sections)

Hope it helps

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