Support.vcmx(3.4 MB)

你好,

我想喷涂由外部(龙门)系统输送的产品。打开我发送的项目后,你会看到产品颜色立即改变,而不是逐步变化。而且旋转停止后,颜色会恢复初始状态,所有产品同时发生变化。

有人有解决方案吗?

你好,

运行你的模拟时我遇到这个错误:

Error

此致
Feature

你使用的是高级版吗?专业版不支持喷涂API。
当我检查时,收到以下消息:

运行时错误:无3D拓扑功能许可

检查从第208行开始:

      pts = geoset.getPointIndexesWithin(nP, testSphereR)
      if pts is None:
        print "pts is None at index", i
        continue
      total += len(pts)

这解决不了问题,只是临时应对。
我猜错误出在其他地方,但我帮不上忙。

不,我没有……我以为是关于Premium的涂装功能……

我也没经验!

你好,

我使用的是4.2高级版。运行模拟时也没遇到问题。不知道问题出在哪里……

没有高级版,就没有涂装功能。

如果论坛里没人能帮忙,试试联系技术支持……

致意
Feature

如果你想为动态组件涂装,

  1. 需要先准备好部件:
  2. 将创建的部件设为唯一。在这个布局中,**PaintDynamicComponents.vcmx** (1.3 MB) 检查基础送料器组件中的Python脚本 **msa61** 2020年8月19日 下午1:19 **9** 嗨,popeye, 能否检查一下那个仿真? **different.vcmx** (1.2 MB) 你的组件和我的组件有什么区别? **WilliamSmith** 2020年8月21日 晚上9:28 **10** 我认为问题出在你的组件几何结构上。例如,几何的拓扑和面存在一些问题,有些面是反转的。这应该在导入前通过原始CAD编辑器中的清理或分析工具检测并修复。我尝试了不同的模型,并在Visual Components中尽力清理了你的组件,但由于零件底部和顶部存在面平面交叉以及多个面存在法线方向问题,喷漆枪可能无法识别喷漆的应用位置和方式。 **图片** 1423×888 182 KB **killyouz** 2023年4月8日 下午3:34 **11** 你好,我的VC版本是4.6,但我发现你提供的演示无法正常运行,似乎组件中的方法“makeUnique()”已被弃用。 该死!(1.3 MB) check the python script in Basic feeder component

hi popeye,

Could you check that similationdifferent.vcmx(1.2 MB) . what is the difference of component between yours and mine

I think the issue is the geometry of your component. For example, the topology and faces of the geometry have issues with some being inverted. This is something a cleaning or analysis tool in the native CAD editor should detect and fix with the model prior to import. I checked with different model and tried cleaning your component in Visual Components best I could, but how and where the paint is to be applied is probably unknown to the paint gun since the bottom of the part and top seem to have face plane intersection and several seem to have surface normal issues.

hello,my VC version is 4.6,but I find that the demo you offered can’t run correctly,it seems that the method “makeUnique()” in component is deprecated.
Damn it!

I just did a quick test with a feeder and a conveyor, and the makeUnique method seems to be working fine.

from vcScript import *

def transition_handler(part, arrive):
  if arrive:
    part.makeUnique()

comp = getComponent()
path = comp.findBehaviour("Path__HIDE__")
path.OnTransition = transition_handler

OK,I will try it again,thx!

@EsteUnfortunately,I have reinstalled WIN10 OS(22H2) and VC4.6,but it can’t work.
Is it a bug?I hope it could be corrected in future version…


Why can’t it take effect?It’s so confusing!
@Este @WilliamSmith

not for your product type editor, you should create the code from este in a python script in your feeder, did you test that?

I had test it,but it failed

I think I may have to retire this zesty account. Yawl making me time travel 3 years, and I don’t even believe space-time exists.

Anyway, take this layout and test it.
PaintDynamicComponents.vcmx(1.1 MB)

I modified the@Popeyelayout in VC 4.7. Check the script in the Feeder. A couple things worth mentioning. First, in process modeling the product creator has an event for when a product is created. From there, I used a workaround made by@jouhaso the dynamic components don’t act like turd burglars when paint is applied and you rerun the simulation.

Does it do the job@killyouz?
Flexing Hulk Hogan GIF by WWE

1 Like

OK,it runs correctly
Thx!

你好,我的(软件/功能)无法正常工作,主要是因为无法显示我想要的几何图形。
可能是什么原因呢?
提前感谢!