找回密码
 注册
Simdroid-非首页
查看: 200|回复: 5

【讨论】如何对对体进行透明半透明以及切片处理,以便看清内部细节!

[复制链接]
发表于 2004-6-15 16:15:57 | 显示全部楼层 |阅读模式 来自 上海交通大学
我找遍了整个论坛也没有找到谢谢大家帮忙
发表于 2012-11-8 23:35:16 | 显示全部楼层 来自 重庆巴南区
Simdroid开发平台
切片是可以半透明控制的。对体,就不知道了。
回复 不支持

使用道具 举报

发表于 2012-11-9 10:21:47 | 显示全部楼层 来自 湖北武汉
/trlcy
回复 不支持

使用道具 举报

发表于 2012-11-9 12:06:15 | 显示全部楼层 来自 江苏无锡
trlcy这个什么意思?
回复 不支持

使用道具 举报

发表于 2012-11-9 15:18:07 | 显示全部楼层 来自 陕西西安
1.用工作平面对体等元素可进行任意方向的切割,先将工作平面(X-Y平面)移到要求的地方,然后进入 utility menu>plotctrls>style>hiden line option>弹出一个对话框,type of plot后的下拉框中选择section,在cutting plane is 后的下拉框选择 working plane
2.可以通过/TRLCY设置体等元素的透明度。用法如下
/TRLCY, Lab, TLEVEL, N1, N2, NINC
Specifies the level of translucency.
Lab:Apply translucency level to the items specified by the following labels: 可以应用于单元、面、体等
ELEM  —  Elements. Use N1, N2, NINC fields for element numbers.
AREA  —  Solid model areas. Use N1, N2, NINC fields for area numbers.
VOLU  —  Solid model volumes. Use N1, N2, NINC fields for volume numbers.
ISURF  —  Isosurfaces (surfaces of constant stress, etc., value). Translucency varies with result value, to a maximum of the specified translucency level.
CM  —  Component group. Use N1 for component name, ignore N2 and NINC.
CURVE  —  Filled areas under curves of line graphs. Use N1, N2, NINC fields for curve numbers.
ZCAP  —  If /TYPE,WN,ZCAP is the current display type, then /TRLCY,ZCAP,TLEVEL will display the model in window WN with the portion of the model in front of the section
plane displayed at the translucency level TLEVEL.
ON, OFF  —  Sets the specified translucency display on or off. All other fields are ignored.

TLEVEL  设置透明水平,数越大,越透明;
Translucency level: 0.0 (opaque) to 1.0 (transparent).

下面为一个“透明”及“切割”小示例:
!一个立方体和一个球相交,仅对体1即正方体进行透明显示,通过工作平面(对角面)进行“切割”显示
/PREP7
BLOCK,,1,,1,,1,     !建立立方体
sphere,0,0.2,0,360  !建立一个与立方体相交的球体
wprot,0,0,-45       !旋转工作平面,做切割准备
/TRLCY,VOLU,0.8,1   !对体1使用半透明设置(可对部分体进行透明显示),0.5为透明度(Translucency level),该数越大,越透明
/replot
/GRAPHICS,POWER
/TYPE,1,7           !通过工作平面来切片显示
/CPLANE,1
/REPLOT
/view,1,0.5,1,2      !调整视角,便于观察
/REPLOT
最终结果为改图,切面显示+透明度设置

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2012-11-13 11:59:48 | 显示全部楼层 来自 上海
终于知道了
好帖,
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-23 09:21 , Processed in 0.042521 second(s), 18 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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