| Author |
Message |
sdsCAD
Guest
|
Posted:
Tue Apr 05, 2005 8:17 pm Post subject:
A Hard One |
|
|
Ok...
So I have two points on the x,y plane. I create a line with the distance of the two points. I then create a solid using this line. Now I want to translate and rotate this solid into 3d space. I don't know any of the angles, just the distance of the line and where I want the solid to end up.
How can I go about moving this solid exactly to where I want it?
Any help is greatly appreciated!
--SDS--
|
|
| Back to top |
|
 |
Paul Caruthers
Guest
|
Posted:
Tue Apr 05, 2005 9:33 pm Post subject:
Re: A Hard One |
|
|
Need a little more info....are you creating an object (2d) ie flat, the
extruding that object? the your going to use the rotate 3d command under
the "modify" pull-down.
If I understood correctly.....
Paul
"sdsCAD" <nospam@address.withheld> wrote in message
news:15330808.1112717885866.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Ok...
So I have two points on the x,y plane. I create a line with the distance
of the two points. I then create a solid using this line. Now I want to
translate and rotate this solid into 3d space. I don't know any of the
angles, just the distance of the line and where I want the solid to end
up.
How can I go about moving this solid exactly to where I want it?
Any help is greatly appreciated!
--SDS-- |
|
|
| Back to top |
|
 |
OLD-CADaver
Guest
|
Posted:
Tue Apr 05, 2005 10:24 pm Post subject:
Re: A Hard One |
|
|
ALIGN
|
|
| Back to top |
|
 |
sdsCAD
Guest
|
Posted:
Tue Apr 05, 2005 10:25 pm Post subject:
Re: A Hard One |
|
|
| Yeah... We didn't know about that command. It worked. Thanks |
|
| Back to top |
|
 |
sdsCAD
Guest
|
Posted:
Wed Apr 06, 2005 11:36 pm Post subject:
Re: A Hard One |
|
|
| Is there a way we can manipulate the align function through arx code and if so could you send an example of code on how to implement? |
|
| Back to top |
|
 |
sdsCAD
Guest
|
Posted:
Thu Apr 07, 2005 12:00 am Post subject:
Re: A Hard One |
|
|
Is anybody can help to provide example code for implementation of align command in objectarx.??
We need some help regarding Modify -> 3d Operation -> Align. Command implementation.
Scenario I am trying to implement:
I have one solid object (which I have created after revolution about x axis) and
One 3d space line with AcGePoint3d Pt1 (200,100, 80) AcGePoint3d Pt2 (200,150, 100) points.
I want to align (Modify -> 3d Operation -> Align) solid object to the line represent by above two point.
We are struggling with the Align command in objectARX. Do you have some code snippets of how to use that function predictably?
SDS |
|
| Back to top |
|
 |
gomez
Guest
|
Posted:
Thu Apr 07, 2005 12:54 am Post subject:
Re: A Hard One |
|
|
maybe ask over in the customization group
"sdsCAD" <nospam@address.withheld> wrote in message
news:20593923.1112817678308.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Is anybody can help to provide example code for implementation of align
command in objectarx.??
We need some help regarding Modify -> 3d Operation -> Align. Command
implementation.
Scenario I am trying to implement:
I have one solid object (which I have created after revolution about x
axis) and
One 3d space line with AcGePoint3d Pt1 (200,100, 80) AcGePoint3d Pt2
(200,150, 100) points.
I want to align (Modify -> 3d Operation -> Align) solid object to the line
represent by above two point.
We are struggling with the Align command in objectARX. Do you have some
code snippets of how to use that function predictably?
SDS |
|
|
| Back to top |
|
 |
Tracy W. Lincoln
Guest
|
|
| Back to top |
|
 |
|
|
|
|