几何尺寸与公差论坛

 找回密码
 注册
查看: 1008|回复: 0

【转帖】how to transform a point in sketch space to assembly space

[复制链接]
发表于 2009-4-13 12:04:25 | 显示全部楼层 |阅读模式
how to transform a point in sketch space to assembly space
how to transform a point in sketch space to assembly space.
especial assembly space,not component or part space.thanks!
i don't understand you question.
chris
solidworks/pdmworks 08 3.1
autocad 08
your question is confusing because "sketch space" exists in both "assembly space" and "part space".
"art without engineering is dreaming; engineering without art is calculating."
is this a macro/api question?
wangyanhuan2,
   if you defined a 2d sketch, then all your points are going to be on the plane of the 2d sketch.  try a 3d sketch.
   sketch space and assembly space sound like autocad terms.  this is not very meaningful in solidworks.
                           jhg
definitely sounds like an api question.  look for the distance mate macro i've posted here.  it transforms a component's origin point into assembly space.
-handleman, cswp (the new, easy test)
thank you!
ctopher
madmango
thetick
drawoh
handleman
this is a api question.
there is a example in solidworks api help, "transform point from component space to assembly space example (vb)"
but now, i want to transform a point in sketch space to assembly space.
preconditions:
(1) assembly document is open.
(2) 3d sketch of component is selected.
(3d sketch has one line,for example: startpoint(0,0,0),endpoint(1,2,3))
if the component's origin under assembly space is (100,100,100), startpoint of the line is (100,100,100) and endpoint is (101,102,103).
postconditions:
transform a point in sketch space to assembly space.
thank for your help!
check the help again.  there is also an example for translating from sketch space to model space.  you will have to do two transforms in sequence.  there is no direct sketch-to-assembly route.
-handleman, cswp (the new, easy test)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 19:29 , Processed in 0.035533 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表