Having trouble to finis my cam profile script,

dominc_bürgi
dominc_bürgi Member Posts: 2 ✭✭

here the start of the code:

image.png

and the errors:

image.png

Answers

  • Matt_Shields
    Matt_Shields Member, Onshape Employees Posts: 1,006 PRO

    I think you want something like:

    annotation { "Name" : "Grundkreisdurchmesser" }
    isLength(definition.baseDiameter, { (millimeter): [1, 50, 1000] } as LengthBoundSpec);