Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

怎么在forge模型上生成点或者线?

请问各位老师,有什么办法根据xy坐标在模型上生成点和线?效果 类似于标注的这种效果。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

为什么不试试神奇的threejs

创建画布
viewer.impl.createOverlayScene("overlayName")

threejs创建mesh,略

把mesh画到画布上
viewer.impl.addOverlay(this.overlayName, this.control);

刷新画布
viewer.impl.invalidate(true, true, true);


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...