-
Hi Folks,
I am using Wildfire 4.0, and I am trying to get some
data from my model into Excel. What I have is a
truncated conical shape that I have an axis perpendicular
to the truncation. I have created a plane, offset by 5
degrees from my original datum using that axis as my
pivot point. I want to take 1000 points on the line I
generate by the intersection of that geometry and the
plane I made and output a delimited textfile I can import
into Excel. I need to do this every 5 degrees around the
circumference, a total of 36 times to get the entire set
of data I need. Is there a way I can program Wildfire
4.0 to do this, possibly using mapkeys? I am thinking I
would write some sort of "macro" and hotkeys sound right,
but I don't have much experience with them, and I don't
know how to make it increment automatically every 5
degrees. Thanks for your input!
-Chris
-
Hi Chris,
you could use a family table in which the instances have your five degrees distance. Create parameters of your xyz values and put them into the table.
Verify the family table and export it.
Reinhard
-
09-16-2010, 09:14 AM
Advertising Member
-
Reinhard,
What an interesting idea!! Do you think the family table
would handle 3000 + columns of data each (1000 pts XYZ for
each angle). I can see how that would work, any chance I
could make the family table so the families are in columns
instead of rows?
Any other ideas, possibly using an excel macro to drive the
operations through the VB API? Thanks for the advice so
far!
-Chris
-
Chris,
there may be a limit of column export to Excel, I heard of 256 columns.
But you can work in steps. You create your table with 250 columns, export your coordinates and then save it to file. You can edit this file (for your next 250 columns) and reimport it in your family table. Then you paste these fragments in Excel.
Good luck
Reinhard
-
if i understand it correctly:
i suggest to create all the required datum points on the sections using pattern, then insert an independent geometry in the model, move it to the top of the tree and include all the patterned points inside it. then you can delete all the other geometries inside the part. that leaves you with just the points. then save a copy of the part as a .stp file (set the option to include only datum points). opening the file using notepad, you'll see that it has all the points in this format:
#5=CARTESIAN_POINT('PNT19',(-1.516839955987E2,2.402438474909 E1,5.7E1));
also a few extraneous lines at the start and end which you can delete manually. save it as a txt file and import into excel as comma delimited txt. the first column will be of the form #5=CARTESIAN_POINT('PNT19', and the 3 others will include the coordinates. delete the first column and ctrl+f replace all ( and )); with blank. that leaves you with all the required data in 3 columns.
Edited by: solidworm
-
I played a little with family tables.
You can export your table as protab file and keep it for future use. If you import it it will overwrite your existing table.
But solidworms solution looks better.
Reinhard
-
09-16-2010, 11:52 PM
Advertising Member
-
Solidworm and ReinhardN, I'll have to take a look at the
proposals you mentioned! I think what I am hoping to do
is create some sort of "Macro" that will ask for a datum,
axis, and reference datum for the angle increment. Then,
the macro would tell Pro/E to take a section, create 1000
datum points along the line the section created, save the
points in a file, referencing a coordinate system with
the origin at the axis of rotation, then increment the
angle, and repeat the steps until the datum plane is
shifted 180 degrees. This would be used to characterize
a compound curve fuselage with oval cross-sections. I
plan to use this code to feed into an excel macro to
generate the G-code to make this using my hotwire
machine. Thanks for your help, any more suggestions?!
-Chris
-
-
Solidworm,
Now I understand! Thank you, I will try that as soon as
I get my Pro/E set up again (PC Power supply is shot and
needs to be replaced!). Thank you!
-Chris
-
Solidworm,
Is there a way to export the points as X-Y-Theta where
theta is the angle? I don't recall if Pro/E has
cylindrical coordinate systems available. Thanks so much
this discussion is really helpful!
-Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
When creating a section in Creo the arrows are not per ANSI Standards. Please reference attachment. Thank you in advance, j4Cruisers
Creo Section Arrows in Drawing not...