PDA

View Full Version : Rotate Box



AdamChen
10-21-2009, 02:13 AM
I'm create a pipe symbol and it composed of many shapes.(VB6)
I have a problem when I place box on 3D model.
Because the box was set form two point.but I hope can rotate it .
Has any function can accomplish the purpose

chintan
10-23-2009, 08:09 AM
can u send ur procedure (snapshots) 2 me so i can help u out

mail id
enggchintan@gmail.com

victormo
10-23-2009, 09:38 AM
yes,

you send your procedure

victormanhaes@gmail.com

AdamChen
11-05-2009, 12:49 AM
I'm use "PlaceBox" to create a box shape as follw:

StrPoint.Set -parFacetoFace * 0.4, pipeDiam * 1.1, -pipeDiam / 1.6
endPoint.Set parFacetoFace * 0.4, pipeDiam * 1 + 0.003, pipeDiam / 1.6
Set ObjBox3 = PlaceBox(m_OutputColl, StrPoint, endPoint)

iOutput = iOutput + 1
m_OutputColl.AddOutput arrayOfOutputs(iOutput), ObjBox3
Set ObjBox3 = Nothing

but if I'm rotate those two point , it still not rotate this box
Has any method can create a box and rotate it.