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.

Options

Evaluate pixels in an image import?

Evan_ReeseEvan_Reese Member Posts: 2,066 PRO
When using the image reference parameter, is it possible to get color data about the image at a point? If so, I could use this data to drive all kinds of cool stuff, like hole sizes, and could make an "Image Pattern" feature.
Evan Reese / Principal and Industrial Designer with Ovyl
Website: ovyl.io

Best Answer

  • Options
    kevin_o_toole_1kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565
    Answer ✓
    No, this is not possible today. It's not high on our priority list, since you generally don't want to be working with large amounts of non-CAD data in FS during part regeneration.

    The alternative I would recommend is doing some preprocessing of the image to make a CSV file, and uploading that.

Answers

  • Options
    kevin_o_toole_1kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565
    Answer ✓
    No, this is not possible today. It's not high on our priority list, since you generally don't want to be working with large amounts of non-CAD data in FS during part regeneration.

    The alternative I would recommend is doing some preprocessing of the image to make a CSV file, and uploading that.
  • Options
    Evan_ReeseEvan_Reese Member Posts: 2,066 PRO
    Thanks @kevin_o_toole_1 I figured as much, but wanted to ask. This isn't an urgent need; more of a curiosity. I still know nearly nothing about other languages, but a quick search seems to show that Python would be good for making the CSV. Maybe someday.
    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
Sign In or Register to comment.