solidworks_urdf_exporter icon indicating copy to clipboard operation
solidworks_urdf_exporter copied to clipboard

"Reference sketch does not exist"

Open HWang-Orion opened this issue 4 years ago • 10 comments

Hi,

I was encountering a problem with a configuration property manager that the " reference sketch does not exist" during SOLIDWORKS exported a model to urdf.

This happened when I tried to add several reference geometries such as coordinate systems for export preparation to urdf.

Though this would not occur when I export directly with the axes and coordinate systems left as automating generated, the model would not perform correctly in this case, signifying the necessity of defining these by myself.

Therefore the previous question comes again.

Could anyone provide any help regarding this problem? (I did not find related problems in the tutorials. Thus I hope someone might help with this issue.)

Thank you for all this.

HWang-Orion avatar Feb 28 '21 12:02 HWang-Orion

So the problem may be reconsidered as in what condition the reference geometry is invalid during the export, I think. How to avoid this and create valid reference geometries?

HWang-Orion avatar Feb 28 '21 12:02 HWang-Orion

Hey @wh366666648,

I had the same problem, after I deleted the URDF Export Configuration, the URDF Refernce and the Origins and Axis for the Joints from the assembly. Unfortunately i found no smart solution. So what has worked for me was to create a new assembly for my robot from scratch again and then do the URDF export again. It's a bit unconvenient but it works.

marv-le avatar May 23 '21 13:05 marv-le

Thanks @marv-le Actually, I found that this problem DISAPPEARS when I tried to export again from an unconfigured assembly. The procedures were almost the same. Therefore I think perhaps that would be a bug of the exporter (?) And I now believe that saving the assembly before the file is added with reference geometries might be useful and necessary.

Thank you for replying regarding this issue. Best regards.

HWang-Orion avatar May 23 '21 16:05 HWang-Orion

你好,我也遇到了这个问题。 我想我应该是解决了。在为link选择转轴和坐标系时,不要使用自动生成的坐标系。为每个单独的Link设置其自己的坐标系。这样在导出的时候就不会出错了。

Hello, I have the same problem. I think I have it figured out. Do not use an automatically generated coordinate system when selecting the rotation axis and coordinate system for Link. Set up its own coordinate system for each individual Link. So that you don't make mistakes when you export.

xin-Dream avatar Nov 23 '21 15:11 xin-Dream

Thanks @marv-le Actually, I found that this problem DISAPPEARS when I tried to export again from an unconfigured assembly. The procedures were almost the same. Therefore I think perhaps that would be a bug of the exporter (?) And I now believe that saving the assembly before the file is added with reference geometries might be useful and necessary.

Thank you for replying regarding this issue. Best regards.

i don't understand please can you exlplain how to resolve this problem

Bassem-Touati avatar Apr 09 '23 01:04 Bassem-Touati

I had created a global coordinate system that I wanted to use, that caused this issue. By not using it I was able to use the local coordinate systems and axis

patrik1994lindstrom avatar Apr 18 '23 06:04 patrik1994lindstrom

i set automatically generate in the end-effector of the robot (which is a fixed joint) give that link a coordinate system and axis and not use automatically generate solves my problem

luoye2333 avatar Jan 05 '24 06:01 luoye2333

Delete URDF Reference and axis solved my problem. 图片

CYTMWIA avatar Apr 08 '24 18:04 CYTMWIA