Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I have modified datums and views for my part and assembly template to use the World Coordinate System.
This was a lot of work.
Last week I discovered that I should have modified a template for MFG_CAST.
On 1st look it appears that it is set up correctly as the CSYS is oriented correctly to our top view and the pull direction.
When this exports out it gets turned around 90 degrees to what it should be.
The only indicator that shows what is actually happening is that the Red, Blue, Green arrows point away from the CSYS.
Would I just need to rotate all the datums, CSYS, views and pull direction to fix this?
Is there perhaps an easy way to fix this?
It's getting harder and harder to fight the built-in hidden coordinate system. Annotation planes are now based on this internal hidden coordinate system, NOT the named views (like they claim). If you add a default coordinate system to the model, it will always align itself with the built-in hidden one. This will show you how the model will be exported (assuming you don't select an alternate coordinate system to export on).
To answer your question, you simply rename the planes and the views to have them make sense when the Z default coordinate system Z is pointing up (and X to the right). Done correctly, you should be looking at the "back" of the front plane since positive Y is away from you.
If you haven't already done so, I'd suggest you change the following config.pro options.
orientation user_default
x_angle -38.43
y_angle -22.91
These will force Creo to roll the model around to Z-up orientation when selecting "default orientation".
Thanks Tom, I'll give this a look.
I wish there was a configuration option to set datums and views to the World Coordinate System.
Me too! I've contemplated trying to make the switch at the company I'm at now, but there is an insane amount of legacy data that would forever come in "laying on it's face" if I made the change now.
There are other things affected by this change as well that aren't immediately apparent. One of them is the lighting direction and how things look when rendered. Some of these things can be adjusted. Others I've never been able to get rolled around correctly. Frankly, I've given up. At least for now.
Finally I can get back to this task.
Tom: Thank you for your tip in changing the default view orientation. Up to this point I haven't even used this view as the orientation was worthless.
I was able to change the datums and views for the MFG_CAST template. Now the central Red, Green, Blue lines up with the datum orientations and CSYS.
Knock on wood this is what I want so my parts will import and export with the MFG_CAST correctly.
Until I used Dynamic Orient it was a pain setting up the named views.
I think I'm good for now but in the future I will certainly keep in mind some of the suggestions from this thread such as placing a CSYS at the beginning and orienting using MapKeys.
Take this for what it is worth. It may or may not solve your problem in your environment. From your description you can solve the orientation of your export by inserting an additional csys into the model that will be used for exporting using a reference origin (csys) consistent with your design intent. So if you add a csys that has the same origin and orientation wrt to the part geometry as required for import then your import should come in "correctly". This can be implemented independent of the orientation of the part you used to design it, so you should not have to redo any of your work.
When I started to use Pro/E (1994) we migrated from UG and many users were always looking for the WCS which made the transition difficult. Using a WCS is a valid approach and it can be implemented in Creo and Pro/E but requires some planning. Aerospace and automotive systems design often uses a vehicle CSYS paradigm and has it documented and controlled but many organizations do not have this locked down at all.
I don't remember when PTC began including start parts with datums named with view orientations but I have never thought that this was best or even a good practice. Creating datum's that imply orientation in the absence of any geometry is not a good thing. In most environments users model in a manner that they are comfortable visualizing the parts they work on so the orientation varies.
I still use start parts that include default datums (planes, csys, axes) that do not imply orientation of the part. As required one can create a CSYS or datum to support the design intent within the environment. In order to make this manageable I have automated the ability to designate any view I desire as the front and all other needed views are created relative to the chosen front view. Since this is automated it can be changed at any time with a couple of commands (takes a few seconds at most). I work in consulting and get models from many different sources that have to be integrated into a design project. This necessitates the handling of mixed part orientations and references more often than not.
See this thread for a mapkey to set all 6 ortho views relative to the chosen front view.
http://communities.ptc.com/message/261096#261096
I've run into this before and found it very strange. After some efforts in creating start parts, I finally resorted to starting everything with empty parts. Never had a problem since. 1st feature - cs0; second feature - default datum planes. Proceed with modeling.
Thomas, I definitely need to implement your view creation mapkey. I have a few things to add to get my -true- drawing isometrics as well.
This may help resolve the issue for users that have never built start files from empty files. This part sets the csys arbitrarily and can be modified by the user as desired. I suspect that part of the issue is the fact that start files contain datums that imply orientation of a part resulting in a front datum plane and defined view that is not consistent with user expectations. This is why I am still of the opinion that the default datums of start parts should not in general imply orientation in the absence of geometry. There are conceivable exceptions, however start model default datums should not have names like front, top, right IMO.
This approach to start model Csys orientation plus on the fly assignment of views relative to a user defined "front" orientation of the model should go a long way to clearing much of this issue up. You can change the orientation of the Csys as required/desired. Pair this with automated view saving based on a user defined "front" view and you can deal with orientation on the fly at any time in seconds. Creo 2 example start file enclosed.
The thing to keep in mind is that even with a completely empty part, that contains absolutely NOTHING, there is still a built-in coordinate system and standard orientation. You can make whatever other coordinate systems, datum planes, or views you want, but you can never alter the built-in coordinate system. This built-in CS/orientation is also what is used when exporting (unless an alternate CS is chosen). The only way to change the standard orientation of a part, which is always based on the internal CS, is to change the default orientation preference to some custom set of angles.
If you really want to see how Creo is going to orient the part (for exporting or "standard orientation"), simply create a default coordinate system. It will always get placed and aligned with the built-in coordinate system. You can't edit it or change it.
Creating custom start parts without also changing how Creo orients the models doesn't help when exporting or importing data to/from systems that use a different orientation (unless of course you're building the models laying down).
Tom. I concur with the facts you present. The user of Creo can not as far as I know define the internal reference frame of the geometry kernel.
All 3D modelers I have seen have an internal reference frame that may or may not be accessible through the UI. It is all relative to the frame of reference in this context of geometry creation and import/export.
Change the reference frame to one of the designers choice for a given task by creating your own (features). I use different csys on native and import data quite frequently and it is part of using CAD. Creo has the functions and flexibility to establish a reference frame of your choice and use it appropriately as design intent would dictate.
One way to think of it is a real world analog of spatial orientation. If you are looking at an object in space and you need to see it from a different perspective you either have to change your location wrt to the object (line of sight) or reorient the object relative to your current position. The view orientation tool in Creo and saved views allow you to view the object from different perspectives but do nothing to alter the internal reference frame of the software geometry engine or any other csys for that matter.
This is done in the code with linear algebra and application of linear transforms based on the designated reference frame (i.e. import/export). You can investigate this using the transform option in the measure tool to obtain the transform matrix between two cartesian frames in the model. I use this often to create a new csys needed to position/orient models that do not have a common ref frame that is usable for design/analysis within Creo.
We have had the discussion before as to how PTC managed the default in the academic version start parts and the production version start parts. The question is, what is the orientation of the Z-axis of the "world" coordinate system. For most of us, looking into the Z axis is the front view with X horizontal and Y vertical. This seems to agree with a lot of software out there as the default orientation. Universal, not by any means... but convention, yes. the default planes created within an empty part too follow the "normal to" +X then +Y, then +Z.
Those of us that do a lot of importing of data know the value of consistent orientations. Although it doesn't make a hill of beans what you call front for many parts, it is good to have some semblance of orientation in an assembly. I work with a lot of parts that "function" inverted to how you would look at it in design. Those types of part, in my view, have no specific orientation. Here convenience wins out. in this case, I decide what I consider a primary orientation which is often considered "front".
As the previous discussion concluded, the top down (looking down along Z and calling it TOP) is a holdover from early CAD where it mimics a drafting board. You "view" is top down and the orientation of the CSYS mimics this. I hope we've come a long ways form the drafting board with today's convention in 3D modeling.
Paul's original image is exhibiting this very observation. The orientation icon is per Z-normal-to-front, and the CSYS is Z-normal-to-top.
You would be so happy working with the other side of computer graphics and my little buddy - the left-hand csys. This sets the origin at the top left of the screen, X positive to the right, Y positive down, and Z positive out of the screen.
Why in the world ... Because that's the way the pixel clock and the line counter works in typical raster screens, scanning left to right and top to bottom. Of course the electron beam is positively coming towards the viewer. I think this was the way that most screen graphics software is still - the locations are all positive, measured from Upper Left. The only exception I recall was for TrueBasic which moved to Lower Left.
Some programs, like POV Ray, allow changing the sense of the global CSG from right hand to left hand. If nothing else, it makes mirroring object easier.
Sorry I haven't piped in. I'm in the middle of a surprise rush job that has to be done this week.
Top view to us would coincide to the direction that the part would be inserted into a die.
Apparantly the normal part model datums are 90 degrees to the way they are in the MFG_CAST. I believe that's why when we export to the default datum they are 90 degrees off.
We would like our part model datum orientation to match the MFG_CAST orientation.
Paul, if you create a mapkey to orient a new CSYS to the orientation you want for your export, most export dialogs will let you choose another CSYS to export to. This should resolve your immediate problem for existing development.
The default of the system will always be different if the two are not identical already. Therefore, the only way is to use a re-oriented CSYS for export. This can be built into a start part for future development.
If you already have a coordinate system that agrees with how you want the part oriented in the die, simply select that CS when exporting. The selecting of the CS can easily be recorded in a mapkey to simplify the export process.
As the previous discussion concluded, the top down (looking down along Z and calling it TOP) is a holdover from early CAD where it mimics a drafting board.
Not exactly. The positive Z-axis coming towards you or "out of the screen" is the holdover from 2D board drawings. Z-up is more common when thinking in 3D space or "world coordinate system" where Z is positive moving away from the center of the earth.
Best analogy I can think of is the floor plan of a building. It's drawn in the X-Y plane. As soon as you rotate it down (set it flat on the ground) and add height to it you are building in the Z direction.
My bias (and I definitely have one) comes from creating models that were later programmed in Pro/NC for a vertical machining center (Z was up in the mill). Keeping the built-in CS aligned with how the parts would sit in the mill just made everything simpler. I also spent some time with Catia which also is Z-up.
I found this little quote that I liked here:
"Having a X-axis as horizontal and Y axis as Up direction is common way to represent 2D-space. But 3D-space is commonly represented in physics and other natural sciences so that if you think about a map in a table, Z-axis points up towards you (or sky) from map, X- points to east, Y points to North."
And a picture from Wikipedia:
True. There is a lot against convention when you add in other disciplines.
At some point you have to throw away Cartesian coordinates and replace them with spherical.
Image "thinking" in spherical coordinates! And yes, I know scientists that do. They couldn't design a deck if their lives depended on it.
The better format is quaternions.
You are cruel, David
I have always see X-Pos going towards the back of the car with Y Pos to the right and Y Neg to the left. Z Pos is still up going with the right hand rule.
That would be a top down with car facing left orientation as the "primary".
Okay, I take back my claim to and possible convention existing!
"Now which way was up again? OUCH! Wrong way..."
The right and left are per the driver (not sure how you understood what I meant).