Drawing with feltPen via ZeroMQ API

Typically: "How do I... ", "How can I... " questions
Post Reply
dat.nguyen500
Posts: 2
Joined: 01 Dec 2025, 07:11

Drawing with feltPen via ZeroMQ API

Post by dat.nguyen500 »

I want to draw using FeltPen through the remote API of CoppeliaSim, but I am not sure how to make it work. I have extracted the robot coordinates from a DXF file and used simIK to move the tip of the feltPen to the desired coordinates. However, it seems that nothing is being drawn on the cuboid.

How can I correctly draw on the cuboid using the FeltPen in CoppeliaSim? Here is my project folder (Python code + scene + DXF): Link. I have a main script called test_1.py, and other files contain the necessary functions to run test_1.py.
coppelia
Site Admin
Posts: 10802
Joined: 14 Dec 2012, 00:25

Re: Drawing with feltPen via ZeroMQ API

Post by coppelia »

Hello,

you say that nothing is being drawn on the cuboid.
  • Can you draw onto e.g. the floor?
  • Is the pen tip touching the cuboid?
  • Is the cuboid detectable? (remember that the felt pen is using a proximity sensor to detect surfaces to draw onto)
Cheers
dat.nguyen500
Posts: 2
Joined: 01 Dec 2025, 07:11

Re: Drawing with feltPen via ZeroMQ API

Post by dat.nguyen500 »

Thank you! I enabled the detectable property of the cuboid and it worked!
Post Reply