Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

GeometryType.OTHER_CURVE documented but not implemented?

johnsoggjohnsogg Member, Developers Posts: 14
This query doesn't seem to work, but similar ones for GeometryType.ARC and GeometryType.LINE do:

`var asCurves = evaluateQuery(context, qGeometry(path.edges[i], GeometryType.OTHER_CURVE));`

The message I get is `@evaluateQuery: Unknown geometry type: OTHER_CURVE`. But the docs for the GeometryType enum do have the other curve type in there.

Is this just a TODO? Or am I doing it wrong?

Comments

  • john_f_carrjohn_f_carr Onshape Employees Posts: 74
    OTHER_CURVE and OTHER_SURFACE are not implemented in qGeometry.
  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,173
    Yes, we need to add the query implementation.  If you'd like to be notified when we fix this, please submit a ticket using "report a bug" in the help menu.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
Sign In or Register to comment.