Message 1 of 3
How do I translate the WCS/UCS concept into Inventor?

Not applicable
03-31-2003
04:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Briefly, some background. I'm a programmer, not a trained draftsman nor
mechanical engineer. Last year I wrote an AutoLisp system to create a 3D
Solid Model of our product. Each unit is a custom build with the design
criteria / data stored in a text file that is created by our main design
program (FORTRAN). We are now moving toward Inventor as our drafting
package, so I'm learning it and VB at the same time.
Now, a simple explaination of my situation. With my old system in Autocad
(via AutoLisp), I would move the UCS to a specific location in space, rotate
it if necessary, pick a layer then create my 3d object. I'd repeat this
until everything was done. All of my points in space were relative to that
UCS and everything was kept in a single .DWG file with objects grouped by
layers. I learned what little I know of Autocad and Lisp while writing this
system.
Now I'm translating my knowledge into a new drawing package (Inventor) and a
new language (VBA). I know of, and have a basic understanding of, the part
files that replace the layer concept. However, I'm hung up on the
replacement for the UCS / WCS concept.
As an example, let's say I'm drawing a "C" channel plate that's 200" x 20.5"
x 0.75" with 4" legs. I want to place gussets inside the "C", horizontally
at five locations along the channel. In the old days, I'd move my UCS to the
proper location, then called a subroutine that drew my gusset at 0,0
(relative to the UCS). Now I'm thinking that I should just put this inside a
loop where I'd adjust the value of one axis to properly locate these along
the length of the channel. Is it that simple? Or do I need to set up some
kind of dimensional constraint between the end of the channel and the edge
of the gusset?
Is there someplace that I can learn / read about how to translate the
UCS/WCS concept into Inventor? I'm going to need more of this when it comes
time to assemble all these parts into a final assembly.
Thank you in advance for your help!
Eric Schultz
...an old dog learning new tricks
mechanical engineer. Last year I wrote an AutoLisp system to create a 3D
Solid Model of our product. Each unit is a custom build with the design
criteria / data stored in a text file that is created by our main design
program (FORTRAN). We are now moving toward Inventor as our drafting
package, so I'm learning it and VB at the same time.
Now, a simple explaination of my situation. With my old system in Autocad
(via AutoLisp), I would move the UCS to a specific location in space, rotate
it if necessary, pick a layer then create my 3d object. I'd repeat this
until everything was done. All of my points in space were relative to that
UCS and everything was kept in a single .DWG file with objects grouped by
layers. I learned what little I know of Autocad and Lisp while writing this
system.
Now I'm translating my knowledge into a new drawing package (Inventor) and a
new language (VBA). I know of, and have a basic understanding of, the part
files that replace the layer concept. However, I'm hung up on the
replacement for the UCS / WCS concept.
As an example, let's say I'm drawing a "C" channel plate that's 200" x 20.5"
x 0.75" with 4" legs. I want to place gussets inside the "C", horizontally
at five locations along the channel. In the old days, I'd move my UCS to the
proper location, then called a subroutine that drew my gusset at 0,0
(relative to the UCS). Now I'm thinking that I should just put this inside a
loop where I'd adjust the value of one axis to properly locate these along
the length of the channel. Is it that simple? Or do I need to set up some
kind of dimensional constraint between the end of the channel and the edge
of the gusset?
Is there someplace that I can learn / read about how to translate the
UCS/WCS concept into Inventor? I'm going to need more of this when it comes
time to assemble all these parts into a final assembly.
Thank you in advance for your help!
Eric Schultz
...an old dog learning new tricks